#CC57BC#CC57BC

#CC57BC is a light, vivid purple. Relative luminance 0.233; OKLCH L 64.0% C 0.189 H 333.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CC57BC
RGBrgb(204, 87, 188)
HSLhsl(308, 53%, 57%)
HSVhsv(308, 57%, 80%)
CMYKcmyk(0%, 57.4%, 7.8%, 20%)
CIE-LABlab(55.37, 58.74, -31.35)
CIE-LCHlch(55.37, 66.58, 331.91°)
OKLaboklab(63.97% 0.1689 -0.0855)
OKLCHoklch(63.97% 0.189 333.2)
XYZxyz(37.3872, 23.2873, 50.0929)
Luminance0.2329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57BC #57CC67
analogous
#A257CC #CC57BC #CC5782
triadic
#CC57BC #BCCC57 #57BCCC
tetradic
#CC57BC #CCA257 #57CC67 #5782CC
square
#CC57BC #CCA257 #57CC67 #5782CC
split-complementary
#CC57BC #82CC57 #57CCA2
monochromatic
#812775 #B0369F #CC57BC #DA86CF #E9B5E1

Accessibility & contrast

On white

3.71
#CC57BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CC57BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57BC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57BC#FFFFFF#000000##000000
##CC57BC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#547ABF
Deuteranopia (green-blind)
#788BB9
Tritanopia (blue-blind)
#D45F82
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc57bc;
/* rgb */ color: rgb(204, 87, 188);
/* oklch */ color: oklch(64.0% 0.189 333.2);
Tailwind
colors: {
  custom: {
    50: '#de8cd0',
    500: '#cc57bc',
    950: '#000000',
  },
}
SCSS
$custom: #cc57bc;
$custom-light: #de8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57bc",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 308.205,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63967,
    "c": 0.18932,
    "h": 333.2
  },
  "luminance": 0.23285
}

Semantic roles & 50–950 ramp

primary
#CC57BC
secondary
#A8D7AE
accent
#DD5F4B
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150D14
muted
#847D82

Preview Lab

Preview with #CC57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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