#CFA2FE

Closest named color: Lilac (#CEA2FD). oklch(78.7% 0.135 306), rgb(207, 162, 254).

Aa

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

About this color

#CFA2FE is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.135 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.002 away. Black text reads best on it, at 10.25:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.25:1
White text2.04:1

Values

HEX#CFA2FE
RGBrgb(207, 162, 254)
HSLhsl(269, 98%, 82%)
OKLCHoklch(78.7% 0.135 306)

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 #CFA2FE 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #CFA2FE 10.25:1 AAA Lc 64.1 Content text, not long reading
#CFA2FE text on white 2.04:1 Fails Lc 39.8 Non-text elements, placeholder text
#CFA2FE text on black 10.25:1 AAA Lc -62.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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #F0E4FF

    oklch(93.6% 0.038 305.7)

  3. Step 200

    200

    #E5CEFF

    oklch(88.6% 0.071 306.3)

  4. Step 300

    300 (this color)

    #CFA2FE

    oklch(78.7% 0.135 306)

  5. Step 400

    400

    #BF7AFF

    oklch(70.7% 0.195 306)

  6. Step 500

    500

    #B04BFF

    oklch(63% 0.254 305.9)

  7. Step 600

    600

    #9E00F3

    oklch(55.5% 0.287 305.9)

  8. Step 700

    700

    #8600CE

    oklch(49.2% 0.254 306.1)

  9. Step 800

    800

    #6E00AB

    oklch(42.7% 0.221 305.9)

  10. Step 900

    900

    #5A108A

    oklch(37.6% 0.18 306.2)

  11. Step 950

    950

    #350F51

    oklch(27.1% 0.114 306.3)

Export this scale for Tailwind in the Tailwind colors tool

#CFA2FE 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)#8EB4FF0.094
Deuteranopia (no green cones)#98B5FB0.086
Tritanopia (no blue cones)#C8B0C40.102
Achromatopsia (no color)#B5B5B50.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA2FE

    #CFA2FE

    oklch(78.7% 0.135 306)

  • #A4C964

    #A4C964

    oklch(78.7% 0.136 126)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA2FE

    #CFA2FE

    oklch(78.7% 0.135 306)

  • #A6B4FF

    #A6B4FF

    oklch(78.7% 0.108 275.5)

  • #EF97DA

    #EF97DA

    oklch(78.6% 0.134 336)

Open the analogous palette in the generator

Split complementary

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

  • #CFA2FE

    #CFA2FE

    oklch(78.7% 0.135 306)

  • #D3B946

    #D3B946

    oklch(78.7% 0.135 96.3)

  • #67D395

    #67D395

    oklch(78.6% 0.135 156.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA2FE

    #CFA2FE

    oklch(78.7% 0.135 306)

  • #F4A752

    #F4A752

    oklch(78.8% 0.135 66.1)

  • #19D5C6

    #19D5C6

    oklch(78.7% 0.135 185.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA2FE

    #CFA2FE

    oklch(78.7% 0.135 306)

  • #FF9B80

    #FF9B80

    oklch(78.6% 0.126 35.9)

  • #A4C964

    #A4C964

    oklch(78.7% 0.136 126)

  • #20CEF0

    #20CEF0

    oklch(78.6% 0.135 215.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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