#DB12E2#DB12E2

#DB12E2 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 63.3% C 0.287 H 326.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#DB12E2
RGBrgb(219, 18, 226)
HSLhsl(298, 85%, 48%)
HSVhsv(298, 92%, 89%)
CMYKcmyk(3.1%, 92%, 0%, 11.4%)
CIE-LABlab(52.94, 87.17, -56.76)
CIE-LCHlch(52.94, 104.02, 326.93°)
OKLaboklab(63.31% 0.24 -0.1582)
OKLCHoklch(63.31% 0.287 326.6)
XYZxyz(43.1564, 20.9869, 73.7146)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB12E2 #19E212
analogous
#7312E2 #DB12E2 #E21281
triadic
#DB12E2 #E2DB12 #12E2DB
tetradic
#DB12E2 #E27312 #19E212 #1281E2
square
#DB12E2 #E27312 #19E212 #1281E2
split-complementary
#DB12E2 #81E212 #12E273
monochromatic
#6D0971 #A40DA9 #DB12E2 #EA41F0 #F07AF4

Accessibility & contrast

On white

4.04
#DB12E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#DB12E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB12E2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB12E2#FFFFFF#000000##000000
##DB12E21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#5686DE
Tritanopia (blue-blind)
#E14786
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #db12e2;
/* rgb */ color: rgb(219, 18, 226);
/* oklch */ color: oklch(63.3% 0.287 326.6);
Tailwind
colors: {
  custom: {
    50: '#eb76ec',
    500: '#db12e2',
    950: '#000000',
  },
}
SCSS
$custom: #db12e2;
$custom-light: #eb76ec;
$custom-dark: #000000;
JSON
{
  "hex": "#db12e2",
  "rgb": {
    "r": 219,
    "g": 18,
    "b": 226
  },
  "hsl": {
    "h": 297.981,
    "s": 85.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.63312,
    "c": 0.28747,
    "h": 326.6
  },
  "luminance": 0.20984
}

Semantic roles & 50–950 ramp

primary
#DB12E2
secondary
#77DC74
accent
#FB2C33
background
#FFF8FE
surface
#FEEFFD
border
#D6CAD5
text
#170A16
muted
#857C84

Preview Lab

Preview with #DB12E2

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

Preview Lab → · Contrast checker → · Palette generator →

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