#CC5EE2#CC5EE2

#CC5EE2 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.7% C 0.212 H 320.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CC5EE2
RGBrgb(204, 94, 226)
HSLhsl(290, 69%, 63%)
HSVhsv(290, 58%, 89%)
CMYKcmyk(9.7%, 58.4%, 0%, 11.4%)
CIE-LABlab(58.35, 62.24, -48.26)
CIE-LCHlch(58.35, 78.76, 322.21°)
OKLaboklab(66.75% 0.1639 -0.1343)
OKLCHoklch(66.75% 0.212 320.7)
XYZxyz(42.6304, 26.3357, 74.7745)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EE2 #74E25E
analogous
#8A5EE2 #CC5EE2 #E25EB6
triadic
#CC5EE2 #E2CC5E #5EE2CC
tetradic
#CC5EE2 #E28A5E #74E25E #5EB6E2
square
#CC5EE2 #E28A5E #74E25E #5EB6E2
split-complementary
#CC5EE2 #B6E25E #5EE28A
monochromatic
#911EA7 #BC2AD9 #CC5EE2 #DC92EB #EDC6F5

Accessibility & contrast

On white

3.35
#CC5EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CC5EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EE2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EE2#FFFFFF#000000##000000
##CC5EE21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E6
Deuteranopia (green-blind)
#6A90DF
Tritanopia (blue-blind)
#CD7297
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5ee2;
/* rgb */ color: rgb(204, 94, 226);
/* oklch */ color: oklch(66.7% 0.212 320.7);
Tailwind
colors: {
  custom: {
    50: '#de91eb',
    500: '#cc5ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ee2;
$custom-light: #de91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ee2",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 290,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66745,
    "c": 0.21189,
    "h": 320.7
  },
  "luminance": 0.26334
}

Semantic roles & 50–950 ramp

primary
#CC5EE2
secondary
#BEE6B6
accent
#D11434
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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