#CDA2FD

Closest named color: Lilac (#CEA2FD). oklch(78.5% 0.133 305.2), rgb(205, 162, 253).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.18:1
White text2.06:1

Values

HEX#CDA2FD
RGBrgb(205, 162, 253)
HSLhsl(268, 96%, 81%)
OKLCHoklch(78.5% 0.133 305.2)

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 #CDA2FD 2.06:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #CDA2FD 10.18:1 AAA Lc 63.8 Content text, not long reading
#CDA2FD text on white 2.06:1 Fails Lc 40.1 Non-text elements, placeholder text
#CDA2FD text on black 10.18:1 AAA Lc -62.2 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

    #F0E4FF

    oklch(93.6% 0.038 305.7)

  3. Step 200

    200

    #E4CEFF

    oklch(88.5% 0.07 305.4)

  4. Step 300

    300 (this color)

    #CDA2FD

    oklch(78.5% 0.133 305.2)

  5. Step 400

    400

    #BD7BFF

    oklch(70.6% 0.193 305.1)

  6. Step 500

    500

    #AF4DFF

    oklch(63.1% 0.252 305.4)

  7. Step 600

    600

    #9D00F5

    oklch(55.6% 0.289 305.1)

  8. Step 700

    700

    #8500D0

    oklch(49.2% 0.255 305.3)

  9. Step 800

    800

    #6D00AC

    oklch(42.7% 0.221 305.2)

  10. Step 900

    900

    #59138A

    oklch(37.7% 0.178 305.4)

  11. Step 950

    950

    #341051

    oklch(27.1% 0.112 305.2)

Export this scale for Tailwind in the Tailwind colors tool

#CDA2FD 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)#8EB3FF0.091
Deuteranopia (no green cones)#97B5FA0.085
Tritanopia (no blue cones)#C6B0C40.100
Achromatopsia (no color)#B4B4B40.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDA2FD

    #CDA2FD

    oklch(78.5% 0.133 305.2)

  • #A5C864

    #A5C864

    oklch(78.5% 0.134 125.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDA2FD

    #CDA2FD

    oklch(78.5% 0.133 305.2)

  • #A5B3FF

    #A5B3FF

    oklch(78.5% 0.11 275.6)

  • #ED97DA

    #ED97DA

    oklch(78.4% 0.133 335.2)

Open the analogous palette in the generator

Split complementary

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

  • #CDA2FD

    #CDA2FD

    oklch(78.5% 0.133 305.2)

  • #D3B847

    #D3B847

    oklch(78.5% 0.134 95.6)

  • #6AD293

    #6AD293

    oklch(78.5% 0.133 155.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDA2FD

    #CDA2FD

    oklch(78.5% 0.133 305.2)

  • #F3A654

    #F3A654

    oklch(78.5% 0.133 65.3)

  • #22D4C4

    #22D4C4

    oklch(78.5% 0.133 185)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDA2FD

    #CDA2FD

    oklch(78.5% 0.133 305.2)

  • #FF9A80

    #FF9A80

    oklch(78.5% 0.127 35.3)

  • #A5C864

    #A5C864

    oklch(78.5% 0.134 125.3)

  • #24CEEE

    #24CEEE

    oklch(78.6% 0.133 214.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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