#CC54EA#CC54EA

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

Color values

HEX#CC54EA
RGBrgb(204, 84, 234)
HSLhsl(288, 78%, 62%)
HSVhsv(288, 64%, 92%)
CMYKcmyk(12.8%, 64.1%, 0%, 8.2%)
CIE-LABlab(57.19, 68.12, -54.59)
CIE-LCHlch(57.19, 87.29, 321.29°)
OKLaboklab(66.04% 0.1758 -0.1527)
OKLCHoklch(66.04% 0.233 319)
XYZxyz(42.9215, 25.1205, 80.4138)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54EA #72EA54
analogous
#8154EA #CC54EA #EA54BD
triadic
#CC54EA #EACC54 #54EACC
tetradic
#CC54EA #EA8154 #72EA54 #54BDEA
square
#CC54EA #EA8154 #72EA54 #54BDEA
split-complementary
#CC54EA #BDEA54 #54EA81
monochromatic
#9015AE #BC1DE3 #CC54EA #DC8BF1 #EDC1F7

Accessibility & contrast

On white

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

On black

6.02
#CC54EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54EA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54EA#FFFFFF#000000##000000
##CC54EA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2381EE
Deuteranopia (green-blind)
#5D8DE6
Tritanopia (blue-blind)
#CC6E98
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc54ea;
/* rgb */ color: rgb(204, 84, 234);
/* oklch */ color: oklch(66.0% 0.233 319.0);
Tailwind
colors: {
  custom: {
    50: '#df8cf1',
    500: '#cc54ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc54ea;
$custom-light: #df8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54ea",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 288,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66041,
    "c": 0.23281,
    "h": 319
  },
  "luminance": 0.25119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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