#DB52CE#DB52CE

#DB52CE is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.3% C 0.220 H 331.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#DB52CE
RGBrgb(219, 82, 206)
HSLhsl(306, 66%, 59%)
HSVhsv(306, 63%, 86%)
CMYKcmyk(0%, 62.6%, 5.9%, 14.1%)
CIE-LABlab(57.61, 67.65, -37.98)
CIE-LCHlch(57.61, 77.58, 330.69°)
OKLaboklab(66.31% 0.1933 -0.1041)
OKLCHoklch(66.31% 0.22 331.7)
XYZxyz(43.3712, 25.5541, 61.0287)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52CE #52DB5F
analogous
#A352DB #DB52CE #DB528A
triadic
#DB52CE #CEDB52 #52CEDB
tetradic
#DB52CE #DBA352 #52DB5F #528ADB
square
#DB52CE #DBA352 #52DB5F #528ADB
split-complementary
#DB52CE #8ADB52 #52DBA3
monochromatic
#941F89 #C629B8 #DB52CE #E685DC #F0B7EB

Accessibility & contrast

On white

3.44
#DB52CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#DB52CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52CE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52CE#FFFFFF#000000##000000
##DB52CE1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#7991CA
Tritanopia (blue-blind)
#E45F89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #db52ce;
/* rgb */ color: rgb(219, 82, 206);
/* oklch */ color: oklch(66.3% 0.220 331.7);
Tailwind
colors: {
  custom: {
    50: '#e98bdd',
    500: '#db52ce',
    950: '#000000',
  },
}
SCSS
$custom: #db52ce;
$custom-light: #e98bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#db52ce",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 305.693,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66313,
    "c": 0.21958,
    "h": 331.7
  },
  "luminance": 0.25551
}

Semantic roles & 50–950 ramp

primary
#DB52CE
secondary
#AADFAF
accent
#E94F3F
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DB52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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