#CFA1ED

Closest named color: Lilac (#CEA2FD). oklch(77.8% 0.116 311.5), rgb(207, 161, 237).

Aa

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

About this color

#CFA1ED 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.023 away. Black text reads best on it, at 9.97:1.

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

Values

HEX#CFA1ED
RGBrgb(207, 161, 237)
HSLhsl(276, 68%, 78%)
OKLCHoklch(77.8% 0.116 311.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 #CFA1ED 2.10:1 Fails Lc -45.8 Large or bold text, headings
Black text on #CFA1ED 9.97:1 AAA Lc 62.8 Content text, not long reading
#CFA1ED text on white 2.10:1 Fails Lc 41.1 Non-text elements, placeholder text
#CFA1ED text on black 9.97: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

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

    #CFA1ED

    oklch(77.8% 0.116 311.5)

  5. Step 400

    400

    #C679F4

    oklch(70.7% 0.187 311.4)

  6. Step 500

    500

    #B74EEF

    oklch(63.1% 0.237 311.4)

  7. Step 600

    600

    #A322DD

    oklch(55.5% 0.258 311.5)

  8. Step 700

    700

    #8C0DC0

    oklch(49.2% 0.24 311.6)

  9. Step 800

    800

    #71149B

    oklch(42.6% 0.199 311.4)

  10. Step 900

    900

    #5C1D7C

    oklch(37.8% 0.155 311.4)

  11. Step 950

    950

    #361348

    oklch(27% 0.098 312)

Export this scale for Tailwind in the Tailwind colors tool

#CFA1ED 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)#94B0F00.086
Deuteranopia (no green cones)#9EB4EB0.081
Tritanopia (no blue cones)#CCABBD0.082
Achromatopsia (no color)#B3B3B30.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA1ED

    #CFA1ED

    oklch(77.8% 0.116 311.5)

  • #9CC676

    #9CC676

    oklch(77.7% 0.116 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA1ED

    #CFA1ED

    oklch(77.8% 0.116 311.5)

  • #AAAEFF

    #AAAEFF

    oklch(77.8% 0.115 281.2)

  • #E999CC

    #E999CC

    oklch(77.8% 0.115 341.5)

Open the analogous palette in the generator

Split complementary

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

  • #CFA1ED

    #CFA1ED

    oklch(77.8% 0.116 311.5)

  • #C6B95C

    #C6B95C

    oklch(77.8% 0.116 101.4)

  • #6BCE9F

    #6BCE9F

    oklch(77.8% 0.117 161.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA1ED

    #CFA1ED

    oklch(77.8% 0.116 311.5)

  • #E5AA5E

    #E5AA5E

    oklch(77.8% 0.116 71.6)

  • #44CEC9

    #44CEC9

    oklch(77.8% 0.116 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA1ED

    #CFA1ED

    oklch(77.8% 0.116 311.5)

  • #F69D7B

    #F69D7B

    oklch(77.8% 0.117 41.6)

  • #9CC676

    #9CC676

    oklch(77.7% 0.116 131.2)

  • #51C7EB

    #51C7EB

    oklch(77.7% 0.116 221.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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