#DB52E5#DB52E5

#DB52E5 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.5% C 0.238 H 325.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#DB52E5
RGBrgb(219, 82, 229)
HSLhsl(296, 74%, 61%)
HSVhsv(296, 64%, 90%)
CMYKcmyk(4.4%, 64.2%, 0%, 10.2%)
CIE-LABlab(58.75, 71.44, -49.19)
CIE-LCHlch(58.75, 86.73, 325.45°)
OKLaboklab(67.5% 0.1948 -0.1365)
OKLCHoklch(67.5% 0.238 325)
XYZxyz(46.3725, 26.7546, 76.8352)
Luminance0.2675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52E5 #5CE552
analogous
#9152E5 #DB52E5 #E552A5
triadic
#DB52E5 #E5DB52 #52E5DB
tetradic
#DB52E5 #E59152 #5CE552 #52A5E5
square
#DB52E5 #E59152 #5CE552 #52A5E5
split-complementary
#DB52E5 #A5E552 #52E591
monochromatic
#9A19A4 #CD21D9 #DB52E5 #E687ED #F1BCF5

Accessibility & contrast

On white

3.31
#DB52E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#DB52E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52E5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52E5#FFFFFF#000000##000000
##DB52E51.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583E9
Deuteranopia (green-blind)
#6D93E1
Tritanopia (blue-blind)
#E06895
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #db52e5;
/* rgb */ color: rgb(219, 82, 229);
/* oklch */ color: oklch(67.5% 0.238 325.0);
Tailwind
colors: {
  custom: {
    50: '#ea8cee',
    500: '#db52e5',
    950: '#000000',
  },
}
SCSS
$custom: #db52e5;
$custom-light: #ea8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#db52e5",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 295.918,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67504,
    "c": 0.23785,
    "h": 325
  },
  "luminance": 0.26752
}

Semantic roles & 50–950 ramp

primary
#DB52E5
secondary
#B1E5AE
accent
#D6101D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB52E5

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

Preview Lab → · Contrast checker → · Palette generator →

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