#CC56CD#CC56CD

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

Color values

HEX#CC56CD
RGBrgb(204, 86, 205)
HSLhsl(299, 54%, 57%)
HSVhsv(299, 58%, 80%)
CMYKcmyk(0.5%, 58%, 0%, 19.6%)
CIE-LABlab(55.99, 62.03, -40.11)
CIE-LCHlch(55.99, 73.87, 327.11°)
OKLaboklab(64.68% 0.1723 -0.1106)
OKLCHoklch(64.68% 0.205 327.3)
XYZxyz(39.2484, 23.9032, 60.2923)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56CD #57CD56
analogous
#9156CD #CC56CD #CD5693
triadic
#CC56CD #CDCC56 #56CDCC
tetradic
#CC56CD #CD9156 #57CD56 #5693CD
square
#CC56CD #CD9156 #57CD56 #5693CD
split-complementary
#CC56CD #93CD56 #56CD91
monochromatic
#812682 #B034B1 #CC56CD #DA85DB #E9B4E9

Accessibility & contrast

On white

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

On black

5.78
#CC56CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56CD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56CD#FFFFFF#000000##000000
##CC56CD1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD1
Deuteranopia (green-blind)
#708CCA
Tritanopia (blue-blind)
#D2658A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc56cd;
/* rgb */ color: rgb(204, 86, 205);
/* oklch */ color: oklch(64.7% 0.205 327.3);
Tailwind
colors: {
  custom: {
    50: '#de8cdc',
    500: '#cc56cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc56cd;
$custom-light: #de8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56cd",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 299.496,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6468,
    "c": 0.20474,
    "h": 327.3
  },
  "luminance": 0.23901
}

Semantic roles & 50–950 ramp

primary
#CC56CD
secondary
#A8D8A7
accent
#DE4A4B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CC56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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