#CEA2FD

Named color: Lilac. oklch(78.5% 0.134 305.7), rgb(206, 162, 253).

Aa

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

About this color

#CEA2FD is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.134 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. It is the named color Lilac. Black text reads best on it, at 10.21:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameLilac
Black text10.21:1
White text2.05:1

Values

HEX#CEA2FD
RGBrgb(206, 162, 253)
HSLhsl(269, 96%, 81%)
OKLCHoklch(78.5% 0.134 305.7)

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 #CEA2FD 2.05:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #CEA2FD 10.21:1 AAA Lc 63.9 Content text, not long reading
#CEA2FD text on white 2.05:1 Fails Lc 40.0 Non-text elements, placeholder text
#CEA2FD text on black 10.21:1 AAA Lc -62.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

    #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)

    #CEA2FD

    oklch(78.5% 0.134 305.7)

  5. Step 400

    400

    #BF7AFF

    oklch(70.7% 0.195 306)

  6. Step 500

    500

    #B04CFF

    oklch(63.1% 0.253 305.8)

  7. Step 600

    600

    #9E00F4

    oklch(55.6% 0.288 305.7)

  8. Step 700

    700

    #8500CF

    oklch(49.1% 0.254 305.5)

  9. Step 800

    800

    #6E00AB

    oklch(42.7% 0.221 305.9)

  10. Step 900

    900

    #59128A

    oklch(37.6% 0.178 305.5)

  11. Step 950

    950

    #340F51

    oklch(27% 0.113 305.4)

Export this scale for Tailwind in the Tailwind colors tool

#CEA2FD 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)#8FB3FF0.091
Deuteranopia (no green cones)#98B5FA0.085
Tritanopia (no blue cones)#C7B0C40.100
Achromatopsia (no color)#B5B5B50.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #CEA2FD

    #CEA2FD

    oklch(78.5% 0.134 305.7)

  • #A4C865

    #A4C865

    oklch(78.5% 0.133 125.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CEA2FD

    #CEA2FD

    oklch(78.5% 0.134 305.7)

  • #A6B3FF

    #A6B3FF

    oklch(78.5% 0.109 276.1)

  • #EE97DA

    #EE97DA

    oklch(78.5% 0.133 335.6)

Open the analogous palette in the generator

Split complementary

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

  • #CEA2FD

    #CEA2FD

    oklch(78.5% 0.134 305.7)

  • #D3B847

    #D3B847

    oklch(78.5% 0.134 95.6)

  • #69D294

    #69D294

    oklch(78.5% 0.133 155.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CEA2FD

    #CEA2FD

    oklch(78.5% 0.134 305.7)

  • #F3A653

    #F3A653

    oklch(78.5% 0.134 65.6)

  • #20D4C5

    #20D4C5

    oklch(78.5% 0.133 185.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CEA2FD

    #CEA2FD

    oklch(78.5% 0.134 305.7)

  • #FF9A80

    #FF9A80

    oklch(78.5% 0.127 35.3)

  • #A4C865

    #A4C865

    oklch(78.5% 0.133 125.8)

  • #25CEEF

    #25CEEF

    oklch(78.6% 0.133 215.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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