HSL(287, 40%, 67%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(287,40%,67%)]

Color Conversions

Format Value CSS Usage
HSL hsl(287, 40%, 67%) color: hsl(287, 40%, 67%)
HEX #BE89CD color: #BE89CD
RGB rgb(190, 137, 205) color: rgb(190, 137, 205)
CMYK cmyk(7%, 33%, 0%, 20%)
HSV hsv(287, 33%, 80%)
HWB hwb(287 54% 20%) color: hwb(287 54% 20%)
OKLCH oklch(0.7055 0.1126 318.64) color: oklch(0.7055 0.1126 318.64)
Lab lab(64.36 32.02 -27.21) color: lab(64.36 32.02 -27.21)
LCH lch(64.36 42.02 319.64) color: lch(64.36 42.02 319.64)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 2.75:1
vs Black 7.65:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A7A7BD — rgb(167, 167, 189)

Deuteranopia (Green-blind)

#AAAEB9 — rgb(170, 174, 185)

Tritanopia (Blue-blind)

#BBB0AD — rgb(187, 176, 173)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(287, 40%, 67%);

text

color: hsl(287, 40%, 67%);

border

border: 2px solid hsl(287, 40%, 67%);

gradient light

background: linear-gradient(to right, hsl(287, 40%, 87%), hsl(287, 40%, 67%));

gradient dark

background: linear-gradient(to right, hsl(287, 40%, 67%), hsl(287, 40%, 47%))

hex

background-color: #BE89CD;

tailwind

bg-[hsl(287,40%,67%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(287, 40%, 67%, 0.4);

css variable

--color-primary: hsl(287, 40%, 67%);

Related Colors

Use Cases for Purple

Luxury brands Creative agencies Beauty products Royalty themes Premium badges

Frequently Asked Questions

What are all the color codes for HSL(287, 40%, 67%)?

HEX: #BE89CD | RGB: rgb(190, 137, 205) | CMYK: 7%, 33%, 0%, 20% | HSV: 287°, 33%, 80%. Copy any format from the conversion table above.

What colors go well with #BE89CD?

The complementary color is HSL(107, 40%, 67%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(287, 40%, 67%) in CSS?

As HSL: color: hsl(287, 40%, 67%); — As HEX: color: #BE89CD; — As RGB: color: rgb(190, 137, 205); — Tailwind CSS: bg-[hsl(287,40%,67%)] — CSS variable: --color-primary: hsl(287, 40%, 67%);