#CC56CE#CC56CE

#CC56CE is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.7% C 0.206 H 327.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CC56CE
RGBrgb(204, 86, 206)
HSLhsl(299, 55%, 57%)
HSVhsv(299, 58%, 81%)
CMYKcmyk(1%, 58.3%, 0%, 19.2%)
CIE-LABlab(56.04, 62.20, -40.61)
CIE-LCHlch(56.04, 74.28, 326.86°)
OKLaboklab(64.73% 0.1724 -0.112)
OKLCHoklch(64.73% 0.206 327)
XYZxyz(39.3695, 23.9516, 60.9300)
Luminance0.2395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56CE #58CE56
analogous
#9056CE #CC56CE #CE5694
triadic
#CC56CE #CECC56 #56CECC
tetradic
#CC56CE #CE9056 #58CE56 #5694CE
square
#CC56CE #CE9056 #58CE56 #5694CE
split-complementary
#CC56CE #94CE56 #56CE90
monochromatic
#822683 #B134B3 #CC56CE #DA85DC #E9B5EA

Accessibility & contrast

On white

3.63
#CC56CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CC56CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56CE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56CE#FFFFFF#000000##000000
##CC56CE1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD2
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#D1658A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc56ce;
/* rgb */ color: rgb(204, 86, 206);
/* oklch */ color: oklch(64.7% 0.206 327.0);
Tailwind
colors: {
  custom: {
    50: '#de8cdd',
    500: '#cc56ce',
    950: '#000000',
  },
}
SCSS
$custom: #cc56ce;
$custom-light: #de8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56ce",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 299,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64731,
    "c": 0.20559,
    "h": 327
  },
  "luminance": 0.23949
}

Semantic roles & 50–950 ramp

primary
#CC56CE
secondary
#A8D8A8
accent
#DE494C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CC56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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