#DB52C7#DB52C7

#DB52C7 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.214 H 333.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#DB52C7
RGBrgb(219, 82, 199)
HSLhsl(309, 66%, 59%)
HSVhsv(309, 63%, 86%)
CMYKcmyk(0%, 62.6%, 9.1%, 14.1%)
CIE-LABlab(57.29, 66.55, -34.49)
CIE-LCHlch(57.29, 74.96, 332.60°)
OKLaboklab(65.97% 0.1925 -0.0941)
OKLCHoklch(65.97% 0.214 333.9)
XYZxyz(42.5397, 25.2215, 56.6495)
Luminance0.2522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52C7 #52DB66
analogous
#AB52DB #DB52C7 #DB5283
triadic
#DB52C7 #C7DB52 #52C7DB
tetradic
#DB52C7 #DBAB52 #52DB66 #5283DB
square
#DB52C7 #DBAB52 #52DB66 #5283DB
split-complementary
#DB52C7 #83DB52 #52DBAB
monochromatic
#941F83 #C629B0 #DB52C7 #E685D7 #F0B7E8

Accessibility & contrast

On white

3.47
#DB52C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#DB52C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52C7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52C7#FFFFFF#000000##000000
##DB52C71.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db52c7;
/* rgb */ color: rgb(219, 82, 199);
/* oklch */ color: oklch(66.0% 0.214 333.9);
Tailwind
colors: {
  custom: {
    50: '#e98bd8',
    500: '#db52c7',
    950: '#000000',
  },
}
SCSS
$custom: #db52c7;
$custom-light: #e98bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#db52c7",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 308.759,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65975,
    "c": 0.2143,
    "h": 333.9
  },
  "luminance": 0.25218
}

Semantic roles & 50–950 ramp

primary
#DB52C7
secondary
#AADFB1
accent
#E9583F
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DB52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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