#CC8EED

Closest named color: Liliac (#C48EFD). oklch(74.2% 0.147 313.2), rgb(204, 142, 237).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.147)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.65:1
White text2.42:1

Values

HEX#CC8EED
RGBrgb(204, 142, 237)
HSLhsl(279, 73%, 74%)
OKLCHoklch(74.2% 0.147 313.2)

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 #CC8EED 2.42:1 Fails Lc -52.6 Large or bold text, headings
Black text on #CC8EED 8.65:1 AAA Lc 56.4 Large or bold text, headings
#CC8EED text on white 2.42:1 Fails Lc 47.6 Large or bold text, headings
#CC8EED text on black 8.65:1 AAA Lc -54.4 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E5D0F2

    oklch(88.5% 0.051 312.6)

  4. Step 300

    300

    #D6AFEB

    oklch(80.8% 0.093 313.6)

  5. Step 400

    400 (this color)

    #CC8EED

    oklch(74.2% 0.147 313.2)

  6. Step 500

    500

    #B060D8

    oklch(63.1% 0.187 313.1)

  7. Step 600

    600

    #9C41C6

    oklch(55.6% 0.205 313.1)

  8. Step 700

    700

    #8532AB

    oklch(49.1% 0.19 313)

  9. Step 800

    800

    #6C2B8A

    oklch(42.7% 0.157 313.2)

  10. Step 900

    900

    #58286F

    oklch(37.7% 0.124 313.2)

  11. Step 950

    950

    #331941

    oklch(27% 0.077 312.4)

Export this scale for Tailwind in the Tailwind colors tool

#CC8EED 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)#7CA3F10.118
Deuteranopia (no green cones)#8CA8EA0.108
Tritanopia (no blue cones)#C99BB20.102
Achromatopsia (no color)#A6A6A60.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC8EED

    #CC8EED

    oklch(74.2% 0.147 313.2)

  • #86BF59

    #86BF59

    oklch(74.3% 0.147 133.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC8EED

    #CC8EED

    oklch(74.2% 0.147 313.2)

  • #A09FFF

    #A09FFF

    oklch(74.2% 0.137 283)

  • #EA83C4

    #EA83C4

    oklch(74.2% 0.148 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #CC8EED

    #CC8EED

    oklch(74.2% 0.147 313.2)

  • #BDAF24

    #BDAF24

    oklch(74.3% 0.147 103.2)

  • #32C891

    #32C891

    oklch(74.3% 0.147 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC8EED

    #CC8EED

    oklch(74.2% 0.147 313.2)

  • #E39B27

    #E39B27

    oklch(74.3% 0.147 73.1)

  • #00C4C2

    #00C4C2

    oklch(74.2% 0.127 193.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC8EED

    #CC8EED

    oklch(74.2% 0.147 313.2)

  • #F78A5B

    #F78A5B

    oklch(74.3% 0.147 43.4)

  • #86BF59

    #86BF59

    oklch(74.3% 0.147 133.1)

  • #00BDEB

    #00BDEB

    oklch(74.1% 0.139 223.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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