#CC57CE#CC57CE

#CC57CE is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 64.8% C 0.204 H 327.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CC57CE
RGBrgb(204, 87, 206)
HSLhsl(299, 55%, 57%)
HSVhsv(299, 58%, 81%)
CMYKcmyk(1%, 57.8%, 0%, 19.2%)
CIE-LABlab(56.20, 61.76, -40.35)
CIE-LCHlch(56.20, 73.78, 326.84°)
OKLaboklab(64.85% 0.1711 -0.1113)
OKLCHoklch(64.85% 0.204 327)
XYZxyz(39.4499, 24.1124, 60.9568)
Luminance0.2411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57CE #59CE57
analogous
#9157CE #CC57CE #CE5794
triadic
#CC57CE #CECC57 #57CECC
tetradic
#CC57CE #CE9157 #59CE57 #5794CE
square
#CC57CE #CE9157 #59CE57 #5794CE
split-complementary
#CC57CE #94CE57 #57CE91
monochromatic
#832784 #B134B3 #CC57CE #DA86DC #E9B6EA

Accessibility & contrast

On white

3.61
#CC57CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CC57CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57CE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57CE#FFFFFF#000000##000000
##CC57CE1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD2
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#D1668B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc57ce;
/* rgb */ color: rgb(204, 87, 206);
/* oklch */ color: oklch(64.8% 0.204 327.0);
Tailwind
colors: {
  custom: {
    50: '#de8ddd',
    500: '#cc57ce',
    950: '#000000',
  },
}
SCSS
$custom: #cc57ce;
$custom-light: #de8ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57ce",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 298.992,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64848,
    "c": 0.20416,
    "h": 327
  },
  "luminance": 0.2411
}

Semantic roles & 50–950 ramp

primary
#CC57CE
secondary
#A9D8A8
accent
#DE4A4C
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CC57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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