HSL(313, 30%, 71%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(313,30%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(313, 30%, 71%) color: hsl(313, 30%, 71%)
HEX #CB9FC2 color: #CB9FC2
RGB rgb(203, 159, 194) color: rgb(203, 159, 194)
CMYK cmyk(0%, 22%, 4%, 20%)
HSV hsv(312, 22%, 80%)
HWB hwb(312 62% 20%) color: hwb(312 62% 20%)
OKLCH oklch(0.7538 0.07 333.5) color: oklch(0.7538 0.07 333.5)
Lab lab(70.45 22.1 -11.72) color: lab(70.45 22.1 -11.72)
LCH lch(70.45 25.02 332.06) color: lch(70.45 25.02 332.06)

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.26:1
vs Black 9.28: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)

#B8B8BA — rgb(184, 184, 186)

Deuteranopia (Green-blind)

#BBBEB8 — rgb(187, 190, 184)

Tritanopia (Blue-blind)

#C9B3B1 — rgb(201, 179, 177)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(313, 30%, 71%);

text

color: hsl(313, 30%, 71%);

border

border: 2px solid hsl(313, 30%, 71%);

gradient light

background: linear-gradient(to right, hsl(313, 30%, 91%), hsl(313, 30%, 71%));

gradient dark

background: linear-gradient(to right, hsl(313, 30%, 71%), hsl(313, 30%, 51%))

hex

background-color: #CB9FC2;

tailwind

bg-[hsl(313,30%,71%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(313, 30%, 71%, 0.4);

css variable

--color-primary: hsl(313, 30%, 71%);

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(313, 30%, 71%)?

HEX: #CB9FC2 | RGB: rgb(203, 159, 194) | CMYK: 0%, 22%, 4%, 20% | HSV: 312°, 22%, 80%. Copy any format from the conversion table above.

What colors go well with #CB9FC2?

The complementary color is HSL(133, 30%, 71%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(313, 30%, 71%) in CSS?

As HSL: color: hsl(313, 30%, 71%); — As HEX: color: #CB9FC2; — As RGB: color: rgb(203, 159, 194); — Tailwind CSS: bg-[hsl(313,30%,71%)] — CSS variable: --color-primary: hsl(313, 30%, 71%);