#CD57E4#CD57E4

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

Color values

HEX#CD57E4
RGBrgb(205, 87, 228)
HSLhsl(290, 72%, 62%)
HSVhsv(290, 62%, 89%)
CMYKcmyk(10.1%, 61.8%, 0%, 10.6%)
CIE-LABlab(57.46, 65.96, -50.79)
CIE-LCHlch(57.46, 83.24, 322.40°)
OKLaboklab(66.16% 0.1735 -0.1416)
OKLCHoklch(66.16% 0.224 320.8)
XYZxyz(42.5870, 25.3990, 76.0430)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57E4 #6EE457
analogous
#8757E4 #CD57E4 #E457B5
triadic
#CD57E4 #E4CD57 #57E4CD
tetradic
#CD57E4 #E48757 #6EE457 #57B5E4
square
#CD57E4 #E48757 #6EE457 #57B5E4
split-complementary
#CD57E4 #B5E457 #57E487
monochromatic
#8F1BA6 #BD23DB #CD57E4 #DD8CEC #ECC0F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD57E4#FFFFFF#000000##000000
##CD57E41.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)
#3482E8
Deuteranopia (green-blind)
#658EE0
Tritanopia (blue-blind)
#CE6E96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd57e4;
/* rgb */ color: rgb(205, 87, 228);
/* oklch */ color: oklch(66.2% 0.224 320.8);
Tailwind
colors: {
  custom: {
    50: '#e08ded',
    500: '#cd57e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd57e4;
$custom-light: #e08ded;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57e4",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 290.213,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66158,
    "c": 0.22391,
    "h": 320.8
  },
  "luminance": 0.25397
}

Semantic roles & 50–950 ramp

primary
#CD57E4
secondary
#BAE6B1
accent
#D41131
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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