#CC56D5#CC56D5

#CC56D5 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.1% C 0.212 H 324.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CC56D5
RGBrgb(204, 86, 213)
HSLhsl(296, 60%, 59%)
HSVhsv(296, 60%, 84%)
CMYKcmyk(4.2%, 59.6%, 0%, 16.5%)
CIE-LABlab(56.39, 63.43, -44.04)
CIE-LCHlch(56.39, 77.22, 325.23°)
OKLaboklab(65.1% 0.1729 -0.122)
OKLCHoklch(65.1% 0.212 324.8)
XYZxyz(40.2389, 24.2993, 65.5086)
Luminance0.2430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56D5 #5FD556
analogous
#8C56D5 #CC56D5 #D5569E
triadic
#CC56D5 #D5CC56 #56D5CC
tetradic
#CC56D5 #D58C56 #5FD556 #569ED5
square
#CC56D5 #D58C56 #5FD556 #569ED5
split-complementary
#CC56D5 #9ED556 #56D58C
monochromatic
#86238D #B42FBE #CC56D5 #DB87E1 #EAB8ED

Accessibility & contrast

On white

3.58
#CC56D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CC56D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56D5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56D5#FFFFFF#000000##000000
##CC56D51.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#417ED9
Deuteranopia (green-blind)
#6C8CD2
Tritanopia (blue-blind)
#D0688E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc56d5;
/* rgb */ color: rgb(204, 86, 213);
/* oklch */ color: oklch(65.1% 0.212 324.8);
Tailwind
colors: {
  custom: {
    50: '#df8ce2',
    500: '#cc56d5',
    950: '#000000',
  },
}
SCSS
$custom: #cc56d5;
$custom-light: #df8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56d5",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 213
  },
  "hsl": {
    "h": 295.748,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65096,
    "c": 0.2116,
    "h": 324.8
  },
  "luminance": 0.24297
}

Semantic roles & 50–950 ramp

primary
#CC56D5
secondary
#AEDDAA
accent
#E34450
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CC56D5

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

Preview Lab → · Contrast checker → · Palette generator →

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