#DB52D1#DB52D1

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

Color values

HEX#DB52D1
RGBrgb(219, 82, 209)
HSLhsl(304, 66%, 59%)
HSVhsv(304, 63%, 86%)
CMYKcmyk(0%, 62.6%, 4.6%, 14.1%)
CIE-LABlab(57.75, 68.13, -39.47)
CIE-LCHlch(57.75, 78.73, 329.91°)
OKLaboklab(66.46% 0.1936 -0.1084)
OKLCHoklch(66.46% 0.222 330.8)
XYZxyz(43.7391, 25.7013, 62.9664)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52D1 #52DB5C
analogous
#A152DB #DB52D1 #DB528D
triadic
#DB52D1 #D1DB52 #52D1DB
tetradic
#DB52D1 #DBA152 #52DB5C #528DDB
square
#DB52D1 #DBA152 #52DB5C #528DDB
split-complementary
#DB52D1 #8DDB52 #52DBA1
monochromatic
#941F8B #C629BB #DB52D1 #E685DE #F0B7EC

Accessibility & contrast

On white

3.42
#DB52D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#DB52D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52D1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52D1#FFFFFF#000000##000000
##DB52D11.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#497FD5
Deuteranopia (green-blind)
#7892CD
Tritanopia (blue-blind)
#E3608A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #db52d1;
/* rgb */ color: rgb(219, 82, 209);
/* oklch */ color: oklch(66.5% 0.222 330.8);
Tailwind
colors: {
  custom: {
    50: '#e98bdf',
    500: '#db52d1',
    950: '#000000',
  },
}
SCSS
$custom: #db52d1;
$custom-light: #e98bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#db52d1",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 304.38,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66461,
    "c": 0.22189,
    "h": 330.8
  },
  "luminance": 0.25698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB52D1

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

Preview Lab → · Contrast checker → · Palette generator →

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