#C8A2F7

Closest named color: Lilac (#CEA2FD). oklch(77.7% 0.124 304.2), rgb(200, 162, 247).

Aa

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

About this color

#C8A2F7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.124 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.013 away. Black text reads best on it, at 9.96:1.

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

Values

HEX#C8A2F7
RGBrgb(200, 162, 247)
HSLhsl(267, 84%, 80%)
OKLCHoklch(77.7% 0.124 304.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 #C8A2F7 2.10:1 Fails Lc -45.8 Large or bold text, headings
Black text on #C8A2F7 9.96:1 AAA Lc 62.8 Content text, not long reading
#C8A2F7 text on white 2.10:1 Fails Lc 41.2 Non-text elements, placeholder text
#C8A2F7 text on black 9.96:1 AAA Lc -61.1 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)

    #C8A2F7

    oklch(77.7% 0.124 304.2)

  5. Step 400

    400

    #BB7DFF

    oklch(70.7% 0.19 304)

  6. Step 500

    500

    #AC50FF

    oklch(63.1% 0.248 304.2)

  7. Step 600

    600

    #991BF1

    oklch(55.5% 0.276 304.1)

  8. Step 700

    700

    #8300D2

    oklch(49.1% 0.256 304.1)

  9. Step 800

    800

    #6A0FAA

    oklch(42.7% 0.213 303.9)

  10. Step 900

    900

    #561B86

    oklch(37.6% 0.166 304.3)

  11. Step 950

    950

    #32134F

    oklch(27% 0.105 303.7)

Export this scale for Tailwind in the Tailwind colors tool

#C8A2F7 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)#90B2FA0.081
Deuteranopia (no green cones)#97B3F50.077
Tritanopia (no blue cones)#C1AFC10.095
Achromatopsia (no color)#B3B3B30.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A2F7

    #C8A2F7

    oklch(77.7% 0.124 304.2)

  • #A6C468

    #A6C468

    oklch(77.8% 0.124 124.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A2F7

    #C8A2F7

    oklch(77.7% 0.124 304.2)

  • #A0B1FF

    #A0B1FF

    oklch(77.7% 0.113 274.1)

  • #E798D7

    #E798D7

    oklch(77.8% 0.124 334.3)

Open the analogous palette in the generator

Split complementary

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

  • #C8A2F7

    #C8A2F7

    oklch(77.7% 0.124 304.2)

  • #D0B54F

    #D0B54F

    oklch(77.7% 0.125 94.5)

  • #71CE92

    #71CE92

    oklch(77.8% 0.125 154.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A2F7

    #C8A2F7

    oklch(77.7% 0.124 304.2)

  • #EEA55C

    #EEA55C

    oklch(77.8% 0.124 64.2)

  • #3AD0C0

    #3AD0C0

    oklch(77.7% 0.124 184.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A2F7

    #C8A2F7

    oklch(77.7% 0.124 304.2)

  • #FB9881

    #FB9881

    oklch(77.7% 0.124 33.9)

  • #A6C468

    #A6C468

    oklch(77.8% 0.124 124.1)

  • #38CAE7

    #38CAE7

    oklch(77.6% 0.124 214.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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