#CC5EE8#CC5EE8

#CC5EE8 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.1% C 0.217 H 319.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#CC5EE8
RGBrgb(204, 94, 232)
HSLhsl(288, 75%, 64%)
HSVhsv(288, 59%, 91%)
CMYKcmyk(12.1%, 59.5%, 0%, 9%)
CIE-LABlab(58.67, 63.38, -51.12)
CIE-LCHlch(58.67, 81.42, 321.11°)
OKLaboklab(67.07% 0.1642 -0.1426)
OKLCHoklch(67.07% 0.217 319)
XYZxyz(43.4681, 26.6708, 79.1866)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EE8 #7AE85E
analogous
#875EE8 #CC5EE8 #E85EBF
triadic
#CC5EE8 #E8CC5E #5EE8CC
tetradic
#CC5EE8 #E8875E #7AE85E #5EBFE8
square
#CC5EE8 #E8875E #7AE85E #5EBFE8
split-complementary
#CC5EE8 #BFE85E #5EE887
monochromatic
#9319B2 #BB28E0 #CC5EE8 #DD94F0 #EEC9F7

Accessibility & contrast

On white

3.32
#CC5EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CC5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EE8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EE8#FFFFFF#000000##000000
##CC5EE81.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EC
Deuteranopia (green-blind)
#6691E4
Tritanopia (blue-blind)
#CC749B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5ee8;
/* rgb */ color: rgb(204, 94, 232);
/* oklch */ color: oklch(67.1% 0.217 319.0);
Tailwind
colors: {
  custom: {
    50: '#df91f0',
    500: '#cc5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ee8;
$custom-light: #df91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ee8",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 287.826,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67075,
    "c": 0.21745,
    "h": 319
  },
  "luminance": 0.26669
}

Semantic roles & 50–950 ramp

primary
#CC5EE8
secondary
#C3E9B9
accent
#D70E37
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5EE8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CC5EE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva