#CC55E9#CC55E9

#CC55E9 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.1% C 0.231 H 319.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CC55E9
RGBrgb(204, 85, 233)
HSLhsl(288, 77%, 62%)
HSVhsv(288, 64%, 91%)
CMYKcmyk(12.4%, 63.5%, 0%, 8.6%)
CIE-LABlab(57.29, 67.51, -53.87)
CIE-LCHlch(57.29, 86.37, 321.41°)
OKLaboklab(66.09% 0.1747 -0.1506)
OKLCHoklch(66.09% 0.231 319.2)
XYZxyz(42.8564, 25.2195, 79.6854)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC55E9 #72E955
analogous
#8255E9 #CC55E9 #E955BC
triadic
#CC55E9 #E9CC55 #55E9CC
tetradic
#CC55E9 #E98255 #72E955 #55BCE9
square
#CC55E9 #E98255 #72E955 #55BCE9
split-complementary
#CC55E9 #BCE955 #55E982
monochromatic
#9016AD #BC1FE2 #CC55E9 #DC8BF0 #EDC1F7

Accessibility & contrast

On white

3.47
#CC55E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CC55E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC55E9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC55E9#FFFFFF#000000##000000
##CC55E91.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782ED
Deuteranopia (green-blind)
#5F8EE5
Tritanopia (blue-blind)
#CC6F98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc55e9;
/* rgb */ color: rgb(204, 85, 233);
/* oklch */ color: oklch(66.1% 0.231 319.2);
Tailwind
colors: {
  custom: {
    50: '#df8cf1',
    500: '#cc55e9',
    950: '#000000',
  },
}
SCSS
$custom: #cc55e9;
$custom-light: #df8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc55e9",
  "rgb": {
    "r": 204,
    "g": 85,
    "b": 233
  },
  "hsl": {
    "h": 288.243,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66092,
    "c": 0.23061,
    "h": 319.2
  },
  "luminance": 0.25218
}

Semantic roles & 50–950 ramp

primary
#CC55E9
secondary
#BCE8B2
accent
#D90C34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC55E9

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

Preview Lab → · Contrast checker → · Palette generator →

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