#DB52E9#DB52E9

#DB52E9 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.7% C 0.241 H 323.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#DB52E9
RGBrgb(219, 82, 233)
HSLhsl(294, 77%, 62%)
HSVhsv(294, 65%, 91%)
CMYKcmyk(6%, 64.8%, 0%, 8.6%)
CIE-LABlab(58.96, 72.12, -51.09)
CIE-LCHlch(58.96, 88.39, 324.69°)
OKLaboklab(67.72% 0.1948 -0.1421)
OKLCHoklch(67.72% 0.241 323.9)
XYZxyz(46.9374, 26.9806, 79.8105)
Luminance0.2698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52E9 #60E952
analogous
#9052E9 #DB52E9 #E952AC
triadic
#DB52E9 #E9DB52 #52E9DB
tetradic
#DB52E9 #E99052 #60E952 #52ACE9
square
#DB52E9 #E99052 #60E952 #52ACE9
split-complementary
#DB52E9 #ACE952 #52E990
monochromatic
#9D16AB #CF1DE1 #DB52E9 #E688F0 #F2BFF7

Accessibility & contrast

On white

3.28
#DB52E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#DB52E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52E9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52E9#FFFFFF#000000##000000
##DB52E91.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083ED
Deuteranopia (green-blind)
#6B93E5
Tritanopia (blue-blind)
#DF6A97
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #db52e9;
/* rgb */ color: rgb(219, 82, 233);
/* oklch */ color: oklch(67.7% 0.241 323.9);
Tailwind
colors: {
  custom: {
    50: '#ea8cf0',
    500: '#db52e9',
    950: '#000000',
  },
}
SCSS
$custom: #db52e9;
$custom-light: #ea8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#db52e9",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 294.437,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67723,
    "c": 0.24114,
    "h": 323.9
  },
  "luminance": 0.26978
}

Semantic roles & 50–950 ramp

primary
#DB52E9
secondary
#B5E7AF
accent
#DA0C1F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #DB52E9

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

Preview Lab → · Contrast checker → · Palette generator →

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