HSL(307, 31%, 73%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(307,31%,73%)]

Color Conversions

Format Value CSS Usage
HSL hsl(307, 31%, 73%) color: hsl(307, 31%, 73%)
HEX #CFA5CB color: #CFA5CB
RGB rgb(207, 165, 203) color: rgb(207, 165, 203)
CMYK cmyk(0%, 20%, 2%, 19%)
HSV hsv(306, 20%, 81%)
HWB hwb(306 65% 19%) color: hwb(306 65% 19%)
OKLCH oklch(0.7718 0.0708 329.39) color: oklch(0.7718 0.0708 329.39)
Lab lab(72.55 21.84 -13.49) color: lab(72.55 21.84 -13.49)
LCH lch(72.55 25.67 328.3) color: lch(72.55 25.67 328.3)

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.12:1
vs Black 9.9: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)

#BDBCC2 — rgb(189, 188, 194)

Deuteranopia (Green-blind)

#BFC2C0 — rgb(191, 194, 192)

Tritanopia (Blue-blind)

#CDBBB9 — rgb(205, 187, 185)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(307, 31%, 73%);

text

color: hsl(307, 31%, 73%);

border

border: 2px solid hsl(307, 31%, 73%);

gradient light

background: linear-gradient(to right, hsl(307, 31%, 93%), hsl(307, 31%, 73%));

gradient dark

background: linear-gradient(to right, hsl(307, 31%, 73%), hsl(307, 31%, 53%))

hex

background-color: #CFA5CB;

tailwind

bg-[hsl(307,31%,73%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(307, 31%, 73%, 0.4);

css variable

--color-primary: hsl(307, 31%, 73%);

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(307, 31%, 73%)?

HEX: #CFA5CB | RGB: rgb(207, 165, 203) | CMYK: 0%, 20%, 2%, 19% | HSV: 306°, 20%, 81%. Copy any format from the conversion table above.

What colors go well with #CFA5CB?

The complementary color is HSL(127, 31%, 73%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(307, 31%, 73%) in CSS?

As HSL: color: hsl(307, 31%, 73%); — As HEX: color: #CFA5CB; — As RGB: color: rgb(207, 165, 203); — Tailwind CSS: bg-[hsl(307,31%,73%)] — CSS variable: --color-primary: hsl(307, 31%, 73%);