#CC56BC#CC56BC

#CC56BC is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.8% C 0.191 H 333.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CC56BC
RGBrgb(204, 86, 188)
HSLhsl(308, 54%, 57%)
HSVhsv(308, 58%, 80%)
CMYKcmyk(0%, 57.8%, 7.8%, 20%)
CIE-LABlab(55.20, 59.18, -31.61)
CIE-LCHlch(55.20, 67.09, 331.90°)
OKLaboklab(63.85% 0.1702 -0.0862)
OKLCHoklch(63.85% 0.191 333.1)
XYZxyz(37.3068, 23.1265, 50.0661)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56BC #56CC66
analogous
#A156CC #CC56BC #CC5681
triadic
#CC56BC #BCCC56 #56BCCC
tetradic
#CC56BC #CCA156 #56CC66 #5681CC
square
#CC56BC #CCA156 #56CC66 #5681CC
split-complementary
#CC56BC #81CC56 #56CCA1
monochromatic
#812775 #B0359F #CC56BC #DA85CF #E8B4E1

Accessibility & contrast

On white

3.73
#CC56BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CC56BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56BC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56BC#FFFFFF#000000##000000
##CC56BC1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#788AB9
Tritanopia (blue-blind)
#D45F81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc56bc;
/* rgb */ color: rgb(204, 86, 188);
/* oklch */ color: oklch(63.8% 0.191 333.1);
Tailwind
colors: {
  custom: {
    50: '#de8cd0',
    500: '#cc56bc',
    950: '#000000',
  },
}
SCSS
$custom: #cc56bc;
$custom-light: #de8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56bc",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 308.136,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63846,
    "c": 0.1908,
    "h": 333.1
  },
  "luminance": 0.23124
}

Semantic roles & 50–950 ramp

primary
#CC56BC
secondary
#A7D7AD
accent
#DD5F4B
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C14
muted
#847D82

Preview Lab

Preview with #CC56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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