#CFA8FD

Closest named color: Lilac (#CEA2FD). oklch(79.7% 0.124 304.8), rgb(207, 168, 253).

Aa

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

About this color

#CFA8FD is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.124 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.67:1.

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

Values

HEX#CFA8FD
RGBrgb(207, 168, 253)
HSLhsl(268, 96%, 83%)
OKLCHoklch(79.7% 0.124 304.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 #CFA8FD 1.96:1 Fails Lc -42.2 Non-text elements, placeholder text
Black text on #CFA8FD 10.67:1 AAA Lc 66.1 Content text, not long reading
#CFA8FD text on white 1.96:1 Fails Lc 37.9 Non-text elements, placeholder text
#CFA8FD text on black 10.67: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)

    #CFA8FD

    oklch(79.7% 0.124 304.8)

  5. Step 400

    400

    #BD7CFF

    oklch(70.8% 0.192 304.9)

  6. Step 500

    500

    #AE4EFF

    oklch(63.1% 0.25 305)

  7. Step 600

    600

    #9A1BF0

    oklch(55.6% 0.276 304.7)

  8. Step 700

    700

    #8400D0

    oklch(49.1% 0.255 304.9)

  9. Step 800

    800

    #6B0FA9

    oklch(42.7% 0.212 304.7)

  10. Step 900

    900

    #571B86

    oklch(37.8% 0.166 304.9)

  11. Step 950

    950

    #33134E

    oklch(27.1% 0.104 305.3)

Export this scale for Tailwind in the Tailwind colors tool

#CFA8FD 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)#9EB9FB0.076
Tritanopia (no blue cones)#C8B5C70.095
Achromatopsia (no color)#B9B9B90.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA8FD

    #CFA8FD

    oklch(79.7% 0.124 304.8)

  • #ABCB6F

    #ABCB6F

    oklch(79.8% 0.124 124.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA8FD

    #CFA8FD

    oklch(79.7% 0.124 304.8)

  • #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°).

  • #CFA8FD

    #CFA8FD

    oklch(79.7% 0.124 304.8)

  • #D6BC57

    #D6BC57

    oklch(79.8% 0.124 95)

  • #76D499

    #76D499

    oklch(79.6% 0.124 154.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA8FD

    #CFA8FD

    oklch(79.7% 0.124 304.8)

  • #F4AB62

    #F4AB62

    oklch(79.7% 0.124 64.4)

  • #43D6C7

    #43D6C7

    oklch(79.6% 0.124 185.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA8FD

    #CFA8FD

    oklch(79.7% 0.124 304.8)

  • #FFA089

    #FFA089

    oklch(79.7% 0.119 34.4)

  • #ABCB6F

    #ABCB6F

    oklch(79.8% 0.124 124.9)

  • #42D1EE

    #42D1EE

    oklch(79.8% 0.124 214.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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