#CC57E7#CC57E7

#CC57E7 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.226 H 319.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CC57E7
RGBrgb(204, 87, 231)
HSLhsl(289, 75%, 62%)
HSVhsv(289, 62%, 91%)
CMYKcmyk(11.7%, 62.3%, 0%, 9.4%)
CIE-LABlab(57.49, 66.28, -52.44)
CIE-LCHlch(57.49, 84.52, 321.65°)
OKLaboklab(66.2% 0.1724 -0.1464)
OKLCHoklch(66.2% 0.226 319.7)
XYZxyz(42.7320, 25.4252, 78.2425)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57E7 #72E757
analogous
#8457E7 #CC57E7 #E757BA
triadic
#CC57E7 #E7CC57 #57E7CC
tetradic
#CC57E7 #E78457 #72E757 #57BAE7
square
#CC57E7 #E78457 #72E757 #57BAE7
split-complementary
#CC57E7 #BAE757 #57E784
monochromatic
#9018AB #BC21DF #CC57E7 #DC8DEF #EDC2F6

Accessibility & contrast

On white

3.45
#CC57E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CC57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57E7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57E7#FFFFFF#000000##000000
##CC57E71.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EB
Deuteranopia (green-blind)
#628EE3
Tritanopia (blue-blind)
#CD6F97
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc57e7;
/* rgb */ color: rgb(204, 87, 231);
/* oklch */ color: oklch(66.2% 0.226 319.7);
Tailwind
colors: {
  custom: {
    50: '#df8def',
    500: '#cc57e7',
    950: '#000000',
  },
}
SCSS
$custom: #cc57e7;
$custom-light: #df8def;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57e7",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 288.75,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66201,
    "c": 0.22617,
    "h": 319.7
  },
  "luminance": 0.25423
}

Semantic roles & 50–950 ramp

primary
#CC57E7
secondary
#BCE7B3
accent
#D70E34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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