#CC57EB#CC57EB

#CC57EB is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.4% C 0.230 H 318.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CC57EB
RGBrgb(204, 87, 235)
HSLhsl(287, 79%, 63%)
HSVhsv(287, 63%, 92%)
CMYKcmyk(13.2%, 63%, 0%, 7.8%)
CIE-LABlab(57.71, 67.04, -54.33)
CIE-LCHlch(57.71, 86.28, 320.98°)
OKLaboklab(66.43% 0.1724 -0.1519)
OKLCHoklch(66.43% 0.23 318.6)
XYZxyz(43.3034, 25.6538, 81.2518)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57EB #76EB57
analogous
#8257EB #CC57EB #EB57C0
triadic
#CC57EB #EBCC57 #57EBCC
tetradic
#CC57EB #EB8257 #76EB57 #57C0EB
square
#CC57EB #EB8257 #76EB57 #57C0EB
split-complementary
#CC57EB #C0EB57 #57EB82
monochromatic
#9115B2 #BB20E4 #CC57EB #DD8EF2 #EDC4F8

Accessibility & contrast

On white

3.43
#CC57EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CC57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57EB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57EB#FFFFFF#000000##000000
##CC57EB1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#5F8FE7
Tritanopia (blue-blind)
#CC719A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc57eb;
/* rgb */ color: rgb(204, 87, 235);
/* oklch */ color: oklch(66.4% 0.230 318.6);
Tailwind
colors: {
  custom: {
    50: '#df8ef2',
    500: '#cc57eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc57eb;
$custom-light: #df8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57eb",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 287.432,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6643,
    "c": 0.22978,
    "h": 318.6
  },
  "luminance": 0.25652
}

Semantic roles & 50–950 ramp

primary
#CC57EB
secondary
#BFE9B4
accent
#DB0A36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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