#DB52D5#DB52D5

#DB52D5 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.225 H 329.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#DB52D5
RGBrgb(219, 82, 213)
HSLhsl(303, 66%, 59%)
HSVhsv(303, 63%, 86%)
CMYKcmyk(0%, 62.6%, 2.7%, 14.1%)
CIE-LABlab(57.94, 68.77, -41.44)
CIE-LCHlch(57.94, 80.29, 328.93°)
OKLaboklab(66.66% 0.1939 -0.1141)
OKLCHoklch(66.66% 0.225 329.5)
XYZxyz(44.2406, 25.9018, 65.6073)
Luminance0.2590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52D5 #52DB58
analogous
#9D52DB #DB52D5 #DB5291
triadic
#DB52D5 #D5DB52 #52D5DB
tetradic
#DB52D5 #DB9D52 #52DB58 #5291DB
square
#DB52D5 #DB9D52 #52DB58 #5291DB
split-complementary
#DB52D5 #91DB52 #52DB9D
monochromatic
#941F8F #C629C0 #DB52D5 #E685E1 #F0B7EE

Accessibility & contrast

On white

3.40
#DB52D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#DB52D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52D5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52D5#FFFFFF#000000##000000
##DB52D51.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#457FD9
Deuteranopia (green-blind)
#7692D1
Tritanopia (blue-blind)
#E2628C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #db52d5;
/* rgb */ color: rgb(219, 82, 213);
/* oklch */ color: oklch(66.7% 0.225 329.5);
Tailwind
colors: {
  custom: {
    50: '#ea8ce2',
    500: '#db52d5',
    950: '#000000',
  },
}
SCSS
$custom: #db52d5;
$custom-light: #ea8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#db52d5",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 302.628,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66662,
    "c": 0.225,
    "h": 329.5
  },
  "luminance": 0.25899
}

Semantic roles & 50–950 ramp

primary
#DB52D5
secondary
#AADFAC
accent
#E9473F
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DB52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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