#DC52D5#DC52D5

#DC52D5 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.226 H 329.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#DC52D5
RGBrgb(220, 82, 213)
HSLhsl(303, 66%, 59%)
HSVhsv(303, 63%, 86%)
CMYKcmyk(0%, 62.7%, 3.2%, 13.7%)
CIE-LABlab(58.09, 69.01, -41.19)
CIE-LCHlch(58.09, 80.37, 329.17°)
OKLaboklab(66.8% 0.195 -0.1134)
OKLCHoklch(66.8% 0.226 329.8)
XYZxyz(44.5424, 26.0575, 65.6214)
Luminance0.2605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52D5 #52DC59
analogous
#9E52DC #DC52D5 #DC5290
triadic
#DC52D5 #D5DC52 #52D5DC
tetradic
#DC52D5 #DC9E52 #52DC59 #5290DC
square
#DC52D5 #DC9E52 #52DC59 #5290DC
split-complementary
#DC52D5 #90DC52 #52DC9E
monochromatic
#951E8F #C829C0 #DC52D5 #E685E1 #F1B8EE

Accessibility & contrast

On white

3.38
#DC52D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#DC52D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52D5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52D5#FFFFFF#000000##000000
##DC52D51.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4680D9
Deuteranopia (green-blind)
#7792D1
Tritanopia (blue-blind)
#E4618C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc52d5;
/* rgb */ color: rgb(220, 82, 213);
/* oklch */ color: oklch(66.8% 0.226 329.8);
Tailwind
colors: {
  custom: {
    50: '#ea8ce2',
    500: '#dc52d5',
    950: '#000000',
  },
}
SCSS
$custom: #dc52d5;
$custom-light: #ea8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52d5",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 303.043,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66799,
    "c": 0.22555,
    "h": 329.8
  },
  "luminance": 0.26054
}

Semantic roles & 50–950 ramp

primary
#DC52D5
secondary
#AAE0AD
accent
#E9473F
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DC52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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