#CD9DF1

Closest named color: Baby Purple (#CA9BF7). oklch(77.1% 0.127 309.8), rgb(205, 157, 241).

Aa

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

About this color

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

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

Values

HEX#CD9DF1
RGBrgb(205, 157, 241)
HSLhsl(274, 75%, 78%)
OKLCHoklch(77.1% 0.127 309.8)

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 #CD9DF1 2.16:1 Fails Lc -47.2 Large or bold text, headings
Black text on #CD9DF1 9.68:1 AAA Lc 61.4 Content text, not long reading
#CD9DF1 text on white 2.16:1 Fails Lc 42.5 Non-text elements, placeholder text
#CD9DF1 text on black 9.68:1 AAA Lc -59.7 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

    #F1E4FD

    oklch(93.7% 0.036 308.9)

  3. Step 200

    200

    #E7CDFD

    oklch(88.5% 0.07 309.3)

  4. Step 300

    300 (this color)

    #CD9DF1

    oklch(77.1% 0.127 309.8)

  5. Step 400

    400

    #C775FD

    oklch(70.7% 0.203 310)

  6. Step 500

    500

    #B845FB

    oklch(63.1% 0.259 309.7)

  7. Step 600

    600

    #A400EA

    oklch(55.6% 0.282 309.6)

  8. Step 700

    700

    #8B00C6

    oklch(49.1% 0.249 309.9)

  9. Step 800

    800

    #7200A4

    oklch(42.7% 0.216 309.7)

  10. Step 900

    900

    #5C1582

    oklch(37.6% 0.169 309.8)

  11. Step 950

    950

    #36104C

    oklch(26.9% 0.107 310)

Export this scale for Tailwind in the Tailwind colors tool

#CD9DF1 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)#8DAEF40.094
Deuteranopia (no green cones)#98B1EF0.086
Tritanopia (no blue cones)#C9A9BC0.092
Achromatopsia (no color)#B0B0B00.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD9DF1

    #CD9DF1

    oklch(77.1% 0.127 309.8)

  • #9AC46B

    #9AC46B

    oklch(77% 0.126 129.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD9DF1

    #CD9DF1

    oklch(77.1% 0.127 309.8)

  • #A5ACFF

    #A5ACFF

    oklch(77.1% 0.119 279.5)

  • #EA93CE

    #EA93CE

    oklch(77% 0.128 339.8)

Open the analogous palette in the generator

Split complementary

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

  • #CD9DF1

    #CD9DF1

    oklch(77.1% 0.127 309.8)

  • #C8B64C

    #C8B64C

    oklch(77.1% 0.127 99.7)

  • #61CD98

    #61CD98

    oklch(77% 0.127 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD9DF1

    #CD9DF1

    oklch(77.1% 0.127 309.8)

  • #E8A552

    #E8A552

    oklch(77.1% 0.127 69.7)

  • #27CEC6

    #27CEC6

    oklch(77.1% 0.127 189.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD9DF1

    #CD9DF1

    oklch(77.1% 0.127 309.8)

  • #F99775

    #F99775

    oklch(77.1% 0.127 39.8)

  • #9AC46B

    #9AC46B

    oklch(77% 0.126 129.6)

  • #38C7EC

    #38C7EC

    oklch(77.1% 0.127 219.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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