#CD57EA#CD57EA

#CD57EA is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.229 H 319.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CD57EA
RGBrgb(205, 87, 234)
HSLhsl(288, 78%, 63%)
HSVhsv(288, 63%, 92%)
CMYKcmyk(12.4%, 62.8%, 0%, 8.2%)
CIE-LABlab(57.79, 67.08, -53.63)
CIE-LCHlch(57.79, 85.88, 321.36°)
OKLaboklab(66.5% 0.1736 -0.1499)
OKLCHoklch(66.5% 0.229 319.2)
XYZxyz(43.4344, 25.7380, 80.5060)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57EA #74EA57
analogous
#8357EA #CD57EA #EA57BE
triadic
#CD57EA #EACD57 #57EACD
tetradic
#CD57EA #EA8357 #74EA57 #57BEEA
square
#CD57EA #EA8357 #74EA57 #57BEEA
split-complementary
#CD57EA #BEEA57 #57EA83
monochromatic
#9216B1 #BD21E3 #CD57EA #DD8DF1 #EDC4F8

Accessibility & contrast

On white

3.42
#CD57EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CD57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57EA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57EA#FFFFFF#000000##000000
##CD57EA1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EE
Deuteranopia (green-blind)
#618FE6
Tritanopia (blue-blind)
#CD7099
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd57ea;
/* rgb */ color: rgb(205, 87, 234);
/* oklch */ color: oklch(66.5% 0.229 319.2);
Tailwind
colors: {
  custom: {
    50: '#e08ef1',
    500: '#cd57ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd57ea;
$custom-light: #e08ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57ea",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 288.163,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66499,
    "c": 0.2293,
    "h": 319.2
  },
  "luminance": 0.25736
}

Semantic roles & 50–950 ramp

primary
#CD57EA
secondary
#BEE9B4
accent
#DA0B34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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