#C8A5FB

Closest named color: Lilac (#CEA2FD). oklch(78.4% 0.125 302.3), rgb(200, 165, 251).

Aa

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

About this color

#C8A5FB is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.125 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.012 away. Black text reads best on it, at 10.23:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.23:1
White text2.05:1

Values

HEX#C8A5FB
RGBrgb(200, 165, 251)
HSLhsl(264, 91%, 82%)
OKLCHoklch(78.4% 0.125 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 #C8A5FB 2.05:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #C8A5FB 10.23:1 AAA Lc 64.0 Content text, not long reading
#C8A5FB text on white 2.05:1 Fails Lc 39.9 Non-text elements, placeholder text
#C8A5FB text on black 10.23:1 AAA Lc -62.4 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

    #EEE5FF

    oklch(93.7% 0.036 301.4)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300 (this color)

    #C8A5FB

    oklch(78.4% 0.125 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

    #961EF5

    oklch(55.6% 0.277 302.2)

  8. Step 700

    700

    #8003D5

    oklch(49.1% 0.257 302.2)

  9. Step 800

    800

    #6811AC

    oklch(42.7% 0.213 302.4)

  10. Step 900

    900

    #541C88

    oklch(37.6% 0.166 302.3)

  11. Step 950

    950

    #311350

    oklch(27% 0.106 302.2)

Export this scale for Tailwind in the Tailwind colors tool

#C8A5FB 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)#92B4FE0.078
Deuteranopia (no green cones)#98B5F90.074
Tritanopia (no blue cones)#BFB2C50.096
Achromatopsia (no color)#B5B5B50.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A5FB

    #C8A5FB

    oklch(78.4% 0.125 302.3)

  • #ABC667

    #ABC667

    oklch(78.5% 0.126 122.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A5FB

    #C8A5FB

    oklch(78.4% 0.125 302.3)

  • #A1B4FF

    #A1B4FF

    oklch(78.4% 0.109 272.8)

  • #E89ADC

    #E89ADC

    oklch(78.4% 0.125 332.3)

Open the analogous palette in the generator

Split complementary

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

  • #C8A5FB

    #C8A5FB

    oklch(78.4% 0.125 302.3)

  • #D5B651

    #D5B651

    oklch(78.4% 0.125 92.2)

  • #76D091

    #76D091

    oklch(78.5% 0.125 152.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A5FB

    #C8A5FB

    oklch(78.4% 0.125 302.3)

  • #F1A65F

    #F1A65F

    oklch(78.4% 0.125 62.7)

  • #40D3BF

    #40D3BF

    oklch(78.6% 0.125 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A5FB

    #C8A5FB

    oklch(78.4% 0.125 302.3)

  • #FE9A85

    #FE9A85

    oklch(78.5% 0.124 32.7)

  • #ABC667

    #ABC667

    oklch(78.5% 0.126 122.4)

  • #38CDE7

    #38CDE7

    oklch(78.3% 0.125 212.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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