#CC57BD#CC57BD

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

Color values

HEX#CC57BD
RGBrgb(204, 87, 189)
HSLhsl(308, 53%, 57%)
HSVhsv(308, 57%, 80%)
CMYKcmyk(0%, 57.4%, 7.4%, 20%)
CIE-LABlab(55.41, 58.90, -31.86)
CIE-LCHlch(55.41, 66.96, 331.59°)
OKLaboklab(64.01% 0.1691 -0.0869)
OKLCHoklch(64.01% 0.19 332.8)
XYZxyz(37.4953, 23.3306, 50.6626)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57BD #57CC66
analogous
#A057CC #CC57BD #CC5783
triadic
#CC57BD #BDCC57 #57BDCC
tetradic
#CC57BD #CCA057 #57CC66 #5783CC
square
#CC57BD #CCA057 #57CC66 #5783CC
split-complementary
#CC57BD #83CC57 #57CCA0
monochromatic
#812776 #B036A1 #CC57BD #DA86CF #E9B5E2

Accessibility & contrast

On white

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

On black

5.67
#CC57BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57BD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57BD#FFFFFF#000000##000000
##CC57BD1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#788BBA
Tritanopia (blue-blind)
#D46082
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc57bd;
/* rgb */ color: rgb(204, 87, 189);
/* oklch */ color: oklch(64.0% 0.190 332.8);
Tailwind
colors: {
  custom: {
    50: '#de8cd1',
    500: '#cc57bd',
    950: '#000000',
  },
}
SCSS
$custom: #cc57bd;
$custom-light: #de8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57bd",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 307.692,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64013,
    "c": 0.19011,
    "h": 332.8
  },
  "luminance": 0.23328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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