#CC57EF#CC57EF

#CC57EF is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.233 H 317.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CC57EF
RGBrgb(204, 87, 239)
HSLhsl(286, 83%, 64%)
HSVhsv(286, 64%, 94%)
CMYKcmyk(14.6%, 63.6%, 0%, 6.3%)
CIE-LABlab(57.93, 67.80, -56.20)
CIE-LCHlch(57.93, 88.06, 320.34°)
OKLaboklab(66.66% 0.1724 -0.1574)
OKLCHoklch(66.66% 0.233 317.6)
XYZxyz(43.8878, 25.8875, 84.3296)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57EF #7AEF57
analogous
#8057EF #CC57EF #EF57C6
triadic
#CC57EF #EFCC57 #57EFCC
tetradic
#CC57EF #EF8057 #7AEF57 #57C6EF
square
#CC57EF #EF8057 #7AEF57 #57C6EF
split-complementary
#CC57EF #C6EF57 #57EF80
monochromatic
#9312BA #BB1FEA #CC57EF #DD8FF4 #EEC7FA

Accessibility & contrast

On white

3.40
#CC57EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CC57EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57EF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57EF#FFFFFF#000000##000000
##CC57EF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2184F4
Deuteranopia (green-blind)
#5C8FEB
Tritanopia (blue-blind)
#CB729C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc57ef;
/* rgb */ color: rgb(204, 87, 239);
/* oklch */ color: oklch(66.7% 0.233 317.6);
Tailwind
colors: {
  custom: {
    50: '#df8ef5',
    500: '#cc57ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc57ef;
$custom-light: #df8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57ef",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 286.184,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66663,
    "c": 0.23341,
    "h": 317.6
  },
  "luminance": 0.25886
}

Semantic roles & 50–950 ramp

primary
#CC57EF
secondary
#C3ECB6
accent
#DF0638
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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