#CFA1EC

Closest named color: Lilac (#CEA2FD). oklch(77.7% 0.115 311.8), rgb(207, 161, 236).

Aa

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

About this color

#CFA1EC is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.115 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.024 away. Black text reads best on it, at 9.96:1.

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

Values

HEX#CFA1EC
RGBrgb(207, 161, 236)
HSLhsl(277, 66%, 78%)
OKLCHoklch(77.7% 0.115 311.8)

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 #CFA1EC 2.10:1 Fails Lc -45.8 Large or bold text, headings
Black text on #CFA1EC 9.96:1 AAA Lc 62.7 Content text, not long reading
#CFA1EC text on white 2.10:1 Fails Lc 41.2 Non-text elements, placeholder text
#CFA1EC text on black 9.96:1 AAA Lc -61.1 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)

    #CFA1EC

    oklch(77.7% 0.115 311.8)

  5. Step 400

    400

    #C67AF2

    oklch(70.7% 0.183 311.8)

  6. Step 500

    500

    #B74FED

    oklch(63.1% 0.234 311.8)

  7. Step 600

    600

    #A324DC

    oklch(55.6% 0.256 311.7)

  8. Step 700

    700

    #8C10BF

    oklch(49.2% 0.238 311.8)

  9. Step 800

    800

    #71169A

    oklch(42.6% 0.196 311.7)

  10. Step 900

    900

    #5C1D7B

    oklch(37.8% 0.154 311.8)

  11. Step 950

    950

    #361348

    oklch(27% 0.098 312)

Export this scale for Tailwind in the Tailwind colors tool

#CFA1EC 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)#94B0EF0.086
Deuteranopia (no green cones)#9FB4EA0.080
Tritanopia (no blue cones)#CCABBC0.082
Achromatopsia (no color)#B3B3B30.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA1EC

    #CFA1EC

    oklch(77.7% 0.115 311.8)

  • #9BC678

    #9BC678

    oklch(77.7% 0.115 132.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA1EC

    #CFA1EC

    oklch(77.7% 0.115 311.8)

  • #ABADFE

    #ABADFE

    oklch(77.7% 0.115 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°).

  • #CFA1EC

    #CFA1EC

    oklch(77.7% 0.115 311.8)

  • #C5B95D

    #C5B95D

    oklch(77.7% 0.115 101.9)

  • #6BCDA0

    #6BCDA0

    oklch(77.6% 0.114 162.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA1EC

    #CFA1EC

    oklch(77.7% 0.115 311.8)

  • #E4AA5F

    #E4AA5F

    oklch(77.7% 0.115 71.8)

  • #46CEC9

    #46CEC9

    oklch(77.8% 0.115 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA1EC

    #CFA1EC

    oklch(77.7% 0.115 311.8)

  • #F59D7C

    #F59D7C

    oklch(77.7% 0.115 41.3)

  • #9BC678

    #9BC678

    oklch(77.7% 0.115 132.1)

  • #53C7EB

    #53C7EB

    oklch(77.8% 0.115 221.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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