#CD57C7#CD57C7

#CD57C7 is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.6% C 0.199 H 329.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CD57C7
RGBrgb(205, 87, 199)
HSLhsl(303, 54%, 57%)
HSVhsv(303, 58%, 80%)
CMYKcmyk(0%, 57.6%, 2.9%, 19.6%)
CIE-LABlab(56.01, 60.82, -36.65)
CIE-LCHlch(56.01, 71.01, 328.93°)
OKLaboklab(64.63% 0.1715 -0.1006)
OKLCHoklch(64.63% 0.199 329.6)
XYZxyz(38.8935, 23.9216, 56.5905)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57C7 #57CD5D
analogous
#9857CD #CD57C7 #CD578C
triadic
#CD57C7 #C7CD57 #57C7CD
tetradic
#CD57C7 #CD9857 #57CD5D #578CCD
square
#CD57C7 #CD9857 #57CD5D #578CCD
split-complementary
#CD57C7 #8CCD57 #57CD98
monochromatic
#83277E #B235AC #CD57C7 #DB86D7 #E9B5E6

Accessibility & contrast

On white

3.63
#CD57C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CD57C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57C7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57C7#FFFFFF#000000##000000
##CD57C71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCA
Deuteranopia (green-blind)
#748CC4
Tritanopia (blue-blind)
#D46387
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd57c7;
/* rgb */ color: rgb(205, 87, 199);
/* oklch */ color: oklch(64.6% 0.199 329.6);
Tailwind
colors: {
  custom: {
    50: '#df8dd8',
    500: '#cd57c7',
    950: '#000000',
  },
}
SCSS
$custom: #cd57c7;
$custom-light: #df8dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57c7",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 303.051,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64629,
    "c": 0.19884,
    "h": 329.6
  },
  "luminance": 0.23919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD57C7

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

Preview Lab → · Contrast checker → · Palette generator →

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