#DC52D7#DC52D7

#DC52D7 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.9% C 0.227 H 329.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#DC52D7
RGBrgb(220, 82, 215)
HSLhsl(302, 66%, 59%)
HSVhsv(302, 63%, 86%)
CMYKcmyk(0%, 62.7%, 2.3%, 13.7%)
CIE-LABlab(58.19, 69.34, -42.17)
CIE-LCHlch(58.19, 81.15, 328.69°)
OKLaboklab(66.9% 0.1952 -0.1162)
OKLCHoklch(66.9% 0.227 329.2)
XYZxyz(44.7978, 26.1596, 66.9666)
Luminance0.2616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52D7 #52DC57
analogous
#9C52DC #DC52D7 #DC5292
triadic
#DC52D7 #D7DC52 #52D7DC
tetradic
#DC52D7 #DC9C52 #52DC57 #5292DC
square
#DC52D7 #DC9C52 #52DC57 #5292DC
split-complementary
#DC52D7 #92DC52 #52DC9C
monochromatic
#951E91 #C829C2 #DC52D7 #E685E3 #F1B8EF

Accessibility & contrast

On white

3.37
#DC52D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#DC52D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52D7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52D7#FFFFFF#000000##000000
##DC52D71.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4480DB
Deuteranopia (green-blind)
#7692D3
Tritanopia (blue-blind)
#E3628D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc52d7;
/* rgb */ color: rgb(220, 82, 215);
/* oklch */ color: oklch(66.9% 0.227 329.2);
Tailwind
colors: {
  custom: {
    50: '#ea8ce4',
    500: '#dc52d7',
    950: '#000000',
  },
}
SCSS
$custom: #dc52d7;
$custom-light: #ea8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52d7",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 302.174,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66901,
    "c": 0.22712,
    "h": 329.2
  },
  "luminance": 0.26157
}

Semantic roles & 50–950 ramp

primary
#DC52D7
secondary
#AAE0AC
accent
#E9453F
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #DC52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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