#CD57ED#CD57ED

#CD57ED is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.232 H 318.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CD57ED
RGBrgb(205, 87, 237)
HSLhsl(287, 81%, 64%)
HSVhsv(287, 63%, 93%)
CMYKcmyk(13.5%, 63.3%, 0%, 7.1%)
CIE-LABlab(57.95, 67.64, -55.04)
CIE-LCHlch(57.95, 87.21, 320.86°)
OKLaboklab(66.67% 0.1735 -0.154)
OKLCHoklch(66.67% 0.232 318.4)
XYZxyz(43.8690, 25.9118, 82.7950)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57ED #77ED57
analogous
#8257ED #CD57ED #ED57C2
triadic
#CD57ED #EDCD57 #57EDCD
tetradic
#CD57ED #ED8257 #77ED57 #57C2ED
square
#CD57ED #ED8257 #77ED57 #57C2ED
split-complementary
#CD57ED #C2ED57 #57ED82
monochromatic
#9314B6 #BD20E7 #CD57ED #DD8EF3 #EEC6F9

Accessibility & contrast

On white

3.40
#CD57ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CD57ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57ED
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57ED#FFFFFF#000000##000000
##CD57ED1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F2
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#CD719B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd57ed;
/* rgb */ color: rgb(205, 87, 237);
/* oklch */ color: oklch(66.7% 0.232 318.4);
Tailwind
colors: {
  custom: {
    50: '#e08ef3',
    500: '#cd57ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd57ed;
$custom-light: #e08ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57ed",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 287.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66672,
    "c": 0.23201,
    "h": 318.4
  },
  "luminance": 0.2591
}

Semantic roles & 50–950 ramp

primary
#CD57ED
secondary
#C1EAB5
accent
#DD0936
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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