#CC56CC#CC56CC

#CC56CC is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.6% C 0.204 H 327.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CC56CC
RGBrgb(204, 86, 204)
HSLhsl(300, 54%, 57%)
HSVhsv(300, 58%, 80%)
CMYKcmyk(0%, 57.8%, 0%, 20%)
CIE-LABlab(55.94, 61.86, -39.62)
CIE-LCHlch(55.94, 73.46, 327.36°)
OKLaboklab(64.63% 0.1722 -0.1092)
OKLCHoklch(64.63% 0.204 327.6)
XYZxyz(39.1281, 23.8550, 59.6586)
Luminance0.2385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56CC #56CC56
analogous
#9156CC #CC56CC #CC5691
triadic
#CC56CC #CCCC56 #56CCCC
tetradic
#CC56CC #CC9156 #56CC56 #5691CC
square
#CC56CC #CC9156 #56CC56 #5691CC
split-complementary
#CC56CC #91CC56 #56CC91
monochromatic
#812781 #B035B0 #CC56CC #DA85DA #E8B4E8

Accessibility & contrast

On white

3.64
#CC56CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CC56CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56CC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56CC#FFFFFF#000000##000000
##CC56CC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CD0
Deuteranopia (green-blind)
#718CC9
Tritanopia (blue-blind)
#D26489
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc56cc;
/* rgb */ color: rgb(204, 86, 204);
/* oklch */ color: oklch(64.6% 0.204 327.6);
Tailwind
colors: {
  custom: {
    50: '#de8cdc',
    500: '#cc56cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc56cc;
$custom-light: #de8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56cc",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64629,
    "c": 0.20389,
    "h": 327.6
  },
  "luminance": 0.23853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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