#CC56BA#CC56BA

#CC56BA is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.8% C 0.189 H 333.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CC56BA
RGBrgb(204, 86, 186)
HSLhsl(309, 54%, 57%)
HSVhsv(309, 58%, 80%)
CMYKcmyk(0%, 57.8%, 8.8%, 20%)
CIE-LABlab(55.11, 58.86, -30.59)
CIE-LCHlch(55.11, 66.33, 332.54°)
OKLaboklab(63.75% 0.1699 -0.0833)
OKLCHoklch(63.75% 0.189 333.9)
XYZxyz(37.0927, 23.0408, 48.9385)
Luminance0.2304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56BA #56CC68
analogous
#A356CC #CC56BA #CC567F
triadic
#CC56BA #BACC56 #56BACC
tetradic
#CC56BA #CCA356 #56CC68 #567FCC
square
#CC56BA #CCA356 #56CC68 #567FCC
split-complementary
#CC56BA #7FCC56 #56CCA3
monochromatic
#812773 #B0359D #CC56BA #DA85CD #E8B4E0

Accessibility & contrast

On white

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

On black

5.61
#CC56BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56BA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56BA#FFFFFF#000000##000000
##CC56BA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#798AB7
Tritanopia (blue-blind)
#D55E80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc56ba;
/* rgb */ color: rgb(204, 86, 186);
/* oklch */ color: oklch(63.8% 0.189 333.9);
Tailwind
colors: {
  custom: {
    50: '#de8ccf',
    500: '#cc56ba',
    950: '#000000',
  },
}
SCSS
$custom: #cc56ba;
$custom-light: #de8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56ba",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 309.153,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63752,
    "c": 0.18923,
    "h": 333.9
  },
  "luminance": 0.23038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC56BA

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

Preview Lab → · Contrast checker → · Palette generator →

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