HSL(302, 10%, 78%)

Grayish Purple — Purple color

Adjust Color

Color Information

Color Name

Grayish Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(302,10%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(302, 10%, 78%) color: hsl(302, 10%, 78%)
HEX #CDC1CC color: #CDC1CC
RGB rgb(205, 193, 204) color: rgb(205, 193, 204)
CMYK cmyk(0%, 6%, 0%, 20%)
HSV hsv(305, 6%, 80%)
HWB hwb(305 75% 20%) color: hwb(305 75% 20%)
OKLCH oklch(0.824 0.0201 328.32) color: oklch(0.824 0.0201 328.32)
Lab lab(79.32 6.17 -3.99) color: lab(79.32 6.17 -3.99)
LCH lch(79.32 7.35 327.11) color: lch(79.32 7.35 327.11)

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 1.74:1
vs Black 12.1: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)

#C8C8C9 — rgb(200, 200, 201)

Deuteranopia (Green-blind)

#C9C9C9 — rgb(201, 201, 201)

Tritanopia (Blue-blind)

#CCC7C7 — rgb(204, 199, 199)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(302, 10%, 78%);

text

color: hsl(302, 10%, 78%);

border

border: 2px solid hsl(302, 10%, 78%);

gradient light

background: linear-gradient(to right, hsl(302, 10%, 98%), hsl(302, 10%, 78%));

gradient dark

background: linear-gradient(to right, hsl(302, 10%, 78%), hsl(302, 10%, 58%))

hex

background-color: #CDC1CC;

tailwind

bg-[hsl(302,10%,78%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(302, 10%, 78%, 0.4);

css variable

--color-primary: hsl(302, 10%, 78%);

Related Colors

Use Cases for Grayish Purple

Luxury brands Creative agencies Beauty products Royalty themes Premium badges

Frequently Asked Questions

What are all the color codes for HSL(302, 10%, 78%)?

HEX: #CDC1CC | RGB: rgb(205, 193, 204) | CMYK: 0%, 6%, 0%, 20% | HSV: 305°, 6%, 80%. Copy any format from the conversion table above.

What colors go well with #CDC1CC?

The complementary color is HSL(122, 10%, 78%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(302, 10%, 78%) in CSS?

As HSL: color: hsl(302, 10%, 78%); — As HEX: color: #CDC1CC; — As RGB: color: rgb(205, 193, 204); — Tailwind CSS: bg-[hsl(302,10%,78%)] — CSS variable: --color-primary: hsl(302, 10%, 78%);