#CC5FE4#CC5FE4

#CC5FE4 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.0% C 0.212 H 320.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CC5FE4
RGBrgb(204, 95, 228)
HSLhsl(289, 71%, 63%)
HSVhsv(289, 58%, 89%)
CMYKcmyk(10.5%, 58.3%, 0%, 10.6%)
CIE-LABlab(58.63, 62.16, -48.95)
CIE-LCHlch(58.63, 79.12, 321.78°)
OKLaboklab(66.98% 0.1628 -0.1363)
OKLCHoklch(66.98% 0.212 320.1)
XYZxyz(42.9959, 26.6251, 76.2581)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FE4 #77E45F
analogous
#895FE4 #CC5FE4 #E45FB9
triadic
#CC5FE4 #E4CC5F #5FE4CC
tetradic
#CC5FE4 #E4895F #77E45F #5FB9E4
square
#CC5FE4 #E4895F #77E45F #5FB9E4
split-complementary
#CC5FE4 #B9E45F #5FE489
monochromatic
#921DAC #BB2BDB #CC5FE4 #DD93ED #EDC8F6

Accessibility & contrast

On white

3.32
#CC5FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CC5FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FE4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FE4#FFFFFF#000000##000000
##CC5FE41.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E8
Deuteranopia (green-blind)
#6A91E1
Tritanopia (blue-blind)
#CD7499
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5fe4;
/* rgb */ color: rgb(204, 95, 228);
/* oklch */ color: oklch(67.0% 0.212 320.1);
Tailwind
colors: {
  custom: {
    50: '#de92ed',
    500: '#cc5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fe4;
$custom-light: #de92ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fe4",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 289.173,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66976,
    "c": 0.21231,
    "h": 320.1
  },
  "luminance": 0.26623
}

Semantic roles & 50–950 ramp

primary
#CC5FE4
secondary
#C0E7B8
accent
#D31235
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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