#CD9CEB

Closest named color: Baby Purple (#CA9BF7). oklch(76.6% 0.121 312), rgb(205, 156, 235).

Aa

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

About this color

#CD9CEB is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.121 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.019 away. Black text reads best on it, at 9.55:1.

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

Values

HEX#CD9CEB
RGBrgb(205, 156, 235)
HSLhsl(277, 66%, 77%)
OKLCHoklch(76.6% 0.121 312)

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 #CD9CEB 2.19:1 Fails Lc -47.9 Large or bold text, headings
Black text on #CD9CEB 9.55:1 AAA Lc 60.8 Content text, not long reading
#CD9CEB text on white 2.19:1 Fails Lc 43.2 Non-text elements, placeholder text
#CD9CEB text on black 9.55:1 AAA Lc -59.0 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

    #F2E4FB

    oklch(93.7% 0.034 312.4)

  3. Step 200

    200

    #E8CDFA

    oklch(88.5% 0.067 311.8)

  4. Step 300

    300 (this color)

    #CD9CEB

    oklch(76.6% 0.121 312)

  5. Step 400

    400

    #C976F6

    oklch(70.7% 0.195 312.4)

  6. Step 500

    500

    #BA48F2

    oklch(63% 0.248 312.1)

  7. Step 600

    600

    #A613E1

    oklch(55.6% 0.27 312)

  8. Step 700

    700

    #8D00C1

    oklch(49% 0.245 312)

  9. Step 800

    800

    #74099E

    oklch(42.8% 0.208 312.2)

  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

#CD9CEB 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)#8FACEE0.091
Deuteranopia (no green cones)#9AB0E90.085
Tritanopia (no blue cones)#CAA7B90.086
Achromatopsia (no color)#AFAFAF0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD9CEB

    #CD9CEB

    oklch(76.6% 0.121 312)

  • #96C370

    #96C370

    oklch(76.6% 0.121 131.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD9CEB

    #CD9CEB

    oklch(76.6% 0.121 312)

  • #A7A9FE

    #A7A9FE

    oklch(76.6% 0.121 282.1)

  • #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°).

  • #CD9CEB

    #CD9CEB

    oklch(76.6% 0.121 312)

  • #C2B652

    #C2B652

    oklch(76.6% 0.122 102.5)

  • #61CB9B

    #61CB9B

    oklch(76.6% 0.122 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD9CEB

    #CD9CEB

    oklch(76.6% 0.121 312)

  • #E3A655

    #E3A655

    oklch(76.7% 0.121 72)

  • #33CBC7

    #33CBC7

    oklch(76.6% 0.121 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD9CEB

    #CD9CEB

    oklch(76.6% 0.121 312)

  • #F49874

    #F49874

    oklch(76.6% 0.122 42)

  • #96C370

    #96C370

    oklch(76.6% 0.121 131.9)

  • #45C4EA

    #45C4EA

    oklch(76.7% 0.121 221.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #CD9CEB 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.