#CC55E7#CC55E7

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

Color values

HEX#CC55E7
RGBrgb(204, 85, 231)
HSLhsl(289, 75%, 62%)
HSVhsv(289, 63%, 91%)
CMYKcmyk(11.7%, 63.2%, 0%, 9.4%)
CIE-LABlab(57.18, 67.14, -52.93)
CIE-LCHlch(57.18, 85.49, 321.75°)
OKLaboklab(65.98% 0.1747 -0.1478)
OKLCHoklch(65.98% 0.229 319.8)
XYZxyz(42.5723, 25.1059, 78.1893)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC55E7 #70E755
analogous
#8355E7 #CC55E7 #E755B9
triadic
#CC55E7 #E7CC55 #55E7CC
tetradic
#CC55E7 #E78355 #70E755 #55B9E7
square
#CC55E7 #E78355 #70E755 #55B9E7
split-complementary
#CC55E7 #B9E755 #55E783
monochromatic
#8F18AA #BC20DF #CC55E7 #DC8BEF #ECC0F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC55E7#FFFFFF#000000##000000
##CC55E71.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)
#2B81EB
Deuteranopia (green-blind)
#608DE3
Tritanopia (blue-blind)
#CD6E97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc55e7;
/* rgb */ color: rgb(204, 85, 231);
/* oklch */ color: oklch(66.0% 0.229 319.8);
Tailwind
colors: {
  custom: {
    50: '#df8cef',
    500: '#cc55e7',
    950: '#000000',
  },
}
SCSS
$custom: #cc55e7;
$custom-light: #df8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc55e7",
  "rgb": {
    "r": 204,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 288.904,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65977,
    "c": 0.22882,
    "h": 319.8
  },
  "luminance": 0.25104
}

Semantic roles & 50–950 ramp

primary
#CC55E7
secondary
#BBE7B1
accent
#D70E33
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC55E7

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

Preview Lab → · Contrast checker → · Palette generator →

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