#C8A2F2

Closest named color: Lilac (#CEA2FD). oklch(77.5% 0.118 305.6), rgb(200, 162, 242).

Aa

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

About this color

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

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

Values

HEX#C8A2F2
RGBrgb(200, 162, 242)
HSLhsl(268, 75%, 79%)
OKLCHoklch(77.5% 0.118 305.6)

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 #C8A2F2 2.11:1 Fails Lc -46.1 Large or bold text, headings
Black text on #C8A2F2 9.90:1 AAA Lc 62.5 Content text, not long reading
#C8A2F2 text on white 2.11:1 Fails Lc 41.5 Non-text elements, placeholder text
#C8A2F2 text on black 9.90:1 AAA Lc -60.8 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FD

    oklch(93.7% 0.034 304.5)

  3. Step 200

    200

    #E3CFFC

    oklch(88.5% 0.065 305.3)

  4. Step 300

    300 (this color)

    #C8A2F2

    oklch(77.5% 0.118 305.6)

  5. Step 400

    400

    #BD7CFD

    oklch(70.7% 0.189 305.3)

  6. Step 500

    500

    #AE51FA

    oklch(63.1% 0.242 305.7)

  7. Step 600

    600

    #9A27E9

    oklch(55.6% 0.262 305.6)

  8. Step 700

    700

    #8413CB

    oklch(49.2% 0.244 305.7)

  9. Step 800

    800

    #6B18A4

    oklch(42.8% 0.202 305.6)

  10. Step 900

    900

    #561F82

    oklch(37.7% 0.157 305.2)

  11. Step 950

    950

    #32144C

    oklch(26.9% 0.1 305.2)

Export this scale for Tailwind in the Tailwind colors tool

#C8A2F2 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)#92B1F50.079
Deuteranopia (no green cones)#99B2F00.074
Tritanopia (no blue cones)#C2AEBF0.090
Achromatopsia (no color)#B2B2B20.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A2F2

    #C8A2F2

    oklch(77.5% 0.118 305.6)

  • #A4C36D

    #A4C36D

    oklch(77.5% 0.118 125.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A2F2

    #C8A2F2

    oklch(77.5% 0.118 305.6)

  • #A1B0FF

    #A1B0FF

    oklch(77.6% 0.114 275.2)

  • #E598D3

    #E598D3

    oklch(77.4% 0.119 335.6)

Open the analogous palette in the generator

Split complementary

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

  • #C8A2F2

    #C8A2F2

    oklch(77.5% 0.118 305.6)

  • #CDB556

    #CDB556

    oklch(77.5% 0.118 95.3)

  • #72CC95

    #72CC95

    oklch(77.4% 0.118 155.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A2F2

    #C8A2F2

    oklch(77.5% 0.118 305.6)

  • #E9A660

    #E9A660

    oklch(77.5% 0.118 65.8)

  • #45CEC0

    #45CEC0

    oklch(77.5% 0.118 185.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A2F2

    #C8A2F2

    oklch(77.5% 0.118 305.6)

  • #F79A81

    #F79A81

    oklch(77.5% 0.118 35.8)

  • #A4C36D

    #A4C36D

    oklch(77.5% 0.118 125.3)

  • #46C8E5

    #46C8E5

    oklch(77.4% 0.118 215.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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