#C8A1EC

Closest named color: Baby Purple (#CA9BF7). oklch(77.1% 0.112 307.7), rgb(200, 161, 236).

Aa

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

About this color

#C8A1EC is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.112 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.025 away. Black text reads best on it, at 9.76:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.76:1
White text2.15:1

Values

HEX#C8A1EC
RGBrgb(200, 161, 236)
HSLhsl(271, 66%, 78%)
OKLCHoklch(77.1% 0.112 307.7)

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 #C8A1EC 2.15:1 Fails Lc -46.9 Large or bold text, headings
Black text on #C8A1EC 9.76:1 AAA Lc 61.8 Content text, not long reading
#C8A1EC text on white 2.15:1 Fails Lc 42.2 Non-text elements, placeholder text
#C8A1EC text on black 9.76:1 AAA Lc -60.1 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

    #F0E5FB

    oklch(93.7% 0.032 308.1)

  3. Step 200

    200

    #E4CFFA

    oklch(88.5% 0.062 307.2)

  4. Step 300

    300 (this color)

    #C8A1EC

    oklch(77.1% 0.112 307.7)

  5. Step 400

    400

    #BF7DF6

    oklch(70.7% 0.18 307.6)

  6. Step 500

    500

    #B054F2

    oklch(63.1% 0.231 307.8)

  7. Step 600

    600

    #9B2EE0

    oklch(55.5% 0.249 307.6)

  8. Step 700

    700

    #851CC3

    oklch(49.1% 0.233 307.7)

  9. Step 800

    800

    #6C1D9D

    oklch(42.7% 0.192 307.9)

  10. Step 900

    900

    #57217D

    oklch(37.7% 0.149 307.5)

  11. Step 950

    950

    #331549

    oklch(26.9% 0.095 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#C8A1EC 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)#93AFEF0.077
Deuteranopia (no green cones)#9BB1EA0.072
Tritanopia (no blue cones)#C3ACBC0.084
Achromatopsia (no color)#B1B1B10.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A1EC

    #C8A1EC

    oklch(77.1% 0.112 307.7)

  • #A0C273

    #A0C273

    oklch(77% 0.112 127.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A1EC

    #C8A1EC

    oklch(77.1% 0.112 307.7)

  • #A3ADFB

    #A3ADFB

    oklch(77% 0.112 277.8)

  • #E398CE

    #E398CE

    oklch(77% 0.113 337.5)

Open the analogous palette in the generator

Split complementary

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

  • #C8A1EC

    #C8A1EC

    oklch(77.1% 0.112 307.7)

  • #C8B55C

    #C8B55C

    oklch(77.1% 0.112 97.5)

  • #72CA99

    #72CA99

    oklch(77% 0.112 158)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A1EC

    #C8A1EC

    oklch(77.1% 0.112 307.7)

  • #E4A662

    #E4A662

    oklch(77% 0.112 67.4)

  • #4BCBC1

    #4BCBC1

    oklch(77% 0.112 187.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A1EC

    #C8A1EC

    oklch(77.1% 0.112 307.7)

  • #F29B80

    #F29B80

    oklch(77.1% 0.112 38)

  • #A0C273

    #A0C273

    oklch(77% 0.112 127.8)

  • #50C6E4

    #50C6E4

    oklch(77.2% 0.112 217.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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