#CC5FE5#CC5FE5

#CC5FE5 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.0% C 0.213 H 319.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#CC5FE5
RGBrgb(204, 95, 229)
HSLhsl(289, 72%, 64%)
HSVhsv(289, 59%, 90%)
CMYKcmyk(10.9%, 58.5%, 0%, 10.2%)
CIE-LABlab(58.68, 62.35, -49.42)
CIE-LCHlch(58.68, 79.56, 321.60°)
OKLaboklab(67.03% 0.1628 -0.1377)
OKLCHoklch(67.03% 0.213 319.8)
XYZxyz(43.1351, 26.6808, 76.9913)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FE5 #78E55F
analogous
#895FE5 #CC5FE5 #E55FBB
triadic
#CC5FE5 #E5CC5F #5FE5CC
tetradic
#CC5FE5 #E5895F #78E55F #5FBBE5
square
#CC5FE5 #E5895F #78E55F #5FBBE5
split-complementary
#CC5FE5 #BBE55F #5FE589
monochromatic
#921CAD #BB2ADC #CC5FE5 #DD94EE #EEC8F6

Accessibility & contrast

On white

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

On black

6.34
#CC5FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FE5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FE5#FFFFFF#000000##000000
##CC5FE51.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4086E9
Deuteranopia (green-blind)
#6991E2
Tritanopia (blue-blind)
#CD7499
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5fe5;
/* rgb */ color: rgb(204, 95, 229);
/* oklch */ color: oklch(67.0% 0.213 319.8);
Tailwind
colors: {
  custom: {
    50: '#df92ee',
    500: '#cc5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fe5;
$custom-light: #df92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fe5",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 288.806,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67031,
    "c": 0.21324,
    "h": 319.8
  },
  "luminance": 0.26679
}

Semantic roles & 50–950 ramp

primary
#CC5FE5
secondary
#C1E8B8
accent
#D41136
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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