HSL(287, 39%, 74%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(287,39%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(287, 39%, 74%) color: hsl(287, 39%, 74%)
HEX #CBA3D7 color: #CBA3D7
RGB rgb(203, 163, 215) color: rgb(203, 163, 215)
CMYK cmyk(6%, 24%, 0%, 16%)
HSV hsv(286, 24%, 84%)
HWB hwb(286 64% 16%) color: hwb(286 64% 16%)
OKLCH oklch(0.7687 0.0848 318.31) color: oklch(0.7687 0.0848 318.31)
Lab lab(72.09 23.89 -20.81) color: lab(72.09 23.89 -20.81)
LCH lch(72.09 31.68 318.94) color: lch(72.09 31.68 318.94)

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.15:1
vs Black 9.76: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)

#BAB9CA — rgb(186, 185, 202)

Deuteranopia (Green-blind)

#BCBFC7 — rgb(188, 191, 199)

Tritanopia (Blue-blind)

#C9C0BE — rgb(201, 192, 190)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(287, 39%, 74%);

text

color: hsl(287, 39%, 74%);

border

border: 2px solid hsl(287, 39%, 74%);

gradient light

background: linear-gradient(to right, hsl(287, 39%, 94%), hsl(287, 39%, 74%));

gradient dark

background: linear-gradient(to right, hsl(287, 39%, 74%), hsl(287, 39%, 54%))

hex

background-color: #CBA3D7;

tailwind

bg-[hsl(287,39%,74%)]

box shadow

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

css variable

--color-primary: hsl(287, 39%, 74%);

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, 39%, 74%)?

HEX: #CBA3D7 | RGB: rgb(203, 163, 215) | CMYK: 6%, 24%, 0%, 16% | HSV: 286°, 24%, 84%. Copy any format from the conversion table above.

What colors go well with #CBA3D7?

The complementary color is HSL(107, 39%, 74%). 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, 39%, 74%) in CSS?

As HSL: color: hsl(287, 39%, 74%); — As HEX: color: #CBA3D7; — As RGB: color: rgb(203, 163, 215); — Tailwind CSS: bg-[hsl(287,39%,74%)] — CSS variable: --color-primary: hsl(287, 39%, 74%);