#CFA2EE

Closest named color: Lilac (#CEA2FD). oklch(78% 0.116 310.9), rgb(207, 162, 238).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.05:1
White text2.08:1

Values

HEX#CFA2EE
RGBrgb(207, 162, 238)
HSLhsl(276, 69%, 78%)
OKLCHoklch(78% 0.116 310.9)

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 #CFA2EE 2.08:1 Fails Lc -45.4 Large or bold text, headings
Black text on #CFA2EE 10.05:1 AAA Lc 63.2 Content text, not long reading
#CFA2EE text on white 2.08:1 Fails Lc 40.8 Non-text elements, placeholder text
#CFA2EE text on black 10.05:1 AAA Lc -61.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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FB

    oklch(93.6% 0.034 310.7)

  3. Step 200

    200

    #E7CEF9

    oklch(88.6% 0.064 311.1)

  4. Step 300

    300 (this color)

    #CFA2EE

    oklch(78% 0.116 310.9)

  5. Step 400

    400

    #C57AF4

    oklch(70.7% 0.185 310.9)

  6. Step 500

    500

    #B64FEF

    oklch(63.1% 0.236 311)

  7. Step 600

    600

    #A224DE

    oklch(55.6% 0.257 310.9)

  8. Step 700

    700

    #8B10C1

    oklch(49.2% 0.239 310.9)

  9. Step 800

    800

    #71169C

    oklch(42.8% 0.198 311)

  10. Step 900

    900

    #5B1D7C

    oklch(37.7% 0.155 310.8)

  11. Step 950

    950

    #351349

    oklch(26.9% 0.099 310.3)

Export this scale for Tailwind in the Tailwind colors tool

#CFA2EE 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)#95B1F10.085
Deuteranopia (no green cones)#9FB4EC0.078
Tritanopia (no blue cones)#CCACBE0.082
Achromatopsia (no color)#B3B3B30.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA2EE

    #CFA2EE

    oklch(78% 0.116 310.9)

  • #9DC777

    #9DC777

    oklch(78% 0.116 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA2EE

    #CFA2EE

    oklch(78% 0.116 310.9)

  • #AAAFFF

    #AAAFFF

    oklch(78% 0.114 280.7)

  • #EA99CD

    #EA99CD

    oklch(77.9% 0.117 341.3)

Open the analogous palette in the generator

Split complementary

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

  • #CFA2EE

    #CFA2EE

    oklch(78% 0.116 310.9)

  • #C7B95C

    #C7B95C

    oklch(77.8% 0.116 100.9)

  • #6DCE9F

    #6DCE9F

    oklch(77.9% 0.115 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA2EE

    #CFA2EE

    oklch(78% 0.116 310.9)

  • #E6AA60

    #E6AA60

    oklch(78% 0.115 70.5)

  • #47CFC9

    #47CFC9

    oklch(78.1% 0.116 190.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA2EE

    #CFA2EE

    oklch(78% 0.116 310.9)

  • #F69E7D

    #F69E7D

    oklch(78% 0.115 41.3)

  • #9DC777

    #9DC777

    oklch(78% 0.116 131.2)

  • #52C8EB

    #52C8EB

    oklch(78% 0.115 220.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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