#CC56BB#CC56BB

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

Color values

HEX#CC56BB
RGBrgb(204, 86, 187)
HSLhsl(309, 54%, 57%)
HSVhsv(309, 58%, 80%)
CMYKcmyk(0%, 57.8%, 8.3%, 20%)
CIE-LABlab(55.16, 59.02, -31.10)
CIE-LCHlch(55.16, 66.71, 332.22°)
OKLaboklab(63.8% 0.1701 -0.0848)
OKLCHoklch(63.8% 0.19 333.5)
XYZxyz(37.1993, 23.0835, 49.5004)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56BB #56CC67
analogous
#A256CC #CC56BB #CC5680
triadic
#CC56BB #BBCC56 #56BBCC
tetradic
#CC56BB #CCA256 #56CC67 #5680CC
square
#CC56BB #CCA256 #56CC67 #5680CC
split-complementary
#CC56BB #80CC56 #56CCA2
monochromatic
#812774 #B0359E #CC56BB #DA85CE #E8B4E1

Accessibility & contrast

On white

3.74
#CC56BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC56BB#FFFFFF#000000##000000
##CC56BB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#788AB8
Tritanopia (blue-blind)
#D55E81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc56bb;
/* rgb */ color: rgb(204, 86, 187);
/* oklch */ color: oklch(63.8% 0.190 333.5);
Tailwind
colors: {
  custom: {
    50: '#de8ccf',
    500: '#cc56bb',
    950: '#000000',
  },
}
SCSS
$custom: #cc56bb;
$custom-light: #de8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56bb",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 308.644,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63799,
    "c": 0.19001,
    "h": 333.5
  },
  "luminance": 0.23081
}

Semantic roles & 50–950 ramp

primary
#CC56BB
secondary
#A7D7AE
accent
#DD604B
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C14
muted
#847D82

Preview Lab

Preview with #CC56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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