#CC55CC#CC55CC

#CC55CC is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.5% C 0.205 H 327.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CC55CC
RGBrgb(204, 85, 204)
HSLhsl(300, 54%, 57%)
HSVhsv(300, 58%, 80%)
CMYKcmyk(0%, 58.3%, 0%, 20%)
CIE-LABlab(55.78, 62.29, -39.87)
CIE-LCHlch(55.78, 73.96, 327.38°)
OKLaboklab(64.51% 0.1734 -0.1099)
OKLCHoklch(64.51% 0.205 327.6)
XYZxyz(39.0488, 23.6965, 59.6322)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC55CC #55CC55
analogous
#9155CC #CC55CC #CC5591
triadic
#CC55CC #CCCC55 #55CCCC
tetradic
#CC55CC #CC9155 #55CC55 #5591CC
square
#CC55CC #CC9155 #55CC55 #5591CC
split-complementary
#CC55CC #91CC55 #55CC91
monochromatic
#802680 #AF35AF #CC55CC #DA84DA #E8B3E8

Accessibility & contrast

On white

3.66
#CC55CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CC55CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC55CC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC55CC#FFFFFF#000000##000000
##CC55CC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD0
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#D26489
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc55cc;
/* rgb */ color: rgb(204, 85, 204);
/* oklch */ color: oklch(64.5% 0.205 327.6);
Tailwind
colors: {
  custom: {
    50: '#de8cdc',
    500: '#cc55cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc55cc;
$custom-light: #de8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc55cc",
  "rgb": {
    "r": 204,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64512,
    "c": 0.20532,
    "h": 327.6
  },
  "luminance": 0.23694
}

Semantic roles & 50–950 ramp

primary
#CC55CC
secondary
#A6D7A6
accent
#DD4B4B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CC55CC

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

Preview Lab → · Contrast checker → · Palette generator →

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