#CC54E9#CC54E9

#CC54E9 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.0% C 0.232 H 319.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CC54E9
RGBrgb(204, 84, 233)
HSLhsl(288, 77%, 62%)
HSVhsv(288, 64%, 91%)
CMYKcmyk(12.4%, 63.9%, 0%, 8.6%)
CIE-LABlab(57.14, 67.93, -54.12)
CIE-LCHlch(57.14, 86.85, 321.46°)
OKLaboklab(65.98% 0.1758 -0.1513)
OKLCHoklch(65.98% 0.232 319.3)
XYZxyz(42.7782, 25.0632, 79.6593)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54E9 #71E954
analogous
#8254E9 #CC54E9 #E954BC
triadic
#CC54E9 #E9CC54 #54E9CC
tetradic
#CC54E9 #E98254 #71E954 #54BCE9
square
#CC54E9 #E98254 #71E954 #54BCE9
split-complementary
#CC54E9 #BCE954 #54E982
monochromatic
#8F16AC #BC1EE2 #CC54E9 #DC8AF0 #ECC0F7

Accessibility & contrast

On white

3.49
#CC54E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CC54E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54E9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54E9#FFFFFF#000000##000000
##CC54E91.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2581ED
Deuteranopia (green-blind)
#5E8DE5
Tritanopia (blue-blind)
#CC6E98
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc54e9;
/* rgb */ color: rgb(204, 84, 233);
/* oklch */ color: oklch(66.0% 0.232 319.3);
Tailwind
colors: {
  custom: {
    50: '#df8cf1',
    500: '#cc54e9',
    950: '#000000',
  },
}
SCSS
$custom: #cc54e9;
$custom-light: #df8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54e9",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 288.322,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65983,
    "c": 0.23191,
    "h": 319.3
  },
  "luminance": 0.25061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC54E9

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

Preview Lab → · Contrast checker → · Palette generator →

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