#CD57EB#CD57EB

#CD57EB is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.6% C 0.230 H 318.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CD57EB
RGBrgb(205, 87, 235)
HSLhsl(288, 79%, 63%)
HSVhsv(288, 63%, 92%)
CMYKcmyk(12.8%, 63%, 0%, 7.8%)
CIE-LABlab(57.84, 67.26, -54.10)
CIE-LCHlch(57.84, 86.32, 321.19°)
OKLaboklab(66.56% 0.1736 -0.1512)
OKLCHoklch(66.56% 0.23 318.9)
XYZxyz(43.5785, 25.7956, 81.2647)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57EB #75EB57
analogous
#8357EB #CD57EB #EB57BF
triadic
#CD57EB #EBCD57 #57EBCD
tetradic
#CD57EB #EB8357 #75EB57 #57BFEB
square
#CD57EB #EB8357 #75EB57 #57BFEB
split-complementary
#CD57EB #BFEB57 #57EB83
monochromatic
#9315B2 #BD20E4 #CD57EB #DD8EF2 #EEC4F8

Accessibility & contrast

On white

3.41
#CD57EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CD57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57EB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57EB#FFFFFF#000000##000000
##CD57EB1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EF
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#CD709A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd57eb;
/* rgb */ color: rgb(205, 87, 235);
/* oklch */ color: oklch(66.6% 0.230 318.9);
Tailwind
colors: {
  custom: {
    50: '#e08ef2',
    500: '#cd57eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd57eb;
$custom-light: #e08ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57eb",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 287.838,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66556,
    "c": 0.2302,
    "h": 318.9
  },
  "luminance": 0.25794
}

Semantic roles & 50–950 ramp

primary
#CD57EB
secondary
#BFE9B4
accent
#DB0A35
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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