#CD57D4#CD57D4

#CD57D4 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.3% C 0.210 H 325.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CD57D4
RGBrgb(205, 87, 212)
HSLhsl(297, 59%, 59%)
HSVhsv(297, 59%, 83%)
CMYKcmyk(3.3%, 59%, 0%, 16.9%)
CIE-LABlab(56.64, 63.06, -43.07)
CIE-LCHlch(56.64, 76.37, 325.67°)
OKLaboklab(65.29% 0.1727 -0.1191)
OKLCHoklch(65.29% 0.21 325.4)
XYZxyz(40.4678, 24.5513, 64.8819)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57D4 #5ED457
analogous
#8E57D4 #CD57D4 #D4579C
triadic
#CD57D4 #D4CD57 #57D4CD
tetradic
#CD57D4 #D48E57 #5ED457 #579CD4
square
#CD57D4 #D48E57 #5ED457 #579CD4
split-complementary
#CD57D4 #9CD457 #57D48E
monochromatic
#87248D #B530BD #CD57D4 #DC88E0 #EAB8ED

Accessibility & contrast

On white

3.55
#CD57D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CD57D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57D4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57D4#FFFFFF#000000##000000
##CD57D41.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ED8
Deuteranopia (green-blind)
#6E8DD1
Tritanopia (blue-blind)
#D2688E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd57d4;
/* rgb */ color: rgb(205, 87, 212);
/* oklch */ color: oklch(65.3% 0.210 325.4);
Tailwind
colors: {
  custom: {
    50: '#df8de1',
    500: '#cd57d4',
    950: '#000000',
  },
}
SCSS
$custom: #cd57d4;
$custom-light: #df8de1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57d4",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 296.64,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6529,
    "c": 0.20985,
    "h": 325.4
  },
  "luminance": 0.24549
}

Semantic roles & 50–950 ramp

primary
#CD57D4
secondary
#ADDCAB
accent
#E2454E
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD57D4

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

Preview Lab → · Contrast checker → · Palette generator →

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