#CD9DE9

Closest named color: Baby Purple (#CA9BF7). oklch(76.7% 0.117 312.6), rgb(205, 157, 233).

Aa

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

About this color

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

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

Values

HEX#CD9DE9
RGBrgb(205, 157, 233)
HSLhsl(278, 63%, 76%)
OKLCHoklch(76.7% 0.117 312.6)

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 #CD9DE9 2.18:1 Fails Lc -47.7 Large or bold text, headings
Black text on #CD9DE9 9.59:1 AAA Lc 61.0 Content text, not long reading
#CD9DE9 text on white 2.18:1 Fails Lc 43.0 Non-text elements, placeholder text
#CD9DE9 text on black 9.59:1 AAA Lc -59.2 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4FB

    oklch(93.7% 0.034 312.4)

  3. Step 200

    200

    #E8CDF9

    oklch(88.5% 0.066 312.4)

  4. Step 300

    300 (this color)

    #CD9DE9

    oklch(76.7% 0.117 312.6)

  5. Step 400

    400

    #C878F3

    oklch(70.7% 0.188 312.5)

  6. Step 500

    500

    #BA4CEE

    oklch(63.2% 0.24 312.7)

  7. Step 600

    600

    #A51EDC

    oklch(55.5% 0.26 312.6)

  8. Step 700

    700

    #8E05BF

    oklch(49.1% 0.242 312.8)

  9. Step 800

    800

    #73119B

    oklch(42.7% 0.201 312.5)

  10. Step 900

    900

    #5D1B7B

    oklch(37.7% 0.157 312.6)

  11. Step 950

    950

    #361248

    oklch(26.9% 0.099 312.2)

Export this scale for Tailwind in the Tailwind colors tool

#CD9DE9 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)#90ADEC0.090
Deuteranopia (no green cones)#9BB0E70.082
Tritanopia (no blue cones)#CBA7B90.082
Achromatopsia (no color)#AFAFAF0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD9DE9

    #CD9DE9

    oklch(76.7% 0.117 312.6)

  • #96C374

    #96C374

    oklch(76.6% 0.117 132.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD9DE9

    #CD9DE9

    oklch(76.7% 0.117 312.6)

  • #A8AAFC

    #A8AAFC

    oklch(76.8% 0.117 282.2)

  • #E795C8

    #E795C8

    oklch(76.8% 0.117 342.3)

Open the analogous palette in the generator

Split complementary

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

  • #CD9DE9

    #CD9DE9

    oklch(76.7% 0.117 312.6)

  • #C2B657

    #C2B657

    oklch(76.7% 0.117 102.2)

  • #64CB9D

    #64CB9D

    oklch(76.8% 0.118 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD9DE9

    #CD9DE9

    oklch(76.7% 0.117 312.6)

  • #E1A759

    #E1A759

    oklch(76.8% 0.117 72.6)

  • #3CCBC7

    #3CCBC7

    oklch(76.8% 0.118 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD9DE9

    #CD9DE9

    oklch(76.7% 0.117 312.6)

  • #F29A76

    #F29A76

    oklch(76.7% 0.117 42.9)

  • #96C374

    #96C374

    oklch(76.6% 0.117 132.7)

  • #4CC4E9

    #4CC4E9

    oklch(76.8% 0.117 222)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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