#DB52C8#DB52C8

#DB52C8 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.0% C 0.215 H 333.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#DB52C8
RGBrgb(219, 82, 200)
HSLhsl(308, 66%, 59%)
HSVhsv(308, 63%, 86%)
CMYKcmyk(0%, 62.6%, 8.7%, 14.1%)
CIE-LABlab(57.34, 66.71, -35.00)
CIE-LCHlch(57.34, 75.33, 332.32°)
OKLaboklab(66.02% 0.1926 -0.0956)
OKLCHoklch(66.02% 0.215 333.6)
XYZxyz(42.6562, 25.2681, 57.2630)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52C8 #52DB65
analogous
#AA52DB #DB52C8 #DB5284
triadic
#DB52C8 #C8DB52 #52C8DB
tetradic
#DB52C8 #DBAA52 #52DB65 #5284DB
square
#DB52C8 #DBAA52 #52DB65 #5284DB
split-complementary
#DB52C8 #84DB52 #52DBAA
monochromatic
#941F84 #C629B1 #DB52C8 #E685D8 #F0B7E8

Accessibility & contrast

On white

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

On black

6.05
#DB52C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52C8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52C8#FFFFFF#000000##000000
##DB52C81.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7DCC
Deuteranopia (green-blind)
#7C91C4
Tritanopia (blue-blind)
#E45D86
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #db52c8;
/* rgb */ color: rgb(219, 82, 200);
/* oklch */ color: oklch(66.0% 0.215 333.6);
Tailwind
colors: {
  custom: {
    50: '#e98bd9',
    500: '#db52c8',
    950: '#000000',
  },
}
SCSS
$custom: #db52c8;
$custom-light: #e98bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#db52c8",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 308.321,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66022,
    "c": 0.21503,
    "h": 333.6
  },
  "luminance": 0.25265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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