#C8A7F9

Closest named color: Lilac (#CEA2FD). oklch(78.7% 0.119 302.2), rgb(200, 167, 249).

Aa

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

About this color

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

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

Values

HEX#C8A7F9
RGBrgb(200, 167, 249)
HSLhsl(264, 87%, 82%)
OKLCHoklch(78.7% 0.119 302.2)

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 #C8A7F9 2.02:1 Fails Lc -43.9 Non-text elements, placeholder text
Black text on #C8A7F9 10.35:1 AAA Lc 64.6 Content text, not long reading
#C8A7F9 text on white 2.02:1 Fails Lc 39.4 Non-text elements, placeholder text
#C8A7F9 text on black 10.35:1 AAA Lc -63.0 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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FE

    oklch(93.6% 0.035 302.1)

  3. Step 200

    200

    #E1CFFE

    oklch(88.4% 0.067 302.5)

  4. Step 300

    300 (this color)

    #C8A7F9

    oklch(78.7% 0.119 302.2)

  5. Step 400

    400

    #B77FFF

    oklch(70.7% 0.186 302.1)

  6. Step 500

    500

    #A754FF

    oklch(63% 0.242 302.1)

  7. Step 600

    600

    #942AEF

    oklch(55.6% 0.264 302.2)

  8. Step 700

    700

    #7E17D0

    oklch(49.1% 0.246 302.1)

  9. Step 800

    800

    #671AA8

    oklch(42.8% 0.204 302.5)

  10. Step 900

    900

    #532085

    oklch(37.7% 0.158 302.2)

  11. Step 950

    950

    #30154E

    oklch(27% 0.1 301.7)

Export this scale for Tailwind in the Tailwind colors tool

#C8A7F9 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)#95B5FC0.073
Deuteranopia (no green cones)#9BB6F70.069
Tritanopia (no blue cones)#C0B4C50.093
Achromatopsia (no color)#B6B6B60.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A7F9

    #C8A7F9

    oklch(78.7% 0.119 302.2)

  • #ACC66D

    #ACC66D

    oklch(78.7% 0.119 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A7F9

    #C8A7F9

    oklch(78.7% 0.119 302.2)

  • #A2B5FF

    #A2B5FF

    oklch(78.7% 0.108 272.7)

  • #E79DDB

    #E79DDB

    oklch(78.8% 0.118 332.5)

Open the analogous palette in the generator

Split complementary

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

  • #C8A7F9

    #C8A7F9

    oklch(78.7% 0.119 302.2)

  • #D5B759

    #D5B759

    oklch(78.7% 0.119 91.8)

  • #7BD094

    #7BD094

    oklch(78.8% 0.119 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A7F9

    #C8A7F9

    oklch(78.7% 0.119 302.2)

  • #F0A866

    #F0A866

    oklch(78.8% 0.119 62.2)

  • #4CD2C0

    #4CD2C0

    oklch(78.6% 0.118 182.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A7F9

    #C8A7F9

    oklch(78.7% 0.119 302.2)

  • #FC9C89

    #FC9C89

    oklch(78.6% 0.119 31.9)

  • #ACC66D

    #ACC66D

    oklch(78.7% 0.119 122.5)

  • #46CDE6

    #46CDE6

    oklch(78.6% 0.119 212.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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