#CD9DE8

Closest named color: Baby Purple (#CA9BF7). oklch(76.7% 0.116 312.9), rgb(205, 157, 232).

Aa

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

About this color

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

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

Values

HEX#CD9DE8
RGBrgb(205, 157, 232)
HSLhsl(278, 62%, 76%)
OKLCHoklch(76.7% 0.116 312.9)

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

    #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)

    #CD9DE8

    oklch(76.7% 0.116 312.9)

  5. Step 400

    400

    #C878F2

    oklch(70.6% 0.187 312.8)

  6. Step 500

    500

    #BA4DED

    oklch(63.2% 0.238 312.9)

  7. Step 600

    600

    #A520DB

    oklch(55.6% 0.258 312.7)

  8. Step 700

    700

    #8E09BE

    oklch(49.2% 0.24 313)

  9. Step 800

    800

    #73139A

    oklch(42.8% 0.199 312.7)

  10. Step 900

    900

    #5D1C7A

    oklch(37.7% 0.154 312.9)

  11. Step 950

    950

    #371348

    oklch(27.2% 0.098 313)

Export this scale for Tailwind in the Tailwind colors tool

#CD9DE8 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)#91ACEB0.088
Deuteranopia (no green cones)#9CB0E60.081
Tritanopia (no blue cones)#CBA7B80.082
Achromatopsia (no color)#AFAFAF0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD9DE8

    #CD9DE8

    oklch(76.7% 0.116 312.9)

  • #96C375

    #96C375

    oklch(76.6% 0.116 133)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD9DE8

    #CD9DE8

    oklch(76.7% 0.116 312.9)

  • #A9A9FB

    #A9A9FB

    oklch(76.6% 0.117 283.3)

  • #E795C7

    #E795C7

    oklch(76.7% 0.116 342.9)

Open the analogous palette in the generator

Split complementary

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

  • #CD9DE8

    #CD9DE8

    oklch(76.7% 0.116 312.9)

  • #C1B659

    #C1B659

    oklch(76.6% 0.116 102.6)

  • #65CA9E

    #65CA9E

    oklch(76.6% 0.115 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD9DE8

    #CD9DE8

    oklch(76.7% 0.116 312.9)

  • #E0A75A

    #E0A75A

    oklch(76.7% 0.116 72.8)

  • #3FCAC7

    #3FCAC7

    oklch(76.6% 0.116 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD9DE8

    #CD9DE8

    oklch(76.7% 0.116 312.9)

  • #F19A76

    #F19A76

    oklch(76.6% 0.116 43.1)

  • #96C375

    #96C375

    oklch(76.6% 0.116 133)

  • #4FC3E9

    #4FC3E9

    oklch(76.7% 0.116 223.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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