#CC5EE7#CC5EE7

#CC5EE7 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.0% C 0.217 H 319.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CC5EE7
RGBrgb(204, 94, 231)
HSLhsl(288, 74%, 64%)
HSVhsv(288, 59%, 91%)
CMYKcmyk(11.7%, 59.3%, 0%, 9.4%)
CIE-LABlab(58.62, 63.19, -50.64)
CIE-LCHlch(58.62, 80.98, 321.29°)
OKLaboklab(67.02% 0.1641 -0.1412)
OKLCHoklch(67.02% 0.217 319.3)
XYZxyz(43.3265, 26.6142, 78.4406)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EE7 #79E75E
analogous
#875EE7 #CC5EE7 #E75EBD
triadic
#CC5EE7 #E7CC5E #5EE7CC
tetradic
#CC5EE7 #E7875E #79E75E #5EBDE7
square
#CC5EE7 #E7875E #79E75E #5EBDE7
split-complementary
#CC5EE7 #BDE75E #5EE787
monochromatic
#931AB0 #BB29DF #CC5EE7 #DD93EF #EEC9F7

Accessibility & contrast

On white

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

On black

6.32
#CC5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EE7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EE7#FFFFFF#000000##000000
##CC5EE71.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85EB
Deuteranopia (green-blind)
#6791E3
Tritanopia (blue-blind)
#CC749A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5ee7;
/* rgb */ color: rgb(204, 94, 231);
/* oklch */ color: oklch(67.0% 0.217 319.3);
Tailwind
colors: {
  custom: {
    50: '#df91ef',
    500: '#cc5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ee7;
$custom-light: #df91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ee7",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 288.175,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67019,
    "c": 0.21653,
    "h": 319.3
  },
  "luminance": 0.26612
}

Semantic roles & 50–950 ramp

primary
#CC5EE7
secondary
#C2E9B8
accent
#D60F37
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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