#CD9DE7

Closest named color: Baby Purple (#CA9BF7). oklch(76.6% 0.115 313.3), rgb(205, 157, 231).

Aa

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

About this color

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

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

Values

HEX#CD9DE7
RGBrgb(205, 157, 231)
HSLhsl(279, 61%, 76%)
OKLCHoklch(76.6% 0.115 313.3)

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 #CD9DE7 2.19:1 Fails Lc -47.8 Large or bold text, headings
Black text on #CD9DE7 9.57:1 AAA Lc 60.9 Content text, not long reading
#CD9DE7 text on white 2.19:1 Fails Lc 43.1 Non-text elements, placeholder text
#CD9DE7 text on black 9.57: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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4FA

    oklch(93.6% 0.033 313.5)

  3. Step 200

    200

    #E8CDF8

    oklch(88.4% 0.065 312.9)

  4. Step 300

    300 (this color)

    #CD9DE7

    oklch(76.6% 0.115 313.3)

  5. Step 400

    400

    #C879F0

    oklch(70.7% 0.183 313.2)

  6. Step 500

    500

    #BA4DEB

    oklch(63.1% 0.236 313.4)

  7. Step 600

    600

    #A622D9

    oklch(55.7% 0.256 313.5)

  8. Step 700

    700

    #8E0DBC

    oklch(49.1% 0.237 313.4)

  9. Step 800

    800

    #731498

    oklch(42.6% 0.197 313.3)

  10. Step 900

    900

    #5D1C79

    oklch(37.6% 0.153 313.4)

  11. Step 950

    950

    #371347

    oklch(27.1% 0.097 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#CD9DE7 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)#91ACEA0.088
Deuteranopia (no green cones)#9CB0E50.081
Tritanopia (no blue cones)#CBA7B80.081
Achromatopsia (no color)#AFAFAF0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD9DE7

    #CD9DE7

    oklch(76.6% 0.115 313.3)

  • #96C376

    #96C376

    oklch(76.7% 0.115 133.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD9DE7

    #CD9DE7

    oklch(76.6% 0.115 313.3)

  • #A9A9FA

    #A9A9FA

    oklch(76.6% 0.115 283.3)

  • #E695C6

    #E695C6

    oklch(76.6% 0.115 343.1)

Open the analogous palette in the generator

Split complementary

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

  • #CD9DE7

    #CD9DE7

    oklch(76.6% 0.115 313.3)

  • #C0B65A

    #C0B65A

    oklch(76.6% 0.115 103.1)

  • #65CA9E

    #65CA9E

    oklch(76.6% 0.115 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD9DE7

    #CD9DE7

    oklch(76.6% 0.115 313.3)

  • #DFA75A

    #DFA75A

    oklch(76.6% 0.115 73.3)

  • #41CAC7

    #41CAC7

    oklch(76.7% 0.115 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD9DE7

    #CD9DE7

    oklch(76.6% 0.115 313.3)

  • #F09A76

    #F09A76

    oklch(76.5% 0.115 43.4)

  • #96C376

    #96C376

    oklch(76.7% 0.115 133.2)

  • #51C3E9

    #51C3E9

    oklch(76.7% 0.115 223.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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