#CD57C4#CD57C4

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

Color values

HEX#CD57C4
RGBrgb(205, 87, 196)
HSLhsl(305, 54%, 57%)
HSVhsv(305, 58%, 80%)
CMYKcmyk(0%, 57.6%, 4.4%, 19.6%)
CIE-LABlab(55.87, 60.32, -35.15)
CIE-LCHlch(55.87, 69.81, 329.77°)
OKLaboklab(64.48% 0.1711 -0.0963)
OKLCHoklch(64.48% 0.196 330.6)
XYZxyz(38.5486, 23.7837, 54.7742)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57C4 #57CD60
analogous
#9B57CD #CD57C4 #CD5789
triadic
#CD57C4 #C4CD57 #57C4CD
tetradic
#CD57C4 #CD9B57 #57CD60 #5789CD
square
#CD57C4 #CD9B57 #57CD60 #5789CD
split-complementary
#CD57C4 #89CD57 #57CD9B
monochromatic
#83277C #B235A8 #CD57C4 #DB86D5 #E9B5E5

Accessibility & contrast

On white

3.65
#CD57C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CD57C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57C4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57C4#FFFFFF#000000##000000
##CD57C41.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#507BC7
Deuteranopia (green-blind)
#768CC1
Tritanopia (blue-blind)
#D46286
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd57c4;
/* rgb */ color: rgb(205, 87, 196);
/* oklch */ color: oklch(64.5% 0.196 330.6);
Tailwind
colors: {
  custom: {
    50: '#df8dd6',
    500: '#cd57c4',
    950: '#000000',
  },
}
SCSS
$custom: #cd57c4;
$custom-light: #df8dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57c4",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 196
  },
  "hsl": {
    "h": 304.576,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64482,
    "c": 0.19638,
    "h": 330.6
  },
  "luminance": 0.23781
}

Semantic roles & 50–950 ramp

primary
#CD57C4
secondary
#A8D8AC
accent
#DD564A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #CD57C4

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

Preview Lab → · Contrast checker → · Palette generator →

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