#CDA5FB

Closest named color: Lilac (#CEA2FD). oklch(78.9% 0.126 305), rgb(205, 165, 251).

Aa

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

About this color

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

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

Values

HEX#CDA5FB
RGBrgb(205, 165, 251)
HSLhsl(268, 91%, 82%)
OKLCHoklch(78.9% 0.126 305)

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 #CDA5FB 2.02:1 Fails Lc -43.8 Non-text elements, placeholder text
Black text on #CDA5FB 10.37:1 AAA Lc 64.7 Content text, not long reading
#CDA5FB text on white 2.02:1 Fails Lc 39.3 Non-text elements, placeholder text
#CDA5FB text on black 10.37: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

    #E4CEFF

    oklch(88.5% 0.07 305.4)

  4. Step 300

    300 (this color)

    #CDA5FB

    oklch(78.9% 0.126 305)

  5. Step 400

    400

    #BD7BFF

    oklch(70.6% 0.193 305.1)

  6. Step 500

    500

    #AE4EFF

    oklch(63.1% 0.25 305)

  7. Step 600

    600

    #9C15F1

    oklch(55.6% 0.279 305.3)

  8. Step 700

    700

    #8400D0

    oklch(49.1% 0.255 304.9)

  9. Step 800

    800

    #6C0AAA

    oklch(42.7% 0.216 305)

  10. Step 900

    900

    #571A86

    oklch(37.7% 0.167 305)

  11. Step 950

    950

    #33124F

    oklch(27% 0.107 304.9)

Export this scale for Tailwind in the Tailwind colors tool

#CDA5FB 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)#93B5FE0.084
Deuteranopia (no green cones)#9BB6F90.078
Tritanopia (no blue cones)#C6B2C50.095
Achromatopsia (no color)#B6B6B60.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDA5FB

    #CDA5FB

    oklch(78.9% 0.126 305)

  • #A8C86B

    #A8C86B

    oklch(78.8% 0.125 124.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDA5FB

    #CDA5FB

    oklch(78.9% 0.126 305)

  • #A6B5FF

    #A6B5FF

    oklch(78.9% 0.107 274.9)

  • #EC9BDA

    #EC9BDA

    oklch(78.9% 0.125 335.1)

Open the analogous palette in the generator

Split complementary

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

  • #CDA5FB

    #CDA5FB

    oklch(78.9% 0.126 305)

  • #D3B952

    #D3B952

    oklch(78.8% 0.126 95.2)

  • #72D296

    #72D296

    oklch(78.9% 0.126 154.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDA5FB

    #CDA5FB

    oklch(78.9% 0.126 305)

  • #F2A85D

    #F2A85D

    oklch(78.9% 0.126 64.5)

  • #3BD4C5

    #3BD4C5

    oklch(78.9% 0.126 185.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDA5FB

    #CDA5FB

    oklch(78.9% 0.126 305)

  • #FF9C83

    #FF9C83

    oklch(78.9% 0.124 35)

  • #A8C86B

    #A8C86B

    oklch(78.8% 0.125 124.8)

  • #3BCEEC

    #3BCEEC

    oklch(78.8% 0.126 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 #CDA5FB, closest first.

Similar named colors

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

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