#DB52C5#DB52C5

#DB52C5 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.9% C 0.213 H 334.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#DB52C5
RGBrgb(219, 82, 197)
HSLhsl(310, 66%, 59%)
HSVhsv(310, 63%, 86%)
CMYKcmyk(0%, 62.6%, 10%, 14.1%)
CIE-LABlab(57.20, 66.25, -33.49)
CIE-LCHlch(57.20, 74.23, 333.18°)
OKLaboklab(65.88% 0.1923 -0.0913)
OKLCHoklch(65.88% 0.213 334.6)
XYZxyz(42.3091, 25.1292, 55.4346)
Luminance0.2513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52C5 #52DB68
analogous
#AD52DB #DB52C5 #DB5281
triadic
#DB52C5 #C5DB52 #52C5DB
tetradic
#DB52C5 #DBAD52 #52DB68 #5281DB
square
#DB52C5 #DBAD52 #52DB68 #5281DB
split-complementary
#DB52C5 #81DB52 #52DBAD
monochromatic
#941F81 #C629AD #DB52C5 #E685D6 #F0B7E7

Accessibility & contrast

On white

3.49
#DB52C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#DB52C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52C5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52C5#FFFFFF#000000##000000
##DB52C51.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#517CC8
Deuteranopia (green-blind)
#7D91C1
Tritanopia (blue-blind)
#E55B84
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #db52c5;
/* rgb */ color: rgb(219, 82, 197);
/* oklch */ color: oklch(65.9% 0.213 334.6);
Tailwind
colors: {
  custom: {
    50: '#e98bd7',
    500: '#db52c5',
    950: '#000000',
  },
}
SCSS
$custom: #db52c5;
$custom-light: #e98bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#db52c5",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 309.635,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6588,
    "c": 0.21282,
    "h": 334.6
  },
  "luminance": 0.25126
}

Semantic roles & 50–950 ramp

primary
#DB52C5
secondary
#AADFB2
accent
#E95A3F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DB52C5

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

Preview Lab → · Contrast checker → · Palette generator →

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