#DB52D2#DB52D2

#DB52D2 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.223 H 330.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#DB52D2
RGBrgb(219, 82, 210)
HSLhsl(304, 66%, 59%)
HSVhsv(304, 63%, 86%)
CMYKcmyk(0%, 62.6%, 4.1%, 14.1%)
CIE-LABlab(57.80, 68.29, -39.96)
CIE-LCHlch(57.80, 79.12, 329.66°)
OKLaboklab(66.51% 0.1937 -0.1098)
OKLCHoklch(66.51% 0.223 330.4)
XYZxyz(43.8633, 25.7509, 63.6204)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52D2 #52DB5B
analogous
#A052DB #DB52D2 #DB528E
triadic
#DB52D2 #D2DB52 #52D2DB
tetradic
#DB52D2 #DBA052 #52DB5B #528EDB
square
#DB52D2 #DBA052 #52DB5B #528EDB
split-complementary
#DB52D2 #8EDB52 #52DBA0
monochromatic
#941F8C #C629BC #DB52D2 #E685DF #F0B7EC

Accessibility & contrast

On white

3.41
#DB52D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#DB52D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52D2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52D2#FFFFFF#000000##000000
##DB52D21.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#487FD6
Deuteranopia (green-blind)
#7792CE
Tritanopia (blue-blind)
#E3608B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #db52d2;
/* rgb */ color: rgb(219, 82, 210);
/* oklch */ color: oklch(66.5% 0.223 330.4);
Tailwind
colors: {
  custom: {
    50: '#e98ce0',
    500: '#db52d2',
    950: '#000000',
  },
}
SCSS
$custom: #db52d2;
$custom-light: #e98ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#db52d2",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 303.942,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.22266,
    "h": 330.4
  },
  "luminance": 0.25748
}

Semantic roles & 50–950 ramp

primary
#DB52D2
secondary
#AADFAD
accent
#E94A3F
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DB52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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