#CFA4FE

Closest named color: Lilac (#CEA2FD). oklch(79% 0.132 305.5), rgb(207, 164, 254).

Aa

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

About this color

#CFA4FE is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.132 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.005 away. Black text reads best on it, at 10.39:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.39:1
White text2.02:1

Values

HEX#CFA4FE
RGBrgb(207, 164, 254)
HSLhsl(269, 98%, 82%)
OKLCHoklch(79% 0.132 305.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 #CFA4FE 2.02:1 Fails Lc -43.6 Non-text elements, placeholder text
Black text on #CFA4FE 10.39:1 AAA Lc 64.8 Content text, not long reading
#CFA4FE text on white 2.02:1 Fails Lc 39.1 Non-text elements, placeholder text
#CFA4FE text on black 10.39:1 AAA Lc -63.2 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

    #E4CEFF

    oklch(88.5% 0.07 305.4)

  4. Step 300

    300 (this color)

    #CFA4FE

    oklch(79% 0.132 305.5)

  5. Step 400

    400

    #BE7BFF

    oklch(70.7% 0.193 305.4)

  6. Step 500

    500

    #AF4DFF

    oklch(63.1% 0.252 305.4)

  7. Step 600

    600

    #9E00F4

    oklch(55.6% 0.288 305.7)

  8. Step 700

    700

    #8500CF

    oklch(49.1% 0.254 305.5)

  9. Step 800

    800

    #6D00AC

    oklch(42.7% 0.221 305.2)

  10. Step 900

    900

    #591489

    oklch(37.7% 0.176 305.7)

  11. Step 950

    950

    #341050

    oklch(27% 0.111 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#CFA4FE 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)#91B5FF0.090
Deuteranopia (no green cones)#9AB7FB0.084
Tritanopia (no blue cones)#C8B2C50.100
Achromatopsia (no color)#B6B6B60.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA4FE

    #CFA4FE

    oklch(79% 0.132 305.5)

  • #A6CA67

    #A6CA67

    oklch(79.1% 0.133 125.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA4FE

    #CFA4FE

    oklch(79% 0.132 305.5)

  • #A7B5FF

    #A7B5FF

    oklch(79% 0.107 275.5)

  • #EF99DB

    #EF99DB

    oklch(79% 0.132 335.7)

Open the analogous palette in the generator

Split complementary

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

  • #CFA4FE

    #CFA4FE

    oklch(79% 0.132 305.5)

  • #D4BA4B

    #D4BA4B

    oklch(79.1% 0.132 96)

  • #6CD496

    #6CD496

    oklch(79.1% 0.132 155.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA4FE

    #CFA4FE

    oklch(79% 0.132 305.5)

  • #F4A857

    #F4A857

    oklch(79% 0.132 65.5)

  • #2AD6C6

    #2AD6C6

    oklch(79.1% 0.133 185)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA4FE

    #CFA4FE

    oklch(79% 0.132 305.5)

  • #FF9D83

    #FF9D83

    oklch(79% 0.123 35.7)

  • #A6CA67

    #A6CA67

    oklch(79.1% 0.133 125.8)

  • #2DCFF0

    #2DCFF0

    oklch(79% 0.132 215.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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