#C8A1F4

Closest named color: Lilac (#CEA2FD). oklch(77.4% 0.122 305.3), rgb(200, 161, 244).

Aa

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

About this color

#C8A1F4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.122 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.016 away. Black text reads best on it, at 9.86:1.

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

Values

HEX#C8A1F4
RGBrgb(200, 161, 244)
HSLhsl(268, 79%, 79%)
OKLCHoklch(77.4% 0.122 305.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 #C8A1F4 2.12:1 Fails Lc -46.4 Large or bold text, headings
Black text on #C8A1F4 9.86:1 AAA Lc 62.3 Content text, not long reading
#C8A1F4 text on white 2.12:1 Fails Lc 41.7 Non-text elements, placeholder text
#C8A1F4 text on black 9.86:1 AAA Lc -60.5 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

    #EFE4FD

    oklch(93.5% 0.035 305.5)

  3. Step 200

    200

    #E4CEFE

    oklch(88.5% 0.069 305.8)

  4. Step 300

    300 (this color)

    #C8A1F4

    oklch(77.4% 0.122 305.3)

  5. Step 400

    400

    #BE7BFF

    oklch(70.7% 0.193 305.4)

  6. Step 500

    500

    #AE4EFE

    oklch(63% 0.249 305.2)

  7. Step 600

    600

    #9B1FED

    oklch(55.6% 0.271 305.5)

  8. Step 700

    700

    #8404CF

    oklch(49.1% 0.253 305.1)

  9. Step 800

    800

    #6B11A7

    oklch(42.6% 0.209 305.1)

  10. Step 900

    900

    #571C84

    oklch(37.7% 0.163 305.5)

  11. Step 950

    950

    #33134E

    oklch(27.1% 0.104 305.3)

Export this scale for Tailwind in the Tailwind colors tool

#C8A1F4 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)#90B0F70.081
Deuteranopia (no green cones)#98B2F20.076
Tritanopia (no blue cones)#C1ADC00.091
Achromatopsia (no color)#B2B2B20.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A1F4

    #C8A1F4

    oklch(77.4% 0.122 305.3)

  • #A3C36A

    #A3C36A

    oklch(77.3% 0.121 125.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A1F4

    #C8A1F4

    oklch(77.4% 0.122 305.3)

  • #A0AFFF

    #A0AFFF

    oklch(77.3% 0.116 275.2)

  • #E697D4

    #E697D4

    oklch(77.4% 0.122 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #C8A1F4

    #C8A1F4

    oklch(77.4% 0.122 305.3)

  • #CEB551

    #CEB551

    oklch(77.5% 0.123 95.3)

  • #6FCD93

    #6FCD93

    oklch(77.5% 0.123 155.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A1F4

    #C8A1F4

    oklch(77.4% 0.122 305.3)

  • #EBA55C

    #EBA55C

    oklch(77.5% 0.122 65.4)

  • #3CCFC0

    #3CCFC0

    oklch(77.5% 0.123 185)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A1F4

    #C8A1F4

    oklch(77.4% 0.122 305.3)

  • #F9987F

    #F9987F

    oklch(77.4% 0.123 35.3)

  • #A3C36A

    #A3C36A

    oklch(77.3% 0.121 125.4)

  • #3DC9E6

    #3DC9E6

    oklch(77.5% 0.122 214.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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