#DC52D9#DC52D9

#DC52D9 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.0% C 0.229 H 328.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#DC52D9
RGBrgb(220, 82, 217)
HSLhsl(301, 66%, 59%)
HSVhsv(301, 63%, 86%)
CMYKcmyk(0%, 62.7%, 1.4%, 13.7%)
CIE-LABlab(58.29, 69.66, -43.15)
CIE-LCHlch(58.29, 81.94, 328.23°)
OKLaboklab(67% 0.1953 -0.119)
OKLCHoklch(67% 0.229 328.6)
XYZxyz(45.0564, 26.2631, 68.3283)
Luminance0.2626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52D9 #52DC55
analogous
#9A52DC #DC52D9 #DC5294
triadic
#DC52D9 #D9DC52 #52D9DC
tetradic
#DC52D9 #DC9A52 #52DC55 #5294DC
square
#DC52D9 #DC9A52 #52DC55 #5294DC
split-complementary
#DC52D9 #94DC52 #52DC9A
monochromatic
#951E93 #C829C5 #DC52D9 #E685E4 #F1B8EF

Accessibility & contrast

On white

3.36
#DC52D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#DC52D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52D9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52D9#FFFFFF#000000##000000
##DC52D91.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4380DD
Deuteranopia (green-blind)
#7593D5
Tritanopia (blue-blind)
#E3638F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc52d9;
/* rgb */ color: rgb(220, 82, 217);
/* oklch */ color: oklch(67.0% 0.229 328.6);
Tailwind
colors: {
  custom: {
    50: '#ea8ce5',
    500: '#dc52d9',
    950: '#000000',
  },
}
SCSS
$custom: #dc52d9;
$custom-light: #ea8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52d9",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 301.304,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.67003,
    "c": 0.2287,
    "h": 328.6
  },
  "luminance": 0.2626
}

Semantic roles & 50–950 ramp

primary
#DC52D9
secondary
#AAE0AB
accent
#E9423F
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC52D9

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

Preview Lab → · Contrast checker → · Palette generator →

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