#C8A7F8

Closest named color: Lilac (#CEA2FD). oklch(78.7% 0.118 302.5), rgb(200, 167, 248).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.33:1
White text2.03:1

Values

HEX#C8A7F8
RGBrgb(200, 167, 248)
HSLhsl(264, 85%, 81%)
OKLCHoklch(78.7% 0.118 302.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 #C8A7F8 2.03:1 Fails Lc -43.9 Non-text elements, placeholder text
Black text on #C8A7F8 10.33:1 AAA Lc 64.5 Content text, not long reading
#C8A7F8 text on white 2.03:1 Fails Lc 39.4 Non-text elements, placeholder text
#C8A7F8 text on black 10.33:1 AAA Lc -62.9 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

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E1CFFE

    oklch(88.4% 0.067 302.5)

  4. Step 300

    300 (this color)

    #C8A7F8

    oklch(78.7% 0.118 302.5)

  5. Step 400

    400

    #B87FFF

    oklch(70.8% 0.186 302.5)

  6. Step 500

    500

    #A855FE

    oklch(63.2% 0.24 302.5)

  7. Step 600

    600

    #942CED

    oklch(55.6% 0.261 302.5)

  8. Step 700

    700

    #7E19CE

    oklch(49% 0.243 302.4)

  9. Step 800

    800

    #671BA7

    oklch(42.7% 0.202 302.7)

  10. Step 900

    900

    #532184

    oklch(37.7% 0.156 302.4)

  11. Step 950

    950

    #30154D

    oklch(26.9% 0.099 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#C8A7F8 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)#95B5FB0.073
Deuteranopia (no green cones)#9CB6F60.068
Tritanopia (no blue cones)#C0B3C40.091
Achromatopsia (no color)#B6B6B60.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A7F8

    #C8A7F8

    oklch(78.7% 0.118 302.5)

  • #ACC66E

    #ACC66E

    oklch(78.7% 0.118 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A7F8

    #C8A7F8

    oklch(78.7% 0.118 302.5)

  • #A2B5FF

    #A2B5FF

    oklch(78.7% 0.108 272.7)

  • #E69DDA

    #E69DDA

    oklch(78.6% 0.117 332.6)

Open the analogous palette in the generator

Split complementary

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

  • #C8A7F8

    #C8A7F8

    oklch(78.7% 0.118 302.5)

  • #D4B75A

    #D4B75A

    oklch(78.6% 0.117 92.2)

  • #7CCF95

    #7CCF95

    oklch(78.6% 0.116 152.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A7F8

    #C8A7F8

    oklch(78.7% 0.118 302.5)

  • #EFA866

    #EFA866

    oklch(78.6% 0.118 62.6)

  • #4ED2C0

    #4ED2C0

    oklch(78.7% 0.117 182.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A7F8

    #C8A7F8

    oklch(78.7% 0.118 302.5)

  • #FB9D89

    #FB9D89

    oklch(78.7% 0.117 32.7)

  • #ACC66E

    #ACC66E

    oklch(78.7% 0.118 122.6)

  • #48CDE6

    #48CDE6

    oklch(78.7% 0.118 212.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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