#CC8FF5

Closest named color: Liliac (#C48EFD). oklch(74.8% 0.155 310.6), rgb(204, 143, 245).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.155)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.81:1
White text2.38:1

Values

HEX#CC8FF5
RGBrgb(204, 143, 245)
HSLhsl(276, 84%, 76%)
OKLCHoklch(74.8% 0.155 310.6)

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 #CC8FF5 2.38:1 Fails Lc -51.7 Large or bold text, headings
Black text on #CC8FF5 8.81:1 AAA Lc 57.2 Large or bold text, headings
#CC8FF5 text on white 2.38:1 Fails Lc 46.8 Large or bold text, headings
#CC8FF5 text on black 8.81:1 AAA Lc -55.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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F8

    oklch(93.6% 0.028 311.3)

  3. Step 200

    200

    #E4D0F4

    oklch(88.5% 0.053 310.1)

  4. Step 300

    300

    #D4AFEF

    oklch(80.8% 0.097 310.5)

  5. Step 400

    400 (this color)

    #CC8FF5

    oklch(74.8% 0.155 310.6)

  6. Step 500

    500

    #AF5EE0

    oklch(63.2% 0.198 310.7)

  7. Step 600

    600

    #9A3FCD

    oklch(55.6% 0.214 310.6)

  8. Step 700

    700

    #842FB2

    oklch(49.2% 0.2 310.7)

  9. Step 800

    800

    #6B2990

    oklch(42.7% 0.165 310.6)

  10. Step 900

    900

    #572773

    oklch(37.7% 0.13 310.8)

  11. Step 950

    950

    #331843

    oklch(27% 0.082 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#CC8FF5 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)#7AA5F90.120
Deuteranopia (no green cones)#89A9F20.110
Tritanopia (no blue cones)#C79EB60.110
Achromatopsia (no color)#A8A8A80.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC8FF5

    #CC8FF5

    oklch(74.8% 0.155 310.6)

  • #8BC04F

    #8BC04F

    oklch(74.7% 0.154 130.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC8FF5

    #CC8FF5

    oklch(74.8% 0.155 310.6)

  • #9EA3FF

    #9EA3FF

    oklch(74.9% 0.132 280.3)

  • #ED83CB

    #ED83CB

    oklch(74.8% 0.155 340.5)

Open the analogous palette in the generator

Split complementary

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

  • #CC8FF5

    #CC8FF5

    oklch(74.8% 0.155 310.6)

  • #C4AF07

    #C4AF07

    oklch(74.9% 0.155 100.6)

  • #31CB8C

    #31CB8C

    oklch(74.9% 0.155 160.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC8FF5

    #CC8FF5

    oklch(74.8% 0.155 310.6)

  • #EA9A1D

    #EA9A1D

    oklch(74.9% 0.155 70.8)

  • #00C7C0

    #00C7C0

    oklch(74.9% 0.129 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC8FF5

    #CC8FF5

    oklch(74.8% 0.155 310.6)

  • #FD885C

    #FD885C

    oklch(74.8% 0.154 40.9)

  • #8BC04F

    #8BC04F

    oklch(74.7% 0.154 130.5)

  • #00C0E9

    #00C0E9

    oklch(74.8% 0.137 220.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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