#CDA5FC

Closest named color: Lilac (#CEA2FD). oklch(78.9% 0.127 304.8), rgb(205, 165, 252).

Aa

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

About this color

#CDA5FC is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.127 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.008 away. Black text reads best on it, at 10.38:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.38:1
White text2.02:1

Values

HEX#CDA5FC
RGBrgb(205, 165, 252)
HSLhsl(268, 94%, 82%)
OKLCHoklch(78.9% 0.127 304.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 #CDA5FC 2.02:1 Fails Lc -43.7 Non-text elements, placeholder text
Black text on #CDA5FC 10.38:1 AAA Lc 64.7 Content text, not long reading
#CDA5FC text on white 2.02:1 Fails Lc 39.2 Non-text elements, placeholder text
#CDA5FC text on black 10.38:1 AAA Lc -63.1 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

    #E3CEFF

    oklch(88.4% 0.07 304.5)

  4. Step 300

    300 (this color)

    #CDA5FC

    oklch(78.9% 0.127 304.8)

  5. Step 400

    400

    #BD7CFF

    oklch(70.8% 0.192 304.9)

  6. Step 500

    500

    #AD4EFF

    oklch(63% 0.25 304.7)

  7. Step 600

    600

    #9B10F3

    oklch(55.5% 0.283 304.7)

  8. Step 700

    700

    #8400D1

    oklch(49.2% 0.256 304.7)

  9. Step 800

    800

    #6C07AB

    oklch(42.7% 0.218 304.8)

  10. Step 900

    900

    #571987

    oklch(37.7% 0.169 304.8)

  11. Step 950

    950

    #33124F

    oklch(27% 0.107 304.9)

Export this scale for Tailwind in the Tailwind colors tool

#CDA5FC 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)#92B5FF0.085
Deuteranopia (no green cones)#9BB6FA0.078
Tritanopia (no blue cones)#C6B2C50.096
Achromatopsia (no color)#B6B6B60.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDA5FC

    #CDA5FC

    oklch(78.9% 0.127 304.8)

  • #A8C86A

    #A8C86A

    oklch(78.8% 0.126 124.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDA5FC

    #CDA5FC

    oklch(78.9% 0.127 304.8)

  • #A6B5FF

    #A6B5FF

    oklch(78.9% 0.107 274.9)

  • #EC9ADB

    #EC9ADB

    oklch(78.8% 0.128 334.5)

Open the analogous palette in the generator

Split complementary

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

  • #CDA5FC

    #CDA5FC

    oklch(78.9% 0.127 304.8)

  • #D4B950

    #D4B950

    oklch(78.9% 0.127 94.9)

  • #71D296

    #71D296

    oklch(78.8% 0.127 155)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDA5FC

    #CDA5FC

    oklch(78.9% 0.127 304.8)

  • #F2A85C

    #F2A85C

    oklch(78.8% 0.127 64.8)

  • #39D4C5

    #39D4C5

    oklch(78.8% 0.127 185.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDA5FC

    #CDA5FC

    oklch(78.9% 0.127 304.8)

  • #FF9C84

    #FF9C84

    oklch(78.9% 0.124 34.4)

  • #A8C86A

    #A8C86A

    oklch(78.8% 0.126 124.7)

  • #38CFED

    #38CFED

    oklch(79.1% 0.127 214.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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