#CAA7FD

Closest named color: Lilac (#CEA2FD). oklch(79.1% 0.124 302.3), rgb(202, 167, 253).

Aa

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

About this color

#CAA7FD is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.124 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.013 away. Black text reads best on it, at 10.45:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.45:1
White text2.00:1

Values

HEX#CAA7FD
RGBrgb(202, 167, 253)
HSLhsl(264, 96%, 82%)
OKLCHoklch(79.1% 0.124 302.3)

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 #CAA7FD 2.00:1 Fails Lc -43.3 Non-text elements, placeholder text
Black text on #CAA7FD 10.45:1 AAA Lc 65.1 Content text, not long reading
#CAA7FD text on white 2.00:1 Fails Lc 38.9 Non-text elements, placeholder text
#CAA7FD text on black 10.45:1 AAA Lc -63.5 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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FE

    oklch(93.6% 0.035 302.1)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300 (this color)

    #CAA7FD

    oklch(79.1% 0.124 302.3)

  5. Step 400

    400

    #B87FFF

    oklch(70.8% 0.186 302.5)

  6. Step 500

    500

    #A854FF

    oklch(63.1% 0.242 302.4)

  7. Step 600

    600

    #961FF4

    oklch(55.6% 0.276 302.4)

  8. Step 700

    700

    #8003D5

    oklch(49.1% 0.257 302.2)

  9. Step 800

    800

    #6812AC

    oklch(42.7% 0.213 302.3)

  10. Step 900

    900

    #541C88

    oklch(37.6% 0.166 302.3)

  11. Step 950

    950

    #311350

    oklch(27% 0.106 302.2)

Export this scale for Tailwind in the Tailwind colors tool

#CAA7FD 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)#94B6FF0.078
Deuteranopia (no green cones)#9BB7FB0.073
Tritanopia (no blue cones)#C1B4C70.095
Achromatopsia (no color)#B7B7B70.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAA7FD

    #CAA7FD

    oklch(79.1% 0.124 302.3)

  • #ADC86A

    #ADC86A

    oklch(79.2% 0.124 122.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAA7FD

    #CAA7FD

    oklch(79.1% 0.124 302.3)

  • #A3B7FF

    #A3B7FF

    oklch(79.1% 0.105 271.9)

  • #EA9CDE

    #EA9CDE

    oklch(79% 0.125 332.3)

Open the analogous palette in the generator

Split complementary

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

  • #CAA7FD

    #CAA7FD

    oklch(79.1% 0.124 302.3)

  • #D7B854

    #D7B854

    oklch(79% 0.124 92.1)

  • #78D293

    #78D293

    oklch(79.1% 0.125 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAA7FD

    #CAA7FD

    oklch(79.1% 0.124 302.3)

  • #F3A862

    #F3A862

    oklch(79% 0.124 62.4)

  • #43D5C1

    #43D5C1

    oklch(79.2% 0.125 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAA7FD

    #CAA7FD

    oklch(79.1% 0.124 302.3)

  • #FF9D88

    #FF9D88

    oklch(79.1% 0.122 32.9)

  • #ADC86A

    #ADC86A

    oklch(79.2% 0.124 122.4)

  • #3CCFE9

    #3CCFE9

    oklch(79% 0.124 212.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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