#CDA2F1

Closest named color: Lilac (#CEA2FD). oklch(77.9% 0.119 308.7), rgb(205, 162, 241).

Aa

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

About this color

#CDA2F1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.119 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.018 away. Black text reads best on it, at 10.03:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.03:1
White text2.09:1

Values

HEX#CDA2F1
RGBrgb(205, 162, 241)
HSLhsl(273, 74%, 79%)
OKLCHoklch(77.9% 0.119 308.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 #CDA2F1 2.09:1 Fails Lc -45.5 Large or bold text, headings
Black text on #CDA2F1 10.03:1 AAA Lc 63.1 Content text, not long reading
#CDA2F1 text on white 2.09:1 Fails Lc 40.9 Non-text elements, placeholder text
#CDA2F1 text on black 10.03:1 AAA Lc -61.4 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FC

    oklch(93.5% 0.034 308.1)

  3. Step 200

    200

    #E6CEFB

    oklch(88.5% 0.066 309)

  4. Step 300

    300 (this color)

    #CDA2F1

    oklch(77.9% 0.119 308.7)

  5. Step 400

    400

    #C37AF9

    oklch(70.8% 0.19 308.9)

  6. Step 500

    500

    #B34EF5

    oklch(63% 0.242 308.7)

  7. Step 600

    600

    #9F21E4

    oklch(55.5% 0.263 308.7)

  8. Step 700

    700

    #880AC6

    oklch(49% 0.245 308.6)

  9. Step 800

    800

    #6F14A0

    oklch(42.7% 0.202 308.9)

  10. Step 900

    900

    #5A1C7F

    oklch(37.7% 0.158 309.1)

  11. Step 950

    950

    #34134B

    oklch(27% 0.101 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#CDA2F1 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)#93B1F40.084
Deuteranopia (no green cones)#9CB4EF0.079
Tritanopia (no blue cones)#C9ADBF0.086
Achromatopsia (no color)#B3B3B30.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDA2F1

    #CDA2F1

    oklch(77.9% 0.119 308.7)

  • #A0C672

    #A0C672

    oklch(77.9% 0.119 128.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDA2F1

    #CDA2F1

    oklch(77.9% 0.119 308.7)

  • #A7B0FF

    #A7B0FF

    oklch(78% 0.113 278.4)

  • #E999D1

    #E999D1

    oklch(78% 0.119 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #CDA2F1

    #CDA2F1

    oklch(77.9% 0.119 308.7)

  • #CAB858

    #CAB858

    oklch(77.9% 0.119 98.8)

  • #6ECE9B

    #6ECE9B

    oklch(77.9% 0.118 158.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDA2F1

    #CDA2F1

    oklch(77.9% 0.119 308.7)

  • #E9A95E

    #E9A95E

    oklch(78.1% 0.119 68.9)

  • #42CFC6

    #42CFC6

    oklch(77.9% 0.119 188.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDA2F1

    #CDA2F1

    oklch(77.9% 0.119 308.7)

  • #F89C7E

    #F89C7E

    oklch(77.9% 0.118 38.8)

  • #A0C672

    #A0C672

    oklch(77.9% 0.119 128.7)

  • #4AC9EA

    #4AC9EA

    oklch(77.9% 0.119 218.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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