#CC56C8#CC56C8

#CC56C8 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.4% C 0.201 H 328.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CC56C8
RGBrgb(204, 86, 200)
HSLhsl(302, 54%, 57%)
HSVhsv(302, 58%, 80%)
CMYKcmyk(0%, 57.8%, 2%, 20%)
CIE-LABlab(55.75, 61.17, -37.63)
CIE-LCHlch(55.75, 71.82, 328.40°)
OKLaboklab(64.43% 0.1718 -0.1035)
OKLCHoklch(64.43% 0.201 328.9)
XYZxyz(38.6545, 23.6656, 57.1643)
Luminance0.2366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56C8 #56CC5A
analogous
#9556CC #CC56C8 #CC568D
triadic
#CC56C8 #C8CC56 #56C8CC
tetradic
#CC56C8 #CC9556 #56CC5A #568DCC
square
#CC56C8 #CC9556 #56CC5A #568DCC
split-complementary
#CC56C8 #8DCC56 #56CC95
monochromatic
#81277E #B035AC #CC56C8 #DA85D7 #E8B4E7

Accessibility & contrast

On white

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

On black

5.73
#CC56C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56C8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56C8#FFFFFF#000000##000000
##CC56C81.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCC
Deuteranopia (green-blind)
#738BC5
Tritanopia (blue-blind)
#D26387
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc56c8;
/* rgb */ color: rgb(204, 86, 200);
/* oklch */ color: oklch(64.4% 0.201 328.9);
Tailwind
colors: {
  custom: {
    50: '#de8cd9',
    500: '#cc56c8',
    950: '#000000',
  },
}
SCSS
$custom: #cc56c8;
$custom-light: #de8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56c8",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 302.034,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64427,
    "c": 0.20054,
    "h": 328.9
  },
  "luminance": 0.23663
}

Semantic roles & 50–950 ramp

primary
#CC56C8
secondary
#A7D7A8
accent
#DD504B
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #CC56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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