#DC52D4#DC52D4

#DC52D4 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.7% C 0.225 H 330.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#DC52D4
RGBrgb(220, 82, 212)
HSLhsl(303, 66%, 59%)
HSVhsv(303, 63%, 86%)
CMYKcmyk(0%, 62.7%, 3.6%, 13.7%)
CIE-LABlab(58.04, 68.85, -40.70)
CIE-LCHlch(58.04, 79.98, 329.41°)
OKLaboklab(66.75% 0.1949 -0.1119)
OKLCHoklch(66.75% 0.225 330.1)
XYZxyz(44.4159, 26.0069, 64.9550)
Luminance0.2600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52D4 #52DC5A
analogous
#9F52DC #DC52D4 #DC528F
triadic
#DC52D4 #D4DC52 #52D4DC
tetradic
#DC52D4 #DC9F52 #52DC5A #528FDC
square
#DC52D4 #DC9F52 #52DC5A #528FDC
split-complementary
#DC52D4 #8FDC52 #52DC9F
monochromatic
#951E8E #C829BF #DC52D4 #E685E1 #F1B8ED

Accessibility & contrast

On white

3.39
#DC52D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#DC52D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52D4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52D4#FFFFFF#000000##000000
##DC52D41.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD8
Deuteranopia (green-blind)
#7792D0
Tritanopia (blue-blind)
#E4618C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc52d4;
/* rgb */ color: rgb(220, 82, 212);
/* oklch */ color: oklch(66.7% 0.225 330.1);
Tailwind
colors: {
  custom: {
    50: '#ea8ce1',
    500: '#dc52d4',
    950: '#000000',
  },
}
SCSS
$custom: #dc52d4;
$custom-light: #ea8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52d4",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 303.478,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66748,
    "c": 0.22477,
    "h": 330.1
  },
  "luminance": 0.26004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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