#CD57E8#CD57E8

#CD57E8 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.228 H 319.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CD57E8
RGBrgb(205, 87, 232)
HSLhsl(289, 76%, 63%)
HSVhsv(289, 63%, 91%)
CMYKcmyk(11.6%, 62.5%, 0%, 9%)
CIE-LABlab(57.68, 66.70, -52.69)
CIE-LCHlch(57.68, 85.00, 321.70°)
OKLaboklab(66.38% 0.1735 -0.1471)
OKLCHoklch(66.38% 0.228 319.7)
XYZxyz(43.1487, 25.6237, 79.0013)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57E8 #72E857
analogous
#8557E8 #CD57E8 #E857BA
triadic
#CD57E8 #E8CD57 #57E8CD
tetradic
#CD57E8 #E88557 #72E857 #57BAE8
square
#CD57E8 #E88557 #72E857 #57BAE8
split-complementary
#CD57E8 #BAE857 #57E885
monochromatic
#9118AD #BD21E1 #CD57E8 #DD8DEF #EDC3F7

Accessibility & contrast

On white

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

On black

6.12
#CD57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57E8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57E8#FFFFFF#000000##000000
##CD57E81.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EC
Deuteranopia (green-blind)
#628FE4
Tritanopia (blue-blind)
#CE6F98
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd57e8;
/* rgb */ color: rgb(205, 87, 232);
/* oklch */ color: oklch(66.4% 0.228 319.7);
Tailwind
colors: {
  custom: {
    50: '#e08ef0',
    500: '#cd57e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd57e8;
$custom-light: #e08ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57e8",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 288.828,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66384,
    "c": 0.2275,
    "h": 319.7
  },
  "luminance": 0.25622
}

Semantic roles & 50–950 ramp

primary
#CD57E8
secondary
#BDE8B3
accent
#D80D33
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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