#CFA8FE

Closest named color: Lilac (#CEA2FD). oklch(79.7% 0.125 304.5), rgb(207, 168, 254).

Aa

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

About this color

#CFA8FE is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.125 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.015 away. Black text reads best on it, at 10.68:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.68:1
White text1.96:1

Values

HEX#CFA8FE
RGBrgb(207, 168, 254)
HSLhsl(267, 98%, 83%)
OKLCHoklch(79.7% 0.125 304.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 #CFA8FE 1.96:1 Fails Lc -42.2 Non-text elements, placeholder text
Black text on #CFA8FE 10.68:1 AAA Lc 66.1 Content text, not long reading
#CFA8FE text on white 1.96:1 Fails Lc 37.8 Non-text elements, placeholder text
#CFA8FE text on black 10.68:1 AAA Lc -64.6 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

    #EFE4FE

    oklch(93.5% 0.037 304.8)

  3. Step 200

    200

    #E3CEFF

    oklch(88.4% 0.07 304.5)

  4. Step 300

    300 (this color)

    #CFA8FE

    oklch(79.7% 0.125 304.5)

  5. Step 400

    400

    #BC7CFF

    oklch(70.7% 0.191 304.5)

  6. Step 500

    500

    #AD4FFF

    oklch(63.1% 0.249 304.6)

  7. Step 600

    600

    #9A18F2

    oklch(55.6% 0.279 304.3)

  8. Step 700

    700

    #8400D1

    oklch(49.2% 0.256 304.7)

  9. Step 800

    800

    #6B0CAA

    oklch(42.7% 0.215 304.5)

  10. Step 900

    900

    #571A87

    oklch(37.7% 0.168 304.7)

  11. Step 950

    950

    #33124F

    oklch(27% 0.107 304.9)

Export this scale for Tailwind in the Tailwind colors tool

#CFA8FE 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)#96B8FF0.083
Deuteranopia (no green cones)#9EB9FC0.076
Tritanopia (no blue cones)#C8B5C80.095
Achromatopsia (no color)#B9B9B90.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA8FE

    #CFA8FE

    oklch(79.7% 0.125 304.5)

  • #ABCB6E

    #ABCB6E

    oklch(79.8% 0.125 124.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA8FE

    #CFA8FE

    oklch(79.7% 0.125 304.5)

  • #A9B8FF

    #A9B8FF

    oklch(79.7% 0.102 274.7)

  • #EE9EDD

    #EE9EDD

    oklch(79.8% 0.124 334.7)

Open the analogous palette in the generator

Split complementary

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

  • #CFA8FE

    #CFA8FE

    oklch(79.7% 0.125 304.5)

  • #D7BC55

    #D7BC55

    oklch(79.9% 0.126 94.7)

  • #76D598

    #76D598

    oklch(79.8% 0.126 154.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA8FE

    #CFA8FE

    oklch(79.7% 0.125 304.5)

  • #F5AB61

    #F5AB61

    oklch(79.8% 0.126 64.3)

  • #41D7C7

    #41D7C7

    oklch(79.8% 0.125 184.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA8FE

    #CFA8FE

    oklch(79.7% 0.125 304.5)

  • #FFA089

    #FFA089

    oklch(79.7% 0.119 34.4)

  • #ABCB6E

    #ABCB6E

    oklch(79.8% 0.125 124.7)

  • #40D1EE

    #40D1EE

    oklch(79.7% 0.125 214.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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