#CC55EE#CC55EE

#CC55EE is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.235 H 318.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CC55EE
RGBrgb(204, 85, 238)
HSLhsl(287, 82%, 63%)
HSVhsv(287, 64%, 93%)
CMYKcmyk(14.3%, 64.3%, 0%, 6.7%)
CIE-LABlab(57.57, 68.45, -56.22)
CIE-LCHlch(57.57, 88.58, 320.60°)
OKLaboklab(66.38% 0.1746 -0.1575)
OKLCHoklch(66.38% 0.235 318)
XYZxyz(43.5808, 25.5092, 83.5005)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC55EE #77EE55
analogous
#7F55EE #CC55EE #EE55C3
triadic
#CC55EE #EECC55 #55EECC
tetradic
#CC55EE #EE7F55 #77EE55 #55C3EE
square
#CC55EE #EE7F55 #77EE55 #55C3EE
split-complementary
#CC55EE #C3EE55 #55EE7F
monochromatic
#9212B6 #BB1DE8 #CC55EE #DD8DF4 #EDC4F9

Accessibility & contrast

On white

3.44
#CC55EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CC55EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC55EE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC55EE#FFFFFF#000000##000000
##CC55EE1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D83F3
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#CB709B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc55ee;
/* rgb */ color: rgb(204, 85, 238);
/* oklch */ color: oklch(66.4% 0.235 318.0);
Tailwind
colors: {
  custom: {
    50: '#df8df4',
    500: '#cc55ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc55ee;
$custom-light: #df8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc55ee",
  "rgb": {
    "r": 204,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 286.667,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66384,
    "c": 0.23511,
    "h": 318
  },
  "luminance": 0.25507
}

Semantic roles & 50–950 ramp

primary
#CC55EE
secondary
#C0EBB4
accent
#DE0737
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC55EE

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

Preview Lab → · Contrast checker → · Palette generator →

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