#CD57E9#CD57E9

#CD57E9 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.4% C 0.228 H 319.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#CD57E9
RGBrgb(205, 87, 233)
HSLhsl(288, 77%, 63%)
HSVhsv(288, 63%, 91%)
CMYKcmyk(12%, 62.7%, 0%, 8.6%)
CIE-LABlab(57.73, 66.89, -53.16)
CIE-LCHlch(57.73, 85.44, 321.52°)
OKLaboklab(66.44% 0.1735 -0.1485)
OKLCHoklch(66.44% 0.228 319.4)
XYZxyz(43.2911, 25.6807, 79.7515)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57E9 #73E957
analogous
#8457E9 #CD57E9 #E957BC
triadic
#CD57E9 #E9CD57 #57E9CD
tetradic
#CD57E9 #E98457 #73E957 #57BCE9
square
#CD57E9 #E98457 #73E957 #57BCE9
split-complementary
#CD57E9 #BCE957 #57E984
monochromatic
#9217AF #BD21E2 #CD57E9 #DD8DF0 #EDC3F7

Accessibility & contrast

On white

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

On black

6.14
#CD57E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57E9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57E9#FFFFFF#000000##000000
##CD57E91.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd57e9;
/* rgb */ color: rgb(205, 87, 233);
/* oklch */ color: oklch(66.4% 0.228 319.4);
Tailwind
colors: {
  custom: {
    50: '#e08ef1',
    500: '#cd57e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd57e9;
$custom-light: #e08ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57e9",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 288.493,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66441,
    "c": 0.2284,
    "h": 319.4
  },
  "luminance": 0.25679
}

Semantic roles & 50–950 ramp

primary
#CD57E9
secondary
#BEE8B3
accent
#D90C34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD57E9

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

Preview Lab → · Contrast checker → · Palette generator →

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