#C8A1F5

Closest named color: Lilac (#CEA2FD). oklch(77.5% 0.124 305), rgb(200, 161, 245).

Aa

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

About this color

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

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

Values

HEX#C8A1F5
RGBrgb(200, 161, 245)
HSLhsl(268, 81%, 80%)
OKLCHoklch(77.5% 0.124 305)

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 #C8A1F5 2.12:1 Fails Lc -46.3 Large or bold text, headings
Black text on #C8A1F5 9.87:1 AAA Lc 62.3 Content text, not long reading
#C8A1F5 text on white 2.12:1 Fails Lc 41.6 Non-text elements, placeholder text
#C8A1F5 text on black 9.87:1 AAA Lc -60.6 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

    #E3CEFE

    oklch(88.4% 0.069 304.9)

  4. Step 300

    300 (this color)

    #C8A1F5

    oklch(77.5% 0.124 305)

  5. Step 400

    400

    #BD7BFF

    oklch(70.6% 0.193 305.1)

  6. Step 500

    500

    #AE4EFF

    oklch(63.1% 0.25 305)

  7. Step 600

    600

    #9B1CEF

    oklch(55.6% 0.274 305.1)

  8. Step 700

    700

    #8400D0

    oklch(49.1% 0.255 304.9)

  9. Step 800

    800

    #6B0FA8

    oklch(42.6% 0.211 304.9)

  10. Step 900

    900

    #571B85

    oklch(37.7% 0.165 305.3)

  11. Step 950

    950

    #33134E

    oklch(27.1% 0.104 305.3)

Export this scale for Tailwind in the Tailwind colors tool

#C8A1F5 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)#8FB1F80.083
Deuteranopia (no green cones)#97B2F30.077
Tritanopia (no blue cones)#C1AEC00.094
Achromatopsia (no color)#B2B2B20.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A1F5

    #C8A1F5

    oklch(77.5% 0.124 305)

  • #A4C368

    #A4C368

    oklch(77.4% 0.123 124.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A1F5

    #C8A1F5

    oklch(77.5% 0.124 305)

  • #A0B0FF

    #A0B0FF

    oklch(77.5% 0.115 274.7)

  • #E697D5

    #E697D5

    oklch(77.5% 0.123 334.8)

Open the analogous palette in the generator

Split complementary

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

  • #C8A1F5

    #C8A1F5

    oklch(77.5% 0.124 305)

  • #CEB550

    #CEB550

    oklch(77.5% 0.124 95.4)

  • #6FCD93

    #6FCD93

    oklch(77.5% 0.123 155.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A1F5

    #C8A1F5

    oklch(77.5% 0.124 305)

  • #ECA45B

    #ECA45B

    oklch(77.4% 0.124 64.5)

  • #3ACFC0

    #3ACFC0

    oklch(77.5% 0.123 185)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A1F5

    #C8A1F5

    oklch(77.5% 0.124 305)

  • #FA987F

    #FA987F

    oklch(77.5% 0.124 35.1)

  • #A4C368

    #A4C368

    oklch(77.4% 0.123 124.7)

  • #3AC9E7

    #3AC9E7

    oklch(77.4% 0.124 215.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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