#DC52D6#DC52D6

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

Color values

HEX#DC52D6
RGBrgb(220, 82, 214)
HSLhsl(303, 66%, 59%)
HSVhsv(303, 63%, 86%)
CMYKcmyk(0%, 62.7%, 2.7%, 13.7%)
CIE-LABlab(58.14, 69.17, -41.68)
CIE-LCHlch(58.14, 80.76, 328.93°)
OKLaboklab(66.85% 0.1951 -0.1148)
OKLCHoklch(66.85% 0.226 329.5)
XYZxyz(44.6697, 26.1084, 66.2920)
Luminance0.2611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52D6 #52DC58
analogous
#9D52DC #DC52D6 #DC5291
triadic
#DC52D6 #D6DC52 #52D6DC
tetradic
#DC52D6 #DC9D52 #52DC58 #5291DC
square
#DC52D6 #DC9D52 #52DC58 #5291DC
split-complementary
#DC52D6 #91DC52 #52DC9D
monochromatic
#951E90 #C829C1 #DC52D6 #E685E2 #F1B8EE

Accessibility & contrast

On white

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

On black

6.22
#DC52D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52D6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52D6#FFFFFF#000000##000000
##DC52D61.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4580DA
Deuteranopia (green-blind)
#7692D2
Tritanopia (blue-blind)
#E3628D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc52d6;
/* rgb */ color: rgb(220, 82, 214);
/* oklch */ color: oklch(66.8% 0.226 329.5);
Tailwind
colors: {
  custom: {
    50: '#ea8ce3',
    500: '#dc52d6',
    950: '#000000',
  },
}
SCSS
$custom: #dc52d6;
$custom-light: #ea8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52d6",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 302.609,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6685,
    "c": 0.22633,
    "h": 329.5
  },
  "luminance": 0.26105
}

Semantic roles & 50–950 ramp

primary
#DC52D6
secondary
#AAE0AC
accent
#E9463F
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DC52D6

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

Preview Lab → · Contrast checker → · Palette generator →

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