#CC5FE9#CC5FE9

#CC5FE9 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.3% C 0.217 H 318.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#CC5FE9
RGBrgb(204, 95, 233)
HSLhsl(287, 76%, 64%)
HSVhsv(287, 59%, 91%)
CMYKcmyk(12.4%, 59.2%, 0%, 8.6%)
CIE-LABlab(58.89, 63.12, -51.33)
CIE-LCHlch(58.89, 81.35, 320.88°)
OKLaboklab(67.25% 0.163 -0.1432)
OKLCHoklch(67.25% 0.217 318.7)
XYZxyz(43.7001, 26.9068, 79.9666)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FE9 #7CE95F
analogous
#875FE9 #CC5FE9 #E95FC1
triadic
#CC5FE9 #E9CC5F #5FE9CC
tetradic
#CC5FE9 #E9875F #7CE95F #5FC1E9
square
#CC5FE9 #E9875F #7CE95F #5FC1E9
split-complementary
#CC5FE9 #C1E95F #5FE987
monochromatic
#9419B5 #BB29E2 #CC5FE9 #DD95F0 #EECBF8

Accessibility & contrast

On white

3.29
#CC5FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#CC5FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FE9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FE9#FFFFFF#000000##000000
##CC5FE91.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86ED
Deuteranopia (green-blind)
#6791E5
Tritanopia (blue-blind)
#CC759B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5fe9;
/* rgb */ color: rgb(204, 95, 233);
/* oklch */ color: oklch(67.3% 0.217 318.7);
Tailwind
colors: {
  custom: {
    50: '#df92f0',
    500: '#cc5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fe9;
$custom-light: #df92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fe9",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 287.391,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67252,
    "c": 0.21698,
    "h": 318.7
  },
  "luminance": 0.26905
}

Semantic roles & 50–950 ramp

primary
#CC5FE9
secondary
#C4EABA
accent
#D80D38
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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