#CD57E3#CD57E3

#CD57E3 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.1% C 0.223 H 321.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CD57E3
RGBrgb(205, 87, 227)
HSLhsl(291, 71%, 62%)
HSVhsv(291, 62%, 89%)
CMYKcmyk(9.7%, 61.7%, 0%, 11%)
CIE-LABlab(57.41, 65.77, -50.31)
CIE-LCHlch(57.41, 82.81, 322.59°)
OKLaboklab(66.1% 0.1735 -0.1402)
OKLCHoklch(66.1% 0.223 321.1)
XYZxyz(42.4486, 25.3437, 75.3140)
Luminance0.2534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57E3 #6DE357
analogous
#8757E3 #CD57E3 #E357B3
triadic
#CD57E3 #E3CD57 #57E3CD
tetradic
#CD57E3 #E38757 #6DE357 #57B3E3
square
#CD57E3 #E38757 #6DE357 #57B3E3
split-complementary
#CD57E3 #B3E357 #57E387
monochromatic
#8F1BA4 #BC24D9 #CD57E3 #DD8BEC #ECC0F4

Accessibility & contrast

On white

3.46
#CD57E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CD57E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57E3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57E3#FFFFFF#000000##000000
##CD57E31.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3581E7
Deuteranopia (green-blind)
#658EDF
Tritanopia (blue-blind)
#CF6D95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd57e3;
/* rgb */ color: rgb(205, 87, 227);
/* oklch */ color: oklch(66.1% 0.223 321.1);
Tailwind
colors: {
  custom: {
    50: '#e08dec',
    500: '#cd57e3',
    950: '#000000',
  },
}
SCSS
$custom: #cd57e3;
$custom-light: #e08dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57e3",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 290.571,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66102,
    "c": 0.22302,
    "h": 321.1
  },
  "luminance": 0.25342
}

Semantic roles & 50–950 ramp

primary
#CD57E3
secondary
#B9E5B1
accent
#D31230
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD57E3

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

Preview Lab → · Contrast checker → · Palette generator →

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