#DB52E6#DB52E6

#DB52E6 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.6% C 0.239 H 324.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#DB52E6
RGBrgb(219, 82, 230)
HSLhsl(296, 75%, 61%)
HSVhsv(296, 64%, 90%)
CMYKcmyk(4.8%, 64.3%, 0%, 9.8%)
CIE-LABlab(58.80, 71.61, -49.66)
CIE-LCHlch(58.80, 87.14, 325.26°)
OKLaboklab(67.56% 0.1948 -0.1379)
OKLCHoklch(67.56% 0.239 324.7)
XYZxyz(46.5125, 26.8106, 77.5726)
Luminance0.2681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52E6 #5DE652
analogous
#9152E6 #DB52E6 #E652A7
triadic
#DB52E6 #E6DB52 #52E6DB
tetradic
#DB52E6 #E69152 #5DE652 #52A7E6
square
#DB52E6 #E69152 #5DE652 #52A7E6
split-complementary
#DB52E6 #A7E652 #52E691
monochromatic
#9B18A6 #CD20DB #DB52E6 #E687EE #F1BDF5

Accessibility & contrast

On white

3.30
#DB52E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#DB52E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52E6
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52E6#FFFFFF#000000##000000
##DB52E61.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EA
Deuteranopia (green-blind)
#6D93E2
Tritanopia (blue-blind)
#DF6895
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #db52e6;
/* rgb */ color: rgb(219, 82, 230);
/* oklch */ color: oklch(67.6% 0.239 324.7);
Tailwind
colors: {
  custom: {
    50: '#ea8cee',
    500: '#db52e6',
    950: '#000000',
  },
}
SCSS
$custom: #db52e6;
$custom-light: #ea8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#db52e6",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 295.541,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67558,
    "c": 0.23867,
    "h": 324.7
  },
  "luminance": 0.26808
}

Semantic roles & 50–950 ramp

primary
#DB52E6
secondary
#B2E6AE
accent
#D70F1D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB52E6

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

Preview Lab → · Contrast checker → · Palette generator →

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