#CD57C8#CD57C8

#CD57C8 is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.7% C 0.200 H 329.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CD57C8
RGBrgb(205, 87, 200)
HSLhsl(303, 54%, 57%)
HSVhsv(303, 58%, 80%)
CMYKcmyk(0%, 57.6%, 2.4%, 19.6%)
CIE-LABlab(56.06, 60.99, -37.15)
CIE-LCHlch(56.06, 71.41, 328.66°)
OKLaboklab(64.68% 0.1716 -0.1021)
OKLCHoklch(64.68% 0.2 329.3)
XYZxyz(39.0100, 23.9682, 57.2040)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57C8 #57CD5C
analogous
#9757CD #CD57C8 #CD578D
triadic
#CD57C8 #C8CD57 #57C8CD
tetradic
#CD57C8 #CD9757 #57CD5C #578DCD
square
#CD57C8 #CD9757 #57CD5C #578DCD
split-complementary
#CD57C8 #8DCD57 #57CD97
monochromatic
#83277F #B235AD #CD57C8 #DB86D7 #E9B5E7

Accessibility & contrast

On white

3.62
#CD57C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CD57C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57C8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57C8#FFFFFF#000000##000000
##CD57C81.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7CCC
Deuteranopia (green-blind)
#748CC5
Tritanopia (blue-blind)
#D46388
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd57c8;
/* rgb */ color: rgb(205, 87, 200);
/* oklch */ color: oklch(64.7% 0.200 329.3);
Tailwind
colors: {
  custom: {
    50: '#df8dd9',
    500: '#cd57c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd57c8;
$custom-light: #df8dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57c8",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 302.542,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64678,
    "c": 0.19968,
    "h": 329.3
  },
  "luminance": 0.23966
}

Semantic roles & 50–950 ramp

primary
#CD57C8
secondary
#A8D8AA
accent
#DD514A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CD57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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