#DC52D1#DC52D1

#DC52D1 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.6% C 0.222 H 331.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#DC52D1
RGBrgb(220, 82, 209)
HSLhsl(305, 66%, 59%)
HSVhsv(305, 63%, 86%)
CMYKcmyk(0%, 62.7%, 5%, 13.7%)
CIE-LABlab(57.90, 68.37, -39.22)
CIE-LCHlch(57.90, 78.82, 330.16°)
OKLaboklab(66.6% 0.1947 -0.1077)
OKLCHoklch(66.6% 0.222 331)
XYZxyz(44.0410, 25.8569, 62.9805)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52D1 #52DC5D
analogous
#A252DC #DC52D1 #DC528C
triadic
#DC52D1 #D1DC52 #52D1DC
tetradic
#DC52D1 #DCA252 #52DC5D #528CDC
square
#DC52D1 #DCA252 #52DC5D #528CDC
split-complementary
#DC52D1 #8CDC52 #52DCA2
monochromatic
#951E8C #C829BC #DC52D1 #E685DF #F1B8EC

Accessibility & contrast

On white

3.40
#DC52D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#DC52D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52D1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52D1#FFFFFF#000000##000000
##DC52D11.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497FD5
Deuteranopia (green-blind)
#7992CD
Tritanopia (blue-blind)
#E4608A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc52d1;
/* rgb */ color: rgb(220, 82, 209);
/* oklch */ color: oklch(66.6% 0.222 331.0);
Tailwind
colors: {
  custom: {
    50: '#ea8cdf',
    500: '#dc52d1',
    950: '#000000',
  },
}
SCSS
$custom: #dc52d1;
$custom-light: #ea8cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52d1",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 304.783,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66599,
    "c": 0.22245,
    "h": 331
  },
  "luminance": 0.25854
}

Semantic roles & 50–950 ramp

primary
#DC52D1
secondary
#AAE0AE
accent
#E94C3F
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DC52D1

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

Preview Lab → · Contrast checker → · Palette generator →

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