#CD57E5#CD57E5

#CD57E5 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.2% C 0.225 H 320.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CD57E5
RGBrgb(205, 87, 229)
HSLhsl(290, 73%, 62%)
HSVhsv(290, 62%, 90%)
CMYKcmyk(10.5%, 62%, 0%, 10.2%)
CIE-LABlab(57.52, 66.14, -51.26)
CIE-LCHlch(57.52, 83.68, 322.22°)
OKLaboklab(66.21% 0.1735 -0.143)
OKLCHoklch(66.21% 0.225 320.5)
XYZxyz(42.7262, 25.4547, 76.7762)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57E5 #6FE557
analogous
#8657E5 #CD57E5 #E557B6
triadic
#CD57E5 #E5CD57 #57E5CD
tetradic
#CD57E5 #E58657 #6FE557 #57B6E5
square
#CD57E5 #E58657 #6FE557 #57B6E5
split-complementary
#CD57E5 #B6E557 #57E586
monochromatic
#901AA8 #BD22DD #CD57E5 #DD8CED #EDC1F5

Accessibility & contrast

On white

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

On black

6.09
#CD57E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57E5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57E5#FFFFFF#000000##000000
##CD57E51.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3382E9
Deuteranopia (green-blind)
#648EE1
Tritanopia (blue-blind)
#CE6E96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd57e5;
/* rgb */ color: rgb(205, 87, 229);
/* oklch */ color: oklch(66.2% 0.225 320.5);
Tailwind
colors: {
  custom: {
    50: '#e08dee',
    500: '#cd57e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd57e5;
$custom-light: #e08dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57e5",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 289.859,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66214,
    "c": 0.22481,
    "h": 320.5
  },
  "luminance": 0.25453
}

Semantic roles & 50–950 ramp

primary
#CD57E5
secondary
#BBE6B2
accent
#D51032
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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