#CC56CB#CC56CB

#CC56CB is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.6% C 0.203 H 327.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CC56CB
RGBrgb(204, 86, 203)
HSLhsl(301, 54%, 57%)
HSVhsv(301, 58%, 80%)
CMYKcmyk(0%, 57.8%, 0.5%, 20%)
CIE-LABlab(55.89, 61.68, -39.12)
CIE-LCHlch(55.89, 73.04, 327.61°)
OKLaboklab(64.58% 0.1721 -0.1078)
OKLCHoklch(64.58% 0.203 327.9)
XYZxyz(39.0086, 23.8072, 59.0290)
Luminance0.2381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56CB #56CC57
analogous
#9256CC #CC56CB #CC5690
triadic
#CC56CB #CBCC56 #56CBCC
tetradic
#CC56CB #CC9256 #56CC57 #5690CC
square
#CC56CB #CC9256 #56CC57 #5690CC
split-complementary
#CC56CB #90CC56 #56CC92
monochromatic
#812780 #B035AF #CC56CB #DA85D9 #E8B4E8

Accessibility & contrast

On white

3.65
#CC56CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CC56CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56CB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56CB#FFFFFF#000000##000000
##CC56CB1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCF
Deuteranopia (green-blind)
#718BC8
Tritanopia (blue-blind)
#D26489
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc56cb;
/* rgb */ color: rgb(204, 86, 203);
/* oklch */ color: oklch(64.6% 0.203 327.9);
Tailwind
colors: {
  custom: {
    50: '#de8cdb',
    500: '#cc56cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc56cb;
$custom-light: #de8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56cb",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 300.508,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64578,
    "c": 0.20305,
    "h": 327.9
  },
  "luminance": 0.23805
}

Semantic roles & 50–950 ramp

primary
#CC56CB
secondary
#A7D7A7
accent
#DD4C4B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CC56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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