#CC5EC6#CC5EC6

#CC5EC6 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.3% C 0.187 H 329.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CC5EC6
RGBrgb(204, 94, 198)
HSLhsl(303, 52%, 58%)
HSVhsv(303, 54%, 80%)
CMYKcmyk(0%, 53.9%, 2.9%, 20%)
CIE-LABlab(57.00, 57.20, -34.54)
CIE-LCHlch(57.00, 66.82, 328.88°)
OKLaboklab(65.31% 0.1612 -0.0946)
OKLCHoklch(65.31% 0.187 329.6)
XYZxyz(39.0972, 24.9224, 56.1663)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EC6 #5ECC64
analogous
#9B5ECC #CC5EC6 #CC5E8F
triadic
#CC5EC6 #C6CC5E #5EC6CC
tetradic
#CC5EC6 #CC9B5E #5ECC64 #5E8FCC
square
#CC5EC6 #CC9B5E #5ECC64 #5E8FCC
split-complementary
#CC5EC6 #8FCC5E #5ECC9B
monochromatic
#852A80 #B439AD #CC5EC6 #DB8CD6 #E9BBE7

Accessibility & contrast

On white

3.51
#CC5EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CC5EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EC6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EC6#FFFFFF#000000##000000
##CC5EC61.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC9
Deuteranopia (green-blind)
#788EC3
Tritanopia (blue-blind)
#D36989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5ec6;
/* rgb */ color: rgb(204, 94, 198);
/* oklch */ color: oklch(65.3% 0.187 329.6);
Tailwind
colors: {
  custom: {
    50: '#de91d7',
    500: '#cc5ec6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ec6;
$custom-light: #de91d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ec6",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 198
  },
  "hsl": {
    "h": 303.273,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65312,
    "c": 0.18692,
    "h": 329.6
  },
  "luminance": 0.2492
}

Semantic roles & 50–950 ramp

primary
#CC5EC6
secondary
#ADD9AF
accent
#DB544C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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