#DB51E1#DB51E1

#DB51E1 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.2% C 0.236 H 326.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#DB51E1
RGBrgb(219, 81, 225)
HSLhsl(298, 71%, 60%)
HSVhsv(298, 64%, 88%)
CMYKcmyk(2.7%, 64%, 0%, 11.8%)
CIE-LABlab(58.40, 71.15, -47.49)
CIE-LCHlch(58.40, 85.54, 326.28°)
OKLaboklab(67.19% 0.1957 -0.1316)
OKLCHoklch(67.19% 0.236 326.1)
XYZxyz(45.7455, 26.3841, 73.9027)
Luminance0.2638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51E1 #57E151
analogous
#9351E1 #DB51E1 #E1519F
triadic
#DB51E1 #E1DB51 #51E1DB
tetradic
#DB51E1 #E19351 #57E151 #519FE1
square
#DB51E1 #E19351 #57E151 #519FE1
split-complementary
#DB51E1 #9FE151 #51E193
monochromatic
#971B9D #CA24D1 #DB51E1 #E685EA #F1B9F3

Accessibility & contrast

On white

3.35
#DB51E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#DB51E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51E1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51E1#FFFFFF#000000##000000
##DB51E11.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3981E5
Deuteranopia (green-blind)
#6F92DD
Tritanopia (blue-blind)
#E06692
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #db51e1;
/* rgb */ color: rgb(219, 81, 225);
/* oklch */ color: oklch(67.2% 0.236 326.1);
Tailwind
colors: {
  custom: {
    50: '#ea8beb',
    500: '#db51e1',
    950: '#000000',
  },
}
SCSS
$custom: #db51e1;
$custom-light: #ea8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#db51e1",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 297.5,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.67186,
    "c": 0.23585,
    "h": 326.1
  },
  "luminance": 0.26381
}

Semantic roles & 50–950 ramp

primary
#DB51E1
secondary
#ADE3AB
accent
#ED3A42
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB51E1

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

Preview Lab → · Contrast checker → · Palette generator →

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