#DB34C7#DB34C7

#DB34C7 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.3% C 0.248 H 333.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#DB34C7
RGBrgb(219, 52, 199)
HSLhsl(307, 70%, 53%)
HSVhsv(307, 76%, 86%)
CMYKcmyk(0%, 76.3%, 9.1%, 14.1%)
CIE-LABlab(53.65, 76.82, -40.21)
CIE-LCHlch(53.65, 86.71, 332.37°)
OKLaboklab(63.34% 0.2226 -0.1103)
OKLCHoklch(63.34% 0.248 333.6)
XYZxyz(40.7506, 21.6431, 56.0531)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB34C7 #34DB48
analogous
#9C34DB #DB34C7 #DB3473
triadic
#DB34C7 #C7DB34 #34C7DB
tetradic
#DB34C7 #DB9C34 #34DB48 #3473DB
square
#DB34C7 #DB9C34 #34DB48 #3473DB
split-complementary
#DB34C7 #73DB34 #34DB9C
monochromatic
#7E1672 #B220A1 #DB34C7 #E468D5 #ED9CE4

Accessibility & contrast

On white

3.94
#DB34C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#DB34C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB34C7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB34C7#FFFFFF#000000##000000
##DB34C71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CB
Deuteranopia (green-blind)
#6F89C3
Tritanopia (blue-blind)
#E5467C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db34c7;
/* rgb */ color: rgb(219, 52, 199);
/* oklch */ color: oklch(63.3% 0.248 333.6);
Tailwind
colors: {
  custom: {
    50: '#ea7ed8',
    500: '#db34c7',
    950: '#000000',
  },
}
SCSS
$custom: #db34c7;
$custom-light: #ea7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#db34c7",
  "rgb": {
    "r": 219,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 307.186,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6334,
    "c": 0.24846,
    "h": 333.6
  },
  "luminance": 0.2164
}

Semantic roles & 50–950 ramp

primary
#DB34C7
secondary
#91D99A
accent
#ED503B
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DB34C7

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

Preview Lab → · Contrast checker → · Palette generator →

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