#DB34E2#DB34E2

#DB34E2 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.8% C 0.267 H 326.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#DB34E2
RGBrgb(219, 52, 226)
HSLhsl(298, 75%, 55%)
HSVhsv(298, 77%, 89%)
CMYKcmyk(3.1%, 77%, 0%, 11.4%)
CIE-LABlab(55.08, 80.89, -53.33)
CIE-LCHlch(55.08, 96.89, 326.61°)
OKLaboklab(64.83% 0.2225 -0.1484)
OKLCHoklch(64.83% 0.267 326.3)
XYZxyz(44.1680, 23.0101, 74.0518)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB34E2 #3BE234
analogous
#8434E2 #DB34E2 #E23492
triadic
#DB34E2 #E2DB34 #34E2DB
tetradic
#DB34E2 #E28434 #3BE234 #3492E2
square
#DB34E2 #E28434 #3BE234 #3492E2
split-complementary
#DB34E2 #92E234 #34E284
monochromatic
#831388 #B71BBE #DB34E2 #E46AEA #EE9FF1

Accessibility & contrast

On white

3.75
#DB34E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#DB34E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB34E2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB34E2#FFFFFF#000000##000000
##DB34E21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#608BDE
Tritanopia (blue-blind)
#E1548B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #db34e2;
/* rgb */ color: rgb(219, 52, 226);
/* oklch */ color: oklch(64.8% 0.267 326.3);
Tailwind
colors: {
  custom: {
    50: '#eb7fec',
    500: '#db34e2',
    950: '#000000',
  },
}
SCSS
$custom: #db34e2;
$custom-light: #eb7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#db34e2",
  "rgb": {
    "r": 219,
    "g": 52,
    "b": 226
  },
  "hsl": {
    "h": 297.586,
    "s": 75,
    "l": 54.51
  },
  "oklch": {
    "l": 0.64828,
    "c": 0.26741,
    "h": 326.3
  },
  "luminance": 0.23007
}

Semantic roles & 50–950 ramp

primary
#DB34E2
secondary
#97DE94
accent
#F2363E
background
#FFF8FE
surface
#FEF0FD
border
#D6CBD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #DB34E2

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

Preview Lab → · Contrast checker → · Palette generator →

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