#CD9CEC

Closest named color: Baby Purple (#CA9BF7). oklch(76.7% 0.123 311.7), rgb(205, 156, 236).

Aa

Black text reads best on this color (9.56:1).

About this color

#CD9CEC is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.123 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.018 away. Black text reads best on it, at 9.56:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.56:1
White text2.19:1

Values

HEX#CD9CEC
RGBrgb(205, 156, 236)
HSLhsl(277, 68%, 77%)
OKLCHoklch(76.7% 0.123 311.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #CD9CEC 2.19:1 Fails Lc -47.9 Large or bold text, headings
Black text on #CD9CEC 9.56:1 AAA Lc 60.8 Content text, not long reading
#CD9CEC text on white 2.19:1 Fails Lc 43.1 Non-text elements, placeholder text
#CD9CEC text on black 9.56:1 AAA Lc -59.1 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.

  1. Step 50

    50

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F2E4FC

    oklch(93.7% 0.035 311.4)

  3. Step 200

    200

    #E8CDFB

    oklch(88.5% 0.068 311.3)

  4. Step 300

    300 (this color)

    #CD9CEC

    oklch(76.7% 0.123 311.7)

  5. Step 400

    400

    #C876F8

    oklch(70.7% 0.196 311.5)

  6. Step 500

    500

    #BA47F4

    oklch(63.1% 0.251 311.7)

  7. Step 600

    600

    #A60FE3

    oklch(55.6% 0.273 311.6)

  8. Step 700

    700

    #8D00C2

    oklch(49.1% 0.246 311.7)

  9. Step 800

    800

    #73069F

    oklch(42.6% 0.21 311.6)

  10. Step 900

    900

    #5D187E

    oklch(37.6% 0.163 311.7)

  11. Step 950

    950

    #37114A

    oklch(27% 0.104 312)

Export this scale for Tailwind in the Tailwind colors tool

#CD9CEC with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#8EACEF0.092
Deuteranopia (no green cones)#99B0EA0.086
Tritanopia (no blue cones)#CAA7B90.088
Achromatopsia (no color)#AFAFAF0.123

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #CD9CEC

    #CD9CEC

    oklch(76.7% 0.123 311.7)

  • #96C36F

    #96C36F

    oklch(76.5% 0.122 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD9CEC

    #CD9CEC

    oklch(76.7% 0.123 311.7)

  • #A6A9FF

    #A6A9FF

    oklch(76.6% 0.123 281.6)

  • #E893C9

    #E893C9

    oklch(76.6% 0.122 341.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #CD9CEC

    #CD9CEC

    oklch(76.7% 0.123 311.7)

  • #C3B651

    #C3B651

    oklch(76.7% 0.123 102)

  • #61CB9B

    #61CB9B

    oklch(76.6% 0.122 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD9CEC

    #CD9CEC

    oklch(76.7% 0.123 311.7)

  • #E3A554

    #E3A554

    oklch(76.5% 0.122 71.5)

  • #30CCC7

    #30CCC7

    oklch(76.8% 0.123 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD9CEC

    #CD9CEC

    oklch(76.7% 0.123 311.7)

  • #F59874

    #F59874

    oklch(76.7% 0.123 41.8)

  • #96C36F

    #96C36F

    oklch(76.5% 0.122 131.7)

  • #42C4EB

    #42C4EB

    oklch(76.6% 0.123 222.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CD9CEC, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #CD9CEC in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.