#CD57C5#CD57C5

#CD57C5 is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.5% C 0.197 H 330.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CD57C5
RGBrgb(205, 87, 197)
HSLhsl(304, 54%, 57%)
HSVhsv(304, 58%, 80%)
CMYKcmyk(0%, 57.6%, 3.9%, 19.6%)
CIE-LABlab(55.92, 60.49, -35.65)
CIE-LCHlch(55.92, 70.21, 329.49°)
OKLaboklab(64.53% 0.1713 -0.0978)
OKLCHoklch(64.53% 0.197 330.3)
XYZxyz(38.6628, 23.8293, 55.3756)
Luminance0.2383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57C5 #57CD5F
analogous
#9A57CD #CD57C5 #CD578A
triadic
#CD57C5 #C5CD57 #57C5CD
tetradic
#CD57C5 #CD9A57 #57CD5F #578ACD
square
#CD57C5 #CD9A57 #57CD5F #578ACD
split-complementary
#CD57C5 #8ACD57 #57CD9A
monochromatic
#83277C #B235A9 #CD57C5 #DB86D5 #E9B5E6

Accessibility & contrast

On white

3.64
#CD57C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CD57C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57C5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57C5#FFFFFF#000000##000000
##CD57C51.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7CC8
Deuteranopia (green-blind)
#758CC2
Tritanopia (blue-blind)
#D46286
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd57c5;
/* rgb */ color: rgb(205, 87, 197);
/* oklch */ color: oklch(64.5% 0.197 330.3);
Tailwind
colors: {
  custom: {
    50: '#df8dd7',
    500: '#cd57c5',
    950: '#000000',
  },
}
SCSS
$custom: #cd57c5;
$custom-light: #df8dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57c5",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 197
  },
  "hsl": {
    "h": 304.068,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64531,
    "c": 0.1972,
    "h": 330.3
  },
  "luminance": 0.23827
}

Semantic roles & 50–950 ramp

primary
#CD57C5
secondary
#A8D8AB
accent
#DD544A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CD57C5

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

Preview Lab → · Contrast checker → · Palette generator →

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