#C8A2F9

Closest named color: Lilac (#CEA2FD). oklch(77.8% 0.127 303.7), rgb(200, 162, 249).

Aa

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

About this color

#C8A2F9 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.127 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.011 away. Black text reads best on it, at 9.99:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text9.99:1
White text2.10:1

Values

HEX#C8A2F9
RGBrgb(200, 162, 249)
HSLhsl(266, 88%, 81%)
OKLCHoklch(77.8% 0.127 303.7)

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 #C8A2F9 2.10:1 Fails Lc -45.7 Large or bold text, headings
Black text on #C8A2F9 9.99:1 AAA Lc 62.9 Content text, not long reading
#C8A2F9 text on white 2.10:1 Fails Lc 41.1 Non-text elements, placeholder text
#C8A2F9 text on black 9.99:1 AAA Lc -61.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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #EFE4FF

    oklch(93.6% 0.038 304.1)

  3. Step 200

    200

    #E2CFFF

    oklch(88.5% 0.068 303.1)

  4. Step 300

    300 (this color)

    #C8A2F9

    oklch(77.8% 0.127 303.7)

  5. Step 400

    400

    #BA7DFF

    oklch(70.6% 0.189 303.6)

  6. Step 500

    500

    #AB51FF

    oklch(63.1% 0.246 303.7)

  7. Step 600

    600

    #9914F5

    oklch(55.6% 0.282 303.5)

  8. Step 700

    700

    #8200D3

    oklch(49.1% 0.257 303.5)

  9. Step 800

    800

    #6A0AAC

    oklch(42.6% 0.217 303.6)

  10. Step 900

    900

    #561A88

    oklch(37.7% 0.169 303.7)

  11. Step 950

    950

    #321250

    oklch(27% 0.108 303.4)

Export this scale for Tailwind in the Tailwind colors tool

#C8A2F9 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)#8FB2FC0.082
Deuteranopia (no green cones)#96B3F70.077
Tritanopia (no blue cones)#C0AFC20.097
Achromatopsia (no color)#B3B3B30.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A2F9

    #C8A2F9

    oklch(77.8% 0.127 303.7)

  • #A6C465

    #A6C465

    oklch(77.7% 0.127 123.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A2F9

    #C8A2F9

    oklch(77.8% 0.127 303.7)

  • #A0B2FF

    #A0B2FF

    oklch(77.9% 0.112 273.5)

  • #E897D9

    #E897D9

    oklch(77.8% 0.128 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #C8A2F9

    #C8A2F9

    oklch(77.8% 0.127 303.7)

  • #D2B54D

    #D2B54D

    oklch(77.9% 0.127 93.6)

  • #70CE91

    #70CE91

    oklch(77.7% 0.126 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A2F9

    #C8A2F9

    oklch(77.8% 0.127 303.7)

  • #EFA45A

    #EFA45A

    oklch(77.8% 0.127 63.6)

  • #35D1BF

    #35D1BF

    oklch(77.8% 0.127 183.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A2F9

    #C8A2F9

    oklch(77.8% 0.127 303.7)

  • #FD9880

    #FD9880

    oklch(77.9% 0.127 34.2)

  • #A6C465

    #A6C465

    oklch(77.7% 0.127 123.8)

  • #31CBE8

    #31CBE8

    oklch(77.8% 0.127 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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