#C8A7FC

Closest named color: Lilac (#CEA2FD). oklch(78.8% 0.123 301.5), rgb(200, 167, 252).

Aa

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

About this color

#C8A7FC is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.123 and its hue 301°. 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.38:1.

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

Values

HEX#C8A7FC
RGBrgb(200, 167, 252)
HSLhsl(263, 93%, 82%)
OKLCHoklch(78.8% 0.123 301.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 #C8A7FC 2.02:1 Fails Lc -43.7 Non-text elements, placeholder text
Black text on #C8A7FC 10.38:1 AAA Lc 64.7 Content text, not long reading
#C8A7FC text on white 2.02:1 Fails Lc 39.2 Non-text elements, placeholder text
#C8A7FC text on black 10.38: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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FE

    oklch(93.6% 0.035 302.1)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300 (this color)

    #C8A7FC

    oklch(78.8% 0.123 301.5)

  5. Step 400

    400

    #B680FF

    oklch(70.7% 0.184 301.5)

  6. Step 500

    500

    #A656FF

    oklch(63.1% 0.239 301.5)

  7. Step 600

    600

    #9424F4

    oklch(55.6% 0.273 301.5)

  8. Step 700

    700

    #7E0DD4

    oklch(49% 0.253 301.5)

  9. Step 800

    800

    #6616AC

    oklch(42.7% 0.21 301.2)

  10. Step 900

    900

    #531E88

    oklch(37.7% 0.164 301.5)

  11. Step 950

    950

    #301450

    oklch(27% 0.104 301)

Export this scale for Tailwind in the Tailwind colors tool

#C8A7FC 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)#94B6FF0.075
Deuteranopia (no green cones)#9AB6FA0.070
Tritanopia (no blue cones)#BFB4C60.096
Achromatopsia (no color)#B6B6B60.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A7FC

    #C8A7FC

    oklch(78.8% 0.123 301.5)

  • #AEC669

    #AEC669

    oklch(78.8% 0.122 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A7FC

    #C8A7FC

    oklch(78.8% 0.123 301.5)

  • #A1B6FF

    #A1B6FF

    oklch(78.8% 0.107 271.5)

  • #E89CDE

    #E89CDE

    oklch(78.8% 0.124 331.4)

Open the analogous palette in the generator

Split complementary

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

  • #C8A7FC

    #C8A7FC

    oklch(78.8% 0.123 301.5)

  • #D7B755

    #D7B755

    oklch(78.8% 0.122 91.3)

  • #7AD192

    #7AD192

    oklch(78.9% 0.124 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A7FC

    #C8A7FC

    oklch(78.8% 0.123 301.5)

  • #F3A763

    #F3A763

    oklch(78.9% 0.123 61.3)

  • #47D3BF

    #47D3BF

    oklch(78.7% 0.122 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A7FC

    #C8A7FC

    oklch(78.8% 0.123 301.5)

  • #FF9B89

    #FF9B89

    oklch(78.8% 0.123 31)

  • #AEC669

    #AEC669

    oklch(78.8% 0.122 121.2)

  • #3ECFE7

    #3ECFE7

    oklch(78.9% 0.123 211.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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