#DC52C7#DC52C7

#DC52C7 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.1% C 0.215 H 334.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#DC52C7
RGBrgb(220, 82, 199)
HSLhsl(309, 66%, 59%)
HSVhsv(309, 63%, 86%)
CMYKcmyk(0%, 62.7%, 9.5%, 13.7%)
CIE-LABlab(57.44, 66.81, -34.25)
CIE-LCHlch(57.44, 75.08, 332.86°)
OKLaboklab(66.11% 0.1935 -0.0934)
OKLCHoklch(66.11% 0.215 334.2)
XYZxyz(42.8416, 25.3771, 56.6636)
Luminance0.2537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52C7 #52DC67
analogous
#AC52DC #DC52C7 #DC5282
triadic
#DC52C7 #C7DC52 #52C7DC
tetradic
#DC52C7 #DCAC52 #52DC67 #5282DC
square
#DC52C7 #DCAC52 #52DC67 #5282DC
split-complementary
#DC52C7 #82DC52 #52DCAC
monochromatic
#951E83 #C829B0 #DC52C7 #E685D7 #F1B8E8

Accessibility & contrast

On white

3.46
#DC52C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#DC52C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52C7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52C7#FFFFFF#000000##000000
##DC52C71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCB
Deuteranopia (green-blind)
#7D91C3
Tritanopia (blue-blind)
#E65C85
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #dc52c7;
/* rgb */ color: rgb(220, 82, 199);
/* oklch */ color: oklch(66.1% 0.215 334.2);
Tailwind
colors: {
  custom: {
    50: '#ea8bd8',
    500: '#dc52c7',
    950: '#000000',
  },
}
SCSS
$custom: #dc52c7;
$custom-light: #ea8bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52c7",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 309.13,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66114,
    "c": 0.21491,
    "h": 334.2
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#DC52C7
secondary
#AAE0B2
accent
#E9593F
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DC52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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