#CDA8FE

Closest named color: Lilac (#CEA2FD). oklch(79.6% 0.125 303.4), rgb(205, 168, 254).

Aa

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

About this color

#CDA8FE is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.125 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.014 away. Black text reads best on it, at 10.62:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.62:1
White text1.97:1

Values

HEX#CDA8FE
RGBrgb(205, 168, 254)
HSLhsl(266, 98%, 83%)
OKLCHoklch(79.6% 0.125 303.4)

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 #CDA8FE 1.97:1 Fails Lc -42.5 Non-text elements, placeholder text
Black text on #CDA8FE 10.62:1 AAA Lc 65.9 Content text, not long reading
#CDA8FE text on white 1.97:1 Fails Lc 38.1 Non-text elements, placeholder text
#CDA8FE text on black 10.62:1 AAA Lc -64.3 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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #EFE4FE

    oklch(93.5% 0.037 304.8)

  3. Step 200

    200

    #E2CFFF

    oklch(88.5% 0.068 303.1)

  4. Step 300

    300 (this color)

    #CDA8FE

    oklch(79.6% 0.125 303.4)

  5. Step 400

    400

    #BA7DFF

    oklch(70.6% 0.189 303.6)

  6. Step 500

    500

    #AA52FF

    oklch(63.1% 0.245 303.3)

  7. Step 600

    600

    #981CF3

    oklch(55.6% 0.277 303.4)

  8. Step 700

    700

    #8200D3

    oklch(49.1% 0.257 303.5)

  9. Step 800

    800

    #6A0FAB

    oklch(42.8% 0.214 303.6)

  10. Step 900

    900

    #551B87

    oklch(37.6% 0.166 303.4)

  11. Step 950

    950

    #32134F

    oklch(27% 0.105 303.7)

Export this scale for Tailwind in the Tailwind colors tool

#CDA8FE 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)#95B7FF0.080
Deuteranopia (no green cones)#9DB8FC0.074
Tritanopia (no blue cones)#C5B5C80.095
Achromatopsia (no color)#B8B8B80.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDA8FE

    #CDA8FE

    oklch(79.6% 0.125 303.4)

  • #ACCA6C

    #ACCA6C

    oklch(79.6% 0.126 123.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDA8FE

    #CDA8FE

    oklch(79.6% 0.125 303.4)

  • #A7B8FF

    #A7B8FF

    oklch(79.6% 0.103 273.5)

  • #ED9DDE

    #ED9DDE

    oklch(79.5% 0.126 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #CDA8FE

    #CDA8FE

    oklch(79.6% 0.125 303.4)

  • #D7BA55

    #D7BA55

    oklch(79.4% 0.124 93.4)

  • #78D496

    #78D496

    oklch(79.6% 0.125 153.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDA8FE

    #CDA8FE

    oklch(79.6% 0.125 303.4)

  • #F4AA62

    #F4AA62

    oklch(79.5% 0.124 63.6)

  • #43D6C4

    #43D6C4

    oklch(79.5% 0.125 183.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDA8FE

    #CDA8FE

    oklch(79.6% 0.125 303.4)

  • #FF9F8A

    #FF9F8A

    oklch(79.5% 0.119 33.1)

  • #ACCA6C

    #ACCA6C

    oklch(79.6% 0.126 123.8)

  • #3FD1EC

    #3FD1EC

    oklch(79.6% 0.125 213)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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