#CD9DF8

Closest named color: Baby Purple (#CA9BF7). oklch(77.4% 0.135 307.7), rgb(205, 157, 248).

Aa

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

About this color

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

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

Values

HEX#CD9DF8
RGBrgb(205, 157, 248)
HSLhsl(272, 87%, 79%)
OKLCHoklch(77.4% 0.135 307.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 #CD9DF8 2.14:1 Fails Lc -46.8 Large or bold text, headings
Black text on #CD9DF8 9.77:1 AAA Lc 61.9 Content text, not long reading
#CD9DF8 text on white 2.14:1 Fails Lc 42.1 Non-text elements, placeholder text
#CD9DF8 text on black 9.77:1 AAA Lc -60.1 Content text, not long reading

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

    #F9F3FF

    oklch(97.2% 0.017 308.3)

  2. Step 100

    100

    #F1E3FF

    oklch(93.5% 0.04 308)

  3. Step 200

    200

    #E6CDFF

    oklch(88.5% 0.073 307.6)

  4. Step 300

    300 (this color)

    #CD9DF8

    oklch(77.4% 0.135 307.7)

  5. Step 400

    400

    #C377FF

    oklch(70.7% 0.201 307.9)

  6. Step 500

    500

    #B546FF

    oklch(63.1% 0.261 307.8)

  7. Step 600

    600

    #A100EF

    oklch(55.6% 0.285 307.6)

  8. Step 700

    700

    #8800CA

    oklch(49.1% 0.251 307.8)

  9. Step 800

    800

    #7000A8

    oklch(42.7% 0.219 307.7)

  10. Step 900

    900

    #5C0E89

    oklch(37.7% 0.181 307.7)

  11. Step 950

    950

    #360E50

    oklch(27% 0.114 308)

Export this scale for Tailwind in the Tailwind colors tool

#CD9DF8 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)#8AAFFB0.097
Deuteranopia (no green cones)#95B1F50.089
Tritanopia (no blue cones)#C7AABF0.099
Achromatopsia (no color)#B1B1B10.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD9DF8

    #CD9DF8

    oklch(77.4% 0.135 307.7)

  • #9DC562

    #9DC562

    oklch(77.3% 0.135 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD9DF8

    #CD9DF8

    oklch(77.4% 0.135 307.7)

  • #A4AEFF

    #A4AEFF

    oklch(77.4% 0.116 277.9)

  • #EC92D4

    #EC92D4

    oklch(77.3% 0.136 337.4)

Open the analogous palette in the generator

Split complementary

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

  • #CD9DF8

    #CD9DF8

    oklch(77.4% 0.135 307.7)

  • #CDB541

    #CDB541

    oklch(77.3% 0.135 97.4)

  • #5FCF93

    #5FCF93

    oklch(77.3% 0.135 157.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD9DF8

    #CD9DF8

    oklch(77.4% 0.135 307.7)

  • #EEA34B

    #EEA34B

    oklch(77.3% 0.136 67.5)

  • #00D0C5

    #00D0C5

    oklch(77.3% 0.134 188.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD9DF8

    #CD9DF8

    oklch(77.4% 0.135 307.7)

  • #FE9575

    #FE9575

    oklch(77.3% 0.135 37.7)

  • #9DC562

    #9DC562

    oklch(77.3% 0.135 127.4)

  • #1AC9EE

    #1AC9EE

    oklch(77.3% 0.135 217.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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