#CD57E2#CD57E2

#CD57E2 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.0% C 0.222 H 321.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CD57E2
RGBrgb(205, 87, 226)
HSLhsl(291, 71%, 61%)
HSVhsv(291, 62%, 89%)
CMYKcmyk(9.3%, 61.5%, 0%, 11.4%)
CIE-LABlab(57.36, 65.59, -49.83)
CIE-LCHlch(57.36, 82.37, 322.77°)
OKLaboklab(66.05% 0.1734 -0.1388)
OKLCHoklch(66.05% 0.222 321.3)
XYZxyz(42.3110, 25.2886, 74.5893)
Luminance0.2529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57E2 #6CE257
analogous
#8857E2 #CD57E2 #E257B2
triadic
#CD57E2 #E2CD57 #57E2CD
tetradic
#CD57E2 #E28857 #6CE257 #57B2E2
square
#CD57E2 #E28857 #6CE257 #57B2E2
split-complementary
#CD57E2 #B2E257 #57E288
monochromatic
#8E1CA3 #BC25D7 #CD57E2 #DD8BEB #ECBFF4

Accessibility & contrast

On white

3.47
#CD57E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CD57E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57E2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57E2#FFFFFF#000000##000000
##CD57E21.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E6
Deuteranopia (green-blind)
#668EDE
Tritanopia (blue-blind)
#CF6D95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd57e2;
/* rgb */ color: rgb(205, 87, 226);
/* oklch */ color: oklch(66.0% 0.222 321.3);
Tailwind
colors: {
  custom: {
    50: '#df8dec',
    500: '#cd57e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd57e2;
$custom-light: #df8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57e2",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 290.935,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66047,
    "c": 0.22213,
    "h": 321.3
  },
  "luminance": 0.25287
}

Semantic roles & 50–950 ramp

primary
#CD57E2
secondary
#B8E4B0
accent
#D31330
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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