#CDA2EF

Closest named color: Lilac (#CEA2FD). oklch(77.8% 0.116 309.4), rgb(205, 162, 239).

Aa

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

About this color

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

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

Values

HEX#CDA2EF
RGBrgb(205, 162, 239)
HSLhsl(274, 71%, 79%)
OKLCHoklch(77.8% 0.116 309.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 #CDA2EF 2.09:1 Fails Lc -45.6 Large or bold text, headings
Black text on #CDA2EF 10.01:1 AAA Lc 63.0 Content text, not long reading
#CDA2EF text on white 2.09:1 Fails Lc 41.0 Non-text elements, placeholder text
#CDA2EF text on black 10.01:1 AAA Lc -61.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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F1E4FB

    oklch(93.6% 0.034 310.7)

  3. Step 200

    200

    #E6CEFA

    oklch(88.5% 0.065 309.6)

  4. Step 300

    300 (this color)

    #CDA2EF

    oklch(77.8% 0.116 309.4)

  5. Step 400

    400

    #C37BF6

    oklch(70.8% 0.185 309.5)

  6. Step 500

    500

    #B450F2

    oklch(63.1% 0.237 309.5)

  7. Step 600

    600

    #A025E1

    oklch(55.6% 0.259 309.5)

  8. Step 700

    700

    #8911C3

    oklch(49.1% 0.24 309.6)

  9. Step 800

    800

    #6F179E

    oklch(42.8% 0.198 309.4)

  10. Step 900

    900

    #5A1E7D

    oklch(37.7% 0.154 309.7)

  11. Step 950

    950

    #351449

    oklch(27.1% 0.097 310.1)

Export this scale for Tailwind in the Tailwind colors tool

#CDA2EF 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)#94B1F20.083
Deuteranopia (no green cones)#9DB4ED0.078
Tritanopia (no blue cones)#C9ADBE0.085
Achromatopsia (no color)#B3B3B30.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDA2EF

    #CDA2EF

    oklch(77.8% 0.116 309.4)

  • #9FC674

    #9FC674

    oklch(77.9% 0.117 129.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDA2EF

    #CDA2EF

    oklch(77.8% 0.116 309.4)

  • #A8AFFF

    #A8AFFF

    oklch(77.9% 0.114 279.5)

  • #E899CF

    #E899CF

    oklch(77.8% 0.116 339.3)

Open the analogous palette in the generator

Split complementary

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

  • #CDA2EF

    #CDA2EF

    oklch(77.8% 0.116 309.4)

  • #C9B85B

    #C9B85B

    oklch(77.8% 0.116 99.1)

  • #6FCE9C

    #6FCE9C

    oklch(77.9% 0.117 159.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDA2EF

    #CDA2EF

    oklch(77.8% 0.116 309.4)

  • #E7A960

    #E7A960

    oklch(77.9% 0.116 69.2)

  • #46CEC6

    #46CEC6

    oklch(77.7% 0.116 189.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDA2EF

    #CDA2EF

    oklch(77.8% 0.116 309.4)

  • #F69D7E

    #F69D7E

    oklch(77.9% 0.115 39.9)

  • #9FC674

    #9FC674

    oklch(77.9% 0.117 129.5)

  • #4FC8E9

    #4FC8E9

    oklch(77.8% 0.116 219.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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