#CFA1EB

Closest named color: Lilac (#CEA2FD). oklch(77.7% 0.114 312.2), rgb(207, 161, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text9.95:1
White text2.11:1

Values

HEX#CFA1EB
RGBrgb(207, 161, 235)
HSLhsl(277, 65%, 78%)
OKLCHoklch(77.7% 0.114 312.2)

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 #CFA1EB 2.11:1 Fails Lc -45.9 Large or bold text, headings
Black text on #CFA1EB 9.95:1 AAA Lc 62.7 Content text, not long reading
#CFA1EB text on white 2.11:1 Fails Lc 41.3 Non-text elements, placeholder text
#CFA1EB text on black 9.95:1 AAA Lc -61.0 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

    #F1E4FA

    oklch(93.6% 0.032 311.7)

  3. Step 200

    200

    #E7CEF8

    oklch(88.5% 0.063 311.6)

  4. Step 300

    300 (this color)

    #CFA1EB

    oklch(77.7% 0.114 312.2)

  5. Step 400

    400

    #C67AF1

    oklch(70.7% 0.182 312.1)

  6. Step 500

    500

    #B74FEC

    oklch(63% 0.233 312)

  7. Step 600

    600

    #A326DA

    oklch(55.6% 0.253 312.1)

  8. Step 700

    700

    #8C13BD

    oklch(49.1% 0.235 312.3)

  9. Step 800

    800

    #721799

    oklch(42.8% 0.195 312.4)

  10. Step 900

    900

    #5C1E7A

    oklch(37.8% 0.152 312.1)

  11. Step 950

    950

    #361447

    oklch(27.1% 0.095 312.5)

Export this scale for Tailwind in the Tailwind colors tool

#CFA1EB 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)#95B0EE0.085
Deuteranopia (no green cones)#9FB4E90.080
Tritanopia (no blue cones)#CDABBC0.080
Achromatopsia (no color)#B2B2B20.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA1EB

    #CFA1EB

    oklch(77.7% 0.114 312.2)

  • #9BC679

    #9BC679

    oklch(77.7% 0.113 132.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA1EB

    #CFA1EB

    oklch(77.7% 0.114 312.2)

  • #ABADFD

    #ABADFD

    oklch(77.6% 0.114 282.3)

  • #E999CB

    #E999CB

    oklch(77.8% 0.114 342.1)

Open the analogous palette in the generator

Split complementary

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

  • #CFA1EB

    #CFA1EB

    oklch(77.7% 0.114 312.2)

  • #C5B95E

    #C5B95E

    oklch(77.7% 0.114 101.9)

  • #6CCDA0

    #6CCDA0

    oklch(77.7% 0.114 162)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA1EB

    #CFA1EB

    oklch(77.7% 0.114 312.2)

  • #E3AA60

    #E3AA60

    oklch(77.6% 0.113 72)

  • #48CDC9

    #48CDC9

    oklch(77.6% 0.114 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA1EB

    #CFA1EB

    oklch(77.7% 0.114 312.2)

  • #F49E7C

    #F49E7C

    oklch(77.8% 0.113 42.3)

  • #9BC679

    #9BC679

    oklch(77.7% 0.113 132.3)

  • #55C6EA

    #55C6EA

    oklch(77.6% 0.113 222.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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