#CC57C8#CC57C8

#CC57C8 is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.5% C 0.199 H 328.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CC57C8
RGBrgb(204, 87, 200)
HSLhsl(302, 53%, 57%)
HSVhsv(302, 57%, 80%)
CMYKcmyk(0%, 57.4%, 2%, 20%)
CIE-LABlab(55.91, 60.73, -37.38)
CIE-LCHlch(55.91, 71.31, 328.39°)
OKLaboklab(64.55% 0.1705 -0.1028)
OKLCHoklch(64.55% 0.199 328.9)
XYZxyz(38.7349, 23.8264, 57.1911)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57C8 #57CC5B
analogous
#9557CC #CC57C8 #CC578E
triadic
#CC57C8 #C8CC57 #57C8CC
tetradic
#CC57C8 #CC9557 #57CC5B #578ECC
square
#CC57C8 #CC9557 #57CC5B #578ECC
split-complementary
#CC57C8 #8ECC57 #57CC95
monochromatic
#81277E #B036AC #CC57C8 #DA86D7 #E9B5E7

Accessibility & contrast

On white

3.64
#CC57C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CC57C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57C8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57C8#FFFFFF#000000##000000
##CC57C81.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7CCC
Deuteranopia (green-blind)
#738CC5
Tritanopia (blue-blind)
#D26488
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc57c8;
/* rgb */ color: rgb(204, 87, 200);
/* oklch */ color: oklch(64.5% 0.199 328.9);
Tailwind
colors: {
  custom: {
    50: '#de8dd9',
    500: '#cc57c8',
    950: '#000000',
  },
}
SCSS
$custom: #cc57c8;
$custom-light: #de8dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57c8",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 302.051,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64545,
    "c": 0.19909,
    "h": 328.9
  },
  "luminance": 0.23824
}

Semantic roles & 50–950 ramp

primary
#CC57C8
secondary
#A8D7A9
accent
#DD504B
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150D14
muted
#847D83

Preview Lab

Preview with #CC57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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