#CC56DD#CC56DD

#CC56DD is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.5% C 0.219 H 322.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CC56DD
RGBrgb(204, 86, 221)
HSLhsl(292, 67%, 60%)
HSVhsv(292, 61%, 87%)
CMYKcmyk(7.7%, 61.1%, 0%, 13.3%)
CIE-LABlab(56.80, 64.87, -47.91)
CIE-LCHlch(56.80, 80.64, 323.55°)
OKLaboklab(65.53% 0.1733 -0.1332)
OKLCHoklch(65.53% 0.219 322.5)
XYZxyz(41.2794, 24.7156, 70.9888)
Luminance0.2471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56DD #67DD56
analogous
#8856DD #CC56DD #DD56AB
triadic
#CC56DD #DDCC56 #56DDCC
tetradic
#CC56DD #DD8856 #67DD56 #56ABDD
square
#CC56DD #DD8856 #67DD56 #56ABDD
split-complementary
#CC56DD #ABDD56 #56DD88
monochromatic
#8A1F9A #B829CD #CC56DD #DB89E7 #EBBCF2

Accessibility & contrast

On white

3.53
#CC56DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CC56DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56DD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56DD#FFFFFF#000000##000000
##CC56DD1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A80E1
Deuteranopia (green-blind)
#688DD9
Tritanopia (blue-blind)
#CF6B92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc56dd;
/* rgb */ color: rgb(204, 86, 221);
/* oklch */ color: oklch(65.5% 0.219 322.5);
Tailwind
colors: {
  custom: {
    50: '#df8de8',
    500: '#cc56dd',
    950: '#000000',
  },
}
SCSS
$custom: #cc56dd;
$custom-light: #df8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56dd",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 292.444,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65528,
    "c": 0.2186,
    "h": 322.5
  },
  "luminance": 0.24713
}

Semantic roles & 50–950 ramp

primary
#CC56DD
secondary
#B4E1AE
accent
#CE172E
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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