#CC55E2#CC55E2

#CC55E2 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.224 H 321.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CC55E2
RGBrgb(204, 85, 226)
HSLhsl(291, 71%, 61%)
HSVhsv(291, 62%, 89%)
CMYKcmyk(9.7%, 62.4%, 0%, 11.4%)
CIE-LABlab(56.91, 66.21, -50.55)
CIE-LCHlch(56.91, 83.30, 322.64°)
OKLaboklab(65.69% 0.1746 -0.1409)
OKLCHoklch(65.69% 0.224 321.1)
XYZxyz(41.8762, 24.8274, 74.5231)
Luminance0.2482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC55E2 #6BE255
analogous
#8555E2 #CC55E2 #E255B1
triadic
#CC55E2 #E2CC55 #55E2CC
tetradic
#CC55E2 #E28555 #6BE255 #55B1E2
square
#CC55E2 #E28555 #6BE255 #55B1E2
split-complementary
#CC55E2 #B1E255 #55E285
monochromatic
#8C1BA1 #BA24D5 #CC55E2 #DC89EB #EBBEF4

Accessibility & contrast

On white

3.52
#CC55E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CC55E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC55E2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC55E2#FFFFFF#000000##000000
##CC55E21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E6
Deuteranopia (green-blind)
#648DDE
Tritanopia (blue-blind)
#CE6C94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc55e2;
/* rgb */ color: rgb(204, 85, 226);
/* oklch */ color: oklch(65.7% 0.224 321.1);
Tailwind
colors: {
  custom: {
    50: '#df8cec',
    500: '#cc55e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc55e2;
$custom-light: #df8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc55e2",
  "rgb": {
    "r": 204,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 290.638,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65693,
    "c": 0.22438,
    "h": 321.1
  },
  "luminance": 0.24825
}

Semantic roles & 50–950 ramp

primary
#CC55E2
secondary
#B7E4AF
accent
#D31331
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC55E2

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

Preview Lab → · Contrast checker → · Palette generator →

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