#CD57E7#CD57E7

#CD57E7 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.3% C 0.227 H 320.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CD57E7
RGBrgb(205, 87, 231)
HSLhsl(289, 75%, 62%)
HSVhsv(289, 62%, 91%)
CMYKcmyk(11.3%, 62.3%, 0%, 9.4%)
CIE-LABlab(57.62, 66.51, -52.21)
CIE-LCHlch(57.62, 84.56, 321.87°)
OKLaboklab(66.33% 0.1735 -0.1457)
OKLCHoklch(66.33% 0.227 320)
XYZxyz(43.0071, 25.5670, 78.2554)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57E7 #71E757
analogous
#8557E7 #CD57E7 #E757B9
triadic
#CD57E7 #E7CD57 #57E7CD
tetradic
#CD57E7 #E78557 #71E757 #57B9E7
square
#CD57E7 #E78557 #71E757 #57B9E7
split-complementary
#CD57E7 #B9E757 #57E785
monochromatic
#9118AB #BD21DF #CD57E7 #DD8DEF #EDC2F6

Accessibility & contrast

On white

3.44
#CD57E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CD57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57E7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57E7#FFFFFF#000000##000000
##CD57E71.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#638FE3
Tritanopia (blue-blind)
#CE6F97
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd57e7;
/* rgb */ color: rgb(205, 87, 231);
/* oklch */ color: oklch(66.3% 0.227 320.0);
Tailwind
colors: {
  custom: {
    50: '#e08eef',
    500: '#cd57e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd57e7;
$custom-light: #e08eef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57e7",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 289.167,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.22661,
    "h": 320
  },
  "luminance": 0.25565
}

Semantic roles & 50–950 ramp

primary
#CD57E7
secondary
#BCE7B3
accent
#D70E33
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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