#CC56D1#CC56D1

#CC56D1 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 64.9% C 0.208 H 326.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CC56D1
RGBrgb(204, 86, 209)
HSLhsl(298, 57%, 58%)
HSVhsv(298, 59%, 82%)
CMYKcmyk(2.4%, 58.9%, 0%, 18%)
CIE-LABlab(56.19, 62.72, -42.08)
CIE-LCHlch(56.19, 75.53, 326.14°)
OKLaboklab(64.89% 0.1726 -0.1163)
OKLCHoklch(64.89% 0.208 326)
XYZxyz(39.7374, 24.0988, 62.8677)
Luminance0.2410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56D1 #5BD156
analogous
#8E56D1 #CC56D1 #D15698
triadic
#CC56D1 #D1CC56 #56D1CC
tetradic
#CC56D1 #D18E56 #5BD156 #5698D1
square
#CC56D1 #D18E56 #5BD156 #5698D1
split-complementary
#CC56D1 #98D156 #56D18E
monochromatic
#842588 #B232B8 #CC56D1 #DB86DE #E9B6EB

Accessibility & contrast

On white

3.61
#CC56D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CC56D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56D1
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56D1#FFFFFF#000000##000000
##CC56D11.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457DD5
Deuteranopia (green-blind)
#6E8CCE
Tritanopia (blue-blind)
#D1668C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc56d1;
/* rgb */ color: rgb(204, 86, 209);
/* oklch */ color: oklch(64.9% 0.208 326.0);
Tailwind
colors: {
  custom: {
    50: '#de8cdf',
    500: '#cc56d1',
    950: '#000000',
  },
}
SCSS
$custom: #cc56d1;
$custom-light: #de8cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56d1",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 209
  },
  "hsl": {
    "h": 297.561,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64886,
    "c": 0.20815,
    "h": 326
  },
  "luminance": 0.24096
}

Semantic roles & 50–950 ramp

primary
#CC56D1
secondary
#ABDAA9
accent
#E0474E
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CC56D1

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

Preview Lab → · Contrast checker → · Palette generator →

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