#CFA2EF

Closest named color: Lilac (#CEA2FD). oklch(78% 0.117 310.5), rgb(207, 162, 239).

Aa

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

About this color

#CFA2EF is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.117 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.020 away. Black text reads best on it, at 10.06:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.06:1
White text2.08:1

Values

HEX#CFA2EF
RGBrgb(207, 162, 239)
HSLhsl(275, 71%, 79%)
OKLCHoklch(78% 0.117 310.5)

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 #CFA2EF 2.08:1 Fails Lc -45.3 Large or bold text, headings
Black text on #CFA2EF 10.06:1 AAA Lc 63.2 Content text, not long reading
#CFA2EF text on white 2.08:1 Fails Lc 40.7 Non-text elements, placeholder text
#CFA2EF text on black 10.06:1 AAA Lc -61.6 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

    #E7CEFA

    oklch(88.6% 0.065 310.5)

  4. Step 300

    300 (this color)

    #CFA2EF

    oklch(78% 0.117 310.5)

  5. Step 400

    400

    #C57AF5

    oklch(70.8% 0.186 310.6)

  6. Step 500

    500

    #B64EF1

    oklch(63.1% 0.239 310.6)

  7. Step 600

    600

    #A222E0

    oklch(55.6% 0.26 310.5)

  8. Step 700

    700

    #8B0CC2

    oklch(49.1% 0.242 310.7)

  9. Step 800

    800

    #70149D

    oklch(42.6% 0.2 310.3)

  10. Step 900

    900

    #5B1D7D

    oklch(37.8% 0.156 310.4)

  11. Step 950

    950

    #351349

    oklch(26.9% 0.099 310.3)

Export this scale for Tailwind in the Tailwind colors tool

#CFA2EF 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)#95B1F20.085
Deuteranopia (no green cones)#9EB4ED0.079
Tritanopia (no blue cones)#CCACBE0.083
Achromatopsia (no color)#B3B3B30.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA2EF

    #CFA2EF

    oklch(78% 0.117 310.5)

  • #9EC776

    #9EC776

    oklch(78.1% 0.117 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA2EF

    #CFA2EF

    oklch(78% 0.117 310.5)

  • #AAAFFF

    #AAAFFF

    oklch(78% 0.114 280.7)

  • #EA99CE

    #EA99CE

    oklch(78% 0.117 340.7)

Open the analogous palette in the generator

Split complementary

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

  • #CFA2EF

    #CFA2EF

    oklch(78% 0.117 310.5)

  • #C8B95B

    #C8B95B

    oklch(77.9% 0.117 100.4)

  • #6DCF9E

    #6DCF9E

    oklch(78.1% 0.118 160.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA2EF

    #CFA2EF

    oklch(78% 0.117 310.5)

  • #E7AA5F

    #E7AA5F

    oklch(78% 0.117 70.3)

  • #45CFC9

    #45CFC9

    oklch(78% 0.117 190.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA2EF

    #CFA2EF

    oklch(78% 0.117 310.5)

  • #F79D7D

    #F79D7D

    oklch(78% 0.117 40.3)

  • #9EC776

    #9EC776

    oklch(78.1% 0.117 130.6)

  • #50C8EB

    #50C8EB

    oklch(77.9% 0.116 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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