#CC81E8

Closest named color: Liliac (#C48EFD). oklch(71.9% 0.163 316.3), rgb(204, 129, 232).

Aa

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

About this color

#CC81E8 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.163 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.039 away. Black text reads best on it, at 7.87:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.163)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.87:1
White text2.66:1

Values

HEX#CC81E8
RGBrgb(204, 129, 232)
HSLhsl(284, 69%, 71%)
OKLCHoklch(71.9% 0.163 316.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 #CC81E8 2.66:1 Fails Lc -56.8 Large or bold text, headings
Black text on #CC81E8 7.87:1 AAA Lc 52.4 Large or bold text, headings
#CC81E8 text on white 2.66:1 Fails Lc 51.6 Large or bold text, headings
#CC81E8 text on black 7.87:1 AAA Lc -50.3 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E8CEF3

    oklch(88.4% 0.057 315.9)

  4. Step 300

    300

    #DBACED

    oklch(80.8% 0.103 316.5)

  5. Step 400

    400 (this color)

    #CC81E8

    oklch(71.9% 0.163 316.3)

  6. Step 500

    500

    #B956DC

    oklch(63.1% 0.209 316.2)

  7. Step 600

    600

    #A534C9

    oklch(55.7% 0.226 316.5)

  8. Step 700

    700

    #8D24AE

    oklch(49.2% 0.211 316.3)

  9. Step 800

    800

    #72218D

    oklch(42.7% 0.175 316)

  10. Step 900

    900

    #5D2271

    oklch(37.7% 0.137 316.4)

  11. Step 950

    950

    #361642

    oklch(27% 0.085 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#CC81E8 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)#6F9AEC0.139
Deuteranopia (no green cones)#83A1E50.127
Tritanopia (no blue cones)#CB8FAA0.107
Achromatopsia (no color)#9E9E9E0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC81E8

    #CC81E8

    oklch(71.9% 0.163 316.3)

  • #72BB4C

    #72BB4C

    oklch(72% 0.163 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC81E8

    #CC81E8

    oklch(71.9% 0.163 316.3)

  • #9E93FF

    #9E93FF

    oklch(71.9% 0.154 286.5)

  • #EB76B9

    #EB76B9

    oklch(72% 0.163 346.5)

Open the analogous palette in the generator

Split complementary

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

  • #CC81E8

    #CC81E8

    oklch(71.9% 0.163 316.3)

  • #B1A900

    #B1A900

    oklch(71.8% 0.153 106.3)

  • #00C18F

    #00C18F

    oklch(71.9% 0.149 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC81E8

    #CC81E8

    oklch(71.9% 0.163 316.3)

  • #D99500

    #D99500

    oklch(71.9% 0.151 76.3)

  • #00BBBE

    #00BBBE

    oklch(71.8% 0.122 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC81E8

    #CC81E8

    oklch(71.9% 0.163 316.3)

  • #F57F40

    #F57F40

    oklch(72% 0.163 46.4)

  • #72BB4C

    #72BB4C

    oklch(72% 0.163 136.3)

  • #00B5E6

    #00B5E6

    oklch(72% 0.138 226)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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