#CC5FE6#CC5FE6

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

Color values

HEX#CC5FE6
RGBrgb(204, 95, 230)
HSLhsl(288, 73%, 64%)
HSVhsv(288, 59%, 90%)
CMYKcmyk(11.3%, 58.7%, 0%, 9.8%)
CIE-LABlab(58.73, 62.54, -49.90)
CIE-LCHlch(58.73, 80.01, 321.41°)
OKLaboklab(67.09% 0.1629 -0.1391)
OKLCHoklch(67.09% 0.214 319.5)
XYZxyz(43.2752, 26.7368, 77.7288)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FE6 #79E65F
analogous
#885FE6 #CC5FE6 #E65FBD
triadic
#CC5FE6 #E6CC5F #5FE6CC
tetradic
#CC5FE6 #E6885F #79E65F #5FBDE6
square
#CC5FE6 #E6885F #79E65F #5FBDE6
split-complementary
#CC5FE6 #BDE65F #5FE688
monochromatic
#931BAF #BB2ADE #CC5FE6 #DD94EE #EEC9F7

Accessibility & contrast

On white

3.31
#CC5FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CC5FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FE6
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FE6#FFFFFF#000000##000000
##CC5FE61.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EA
Deuteranopia (green-blind)
#6991E3
Tritanopia (blue-blind)
#CD749A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5fe6;
/* rgb */ color: rgb(204, 95, 230);
/* oklch */ color: oklch(67.1% 0.214 319.5);
Tailwind
colors: {
  custom: {
    50: '#df92ee',
    500: '#cc5fe6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fe6;
$custom-light: #df92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fe6",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 288.444,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67086,
    "c": 0.21418,
    "h": 319.5
  },
  "luminance": 0.26735
}

Semantic roles & 50–950 ramp

primary
#CC5FE6
secondary
#C2E8B9
accent
#D51036
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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