#CD57C2#CD57C2

#CD57C2 is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.4% C 0.195 H 331.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CD57C2
RGBrgb(205, 87, 194)
HSLhsl(306, 54%, 57%)
HSVhsv(306, 58%, 80%)
CMYKcmyk(0%, 57.6%, 5.4%, 19.6%)
CIE-LABlab(55.78, 59.99, -34.14)
CIE-LCHlch(55.78, 69.02, 330.35°)
OKLaboklab(64.39% 0.1709 -0.0934)
OKLCHoklch(64.39% 0.195 331.3)
XYZxyz(38.3225, 23.6932, 53.5833)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57C2 #57CD62
analogous
#9D57CD #CD57C2 #CD5787
triadic
#CD57C2 #C2CD57 #57C2CD
tetradic
#CD57C2 #CD9D57 #57CD62 #5787CD
square
#CD57C2 #CD9D57 #57CD62 #5787CD
split-complementary
#CD57C2 #87CD57 #57CD9D
monochromatic
#83277A #B235A6 #CD57C2 #DB86D3 #E9B5E4

Accessibility & contrast

On white

3.66
#CD57C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CD57C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57C2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57C2#FFFFFF#000000##000000
##CD57C21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#D56185
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd57c2;
/* rgb */ color: rgb(205, 87, 194);
/* oklch */ color: oklch(64.4% 0.195 331.3);
Tailwind
colors: {
  custom: {
    50: '#df8dd5',
    500: '#cd57c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd57c2;
$custom-light: #df8dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57c2",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 305.593,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64386,
    "c": 0.19475,
    "h": 331.3
  },
  "luminance": 0.23691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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