#CC5FE7#CC5FE7

#CC5FE7 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.1% C 0.215 H 319.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CC5FE7
RGBrgb(204, 95, 231)
HSLhsl(288, 74%, 64%)
HSVhsv(288, 59%, 91%)
CMYKcmyk(11.7%, 58.9%, 0%, 9.4%)
CIE-LABlab(58.78, 62.73, -50.38)
CIE-LCHlch(58.78, 80.46, 321.23°)
OKLaboklab(67.14% 0.1629 -0.1405)
OKLCHoklch(67.14% 0.215 319.2)
XYZxyz(43.4160, 26.7932, 78.4705)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FE7 #7AE75F
analogous
#885FE7 #CC5FE7 #E75FBE
triadic
#CC5FE7 #E7CC5F #5FE7CC
tetradic
#CC5FE7 #E7885F #7AE75F #5FBEE7
square
#CC5FE7 #E7885F #7AE75F #5FBEE7
split-complementary
#CC5FE7 #BEE75F #5FE788
monochromatic
#931BB1 #BB2ADF #CC5FE7 #DD94EF #EEC9F7

Accessibility & contrast

On white

3.30
#CC5FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CC5FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FE7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FE7#FFFFFF#000000##000000
##CC5FE71.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EB
Deuteranopia (green-blind)
#6891E4
Tritanopia (blue-blind)
#CC759A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5fe7;
/* rgb */ color: rgb(204, 95, 231);
/* oklch */ color: oklch(67.1% 0.215 319.2);
Tailwind
colors: {
  custom: {
    50: '#df92ef',
    500: '#cc5fe7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fe7;
$custom-light: #df92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fe7",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 288.088,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67141,
    "c": 0.21511,
    "h": 319.2
  },
  "luminance": 0.26791
}

Semantic roles & 50–950 ramp

primary
#CC5FE7
secondary
#C3E9B9
accent
#D60F37
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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