#C8A6FA

Closest named color: Lilac (#CEA2FD). oklch(78.6% 0.122 302.3), rgb(200, 166, 250).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.29:1
White text2.04:1

Values

HEX#C8A6FA
RGBrgb(200, 166, 250)
HSLhsl(264, 89%, 82%)
OKLCHoklch(78.6% 0.122 302.3)

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 #C8A6FA 2.04:1 Fails Lc -44.2 Non-text elements, placeholder text
Black text on #C8A6FA 10.29:1 AAA Lc 64.3 Content text, not long reading
#C8A6FA text on white 2.04:1 Fails Lc 39.6 Non-text elements, placeholder text
#C8A6FA text on black 10.29:1 AAA Lc -62.7 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)

    #C8A6FA

    oklch(78.6% 0.122 302.3)

  5. Step 400

    400

    #B87FFF

    oklch(70.8% 0.186 302.5)

  6. Step 500

    500

    #A854FF

    oklch(63.1% 0.242 302.4)

  7. Step 600

    600

    #9525F2

    oklch(55.6% 0.271 302.2)

  8. Step 700

    700

    #7F0FD2

    oklch(49% 0.251 302.3)

  9. Step 800

    800

    #6716AA

    oklch(42.7% 0.208 302.2)

  10. Step 900

    900

    #541E87

    oklch(37.8% 0.163 302.4)

  11. Step 950

    950

    #31144F

    oklch(27% 0.103 302.5)

Export this scale for Tailwind in the Tailwind colors tool

#C8A6FA 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)#93B5FD0.076
Deuteranopia (no green cones)#9AB5F80.070
Tritanopia (no blue cones)#C0B3C50.094
Achromatopsia (no color)#B5B5B50.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A6FA

    #C8A6FA

    oklch(78.6% 0.122 302.3)

  • #ACC66A

    #ACC66A

    oklch(78.7% 0.122 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A6FA

    #C8A6FA

    oklch(78.6% 0.122 302.3)

  • #A1B5FF

    #A1B5FF

    oklch(78.6% 0.108 272.1)

  • #E79CDC

    #E79CDC

    oklch(78.7% 0.121 332)

Open the analogous palette in the generator

Split complementary

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

  • #C8A6FA

    #C8A6FA

    oklch(78.6% 0.122 302.3)

  • #D5B755

    #D5B755

    oklch(78.6% 0.122 92.4)

  • #79D093

    #79D093

    oklch(78.7% 0.122 152.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A6FA

    #C8A6FA

    oklch(78.6% 0.122 302.3)

  • #F1A763

    #F1A763

    oklch(78.6% 0.122 62.1)

  • #46D2BF

    #46D2BF

    oklch(78.5% 0.122 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A6FA

    #C8A6FA

    oklch(78.6% 0.122 302.3)

  • #FD9B87

    #FD9B87

    oklch(78.5% 0.122 32.3)

  • #ACC66A

    #ACC66A

    oklch(78.7% 0.122 122.2)

  • #3FCDE7

    #3FCDE7

    oklch(78.5% 0.122 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 #C8A6FA, closest first.

Similar named colors

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

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