#CC5EC4#CC5EC4

#CC5EC4 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.185 H 330.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CC5EC4
RGBrgb(204, 94, 196)
HSLhsl(304, 52%, 58%)
HSVhsv(304, 54%, 80%)
CMYKcmyk(0%, 53.9%, 3.9%, 20%)
CIE-LABlab(56.91, 56.86, -33.53)
CIE-LCHlch(56.91, 66.01, 329.47°)
OKLaboklab(65.22% 0.1609 -0.0918)
OKLCHoklch(65.22% 0.185 330.3)
XYZxyz(38.8680, 24.8308, 54.9594)
Luminance0.2483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EC4 #5ECC66
analogous
#9D5ECC #CC5EC4 #CC5E8D
triadic
#CC5EC4 #C4CC5E #5EC4CC
tetradic
#CC5EC4 #CC9D5E #5ECC66 #5E8DCC
square
#CC5EC4 #CC9D5E #5ECC66 #5E8DCC
split-complementary
#CC5EC4 #8DCC5E #5ECC9D
monochromatic
#852A7F #B439AB #CC5EC4 #DB8CD5 #E9BBE6

Accessibility & contrast

On white

3.52
#CC5EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CC5EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EC4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EC4#FFFFFF#000000##000000
##CC5EC41.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC7
Deuteranopia (green-blind)
#798EC1
Tritanopia (blue-blind)
#D36888
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5ec4;
/* rgb */ color: rgb(204, 94, 196);
/* oklch */ color: oklch(65.2% 0.185 330.3);
Tailwind
colors: {
  custom: {
    50: '#de91d6',
    500: '#cc5ec4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ec4;
$custom-light: #de91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ec4",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 304.364,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65217,
    "c": 0.18524,
    "h": 330.3
  },
  "luminance": 0.24828
}

Semantic roles & 50–950 ramp

primary
#CC5EC4
secondary
#ADD9B0
accent
#DB574C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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