#DB34C5#DB34C5

#DB34C5 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 63.2% C 0.247 H 334.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#DB34C5
RGBrgb(219, 52, 197)
HSLhsl(308, 70%, 53%)
HSVhsv(308, 76%, 86%)
CMYKcmyk(0%, 76.3%, 10%, 14.1%)
CIE-LABlab(53.55, 76.54, -39.22)
CIE-LCHlch(53.55, 86.00, 332.87°)
OKLaboklab(63.24% 0.2225 -0.1075)
OKLCHoklch(63.24% 0.247 334.2)
XYZxyz(40.5199, 21.5509, 54.8382)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB34C5 #34DB4A
analogous
#9D34DB #DB34C5 #DB3471
triadic
#DB34C5 #C5DB34 #34C5DB
tetradic
#DB34C5 #DB9D34 #34DB4A #3471DB
square
#DB34C5 #DB9D34 #34DB4A #3471DB
split-complementary
#DB34C5 #71DB34 #34DB9D
monochromatic
#7E1671 #B2209F #DB34C5 #E468D4 #ED9CE3

Accessibility & contrast

On white

3.96
#DB34C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#DB34C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB34C5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB34C5#FFFFFF#000000##000000
##DB34C51.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3070C9
Deuteranopia (green-blind)
#7088C1
Tritanopia (blue-blind)
#E5457B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db34c5;
/* rgb */ color: rgb(219, 52, 197);
/* oklch */ color: oklch(63.2% 0.247 334.2);
Tailwind
colors: {
  custom: {
    50: '#ea7ed7',
    500: '#db34c5',
    950: '#000000',
  },
}
SCSS
$custom: #db34c5;
$custom-light: #ea7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#db34c5",
  "rgb": {
    "r": 219,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 307.904,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.63237,
    "c": 0.24712,
    "h": 334.2
  },
  "luminance": 0.21547
}

Semantic roles & 50–950 ramp

primary
#DB34C5
secondary
#91D99B
accent
#ED533B
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DB34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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