#DB31D0#DB31D0

#DB31D0 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.6% C 0.257 H 331.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#DB31D0
RGBrgb(219, 49, 208)
HSLhsl(304, 70%, 53%)
HSVhsv(304, 78%, 86%)
CMYKcmyk(0%, 77.6%, 5%, 14.1%)
CIE-LABlab(53.83, 78.93, -45.09)
CIE-LCHlch(53.83, 90.90, 330.26°)
OKLaboklab(63.62% 0.2252 -0.1244)
OKLCHoklch(63.62% 0.257 331.1)
XYZxyz(41.6969, 21.8142, 61.6768)
Luminance0.2181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB31D0 #31DB3C
analogous
#9131DB #DB31D0 #DB317B
triadic
#DB31D0 #D0DB31 #31D0DB
tetradic
#DB31D0 #DB9131 #31DB3C #317BDB
square
#DB31D0 #DB9131 #31DB3C #317BDB
split-complementary
#DB31D0 #7BDB31 #31DB91
monochromatic
#7C1675 #B01FA7 #DB31D0 #E465DC #ED99E8

Accessibility & contrast

On white

3.92
#DB31D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#DB31D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB31D0
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB31D0#FFFFFF#000000##000000
##DB31D01.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B72D4
Deuteranopia (green-blind)
#6A89CC
Tritanopia (blue-blind)
#E44980
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db31d0;
/* rgb */ color: rgb(219, 49, 208);
/* oklch */ color: oklch(63.6% 0.257 331.1);
Tailwind
colors: {
  custom: {
    50: '#eb7ddf',
    500: '#db31d0',
    950: '#000000',
  },
}
SCSS
$custom: #db31d0;
$custom-light: #eb7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#db31d0",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 303.882,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.6362,
    "c": 0.25724,
    "h": 331.1
  },
  "luminance": 0.21811
}

Semantic roles & 50–950 ramp

primary
#DB31D0
secondary
#8FD994
accent
#ED463B
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #DB31D0

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

Preview Lab → · Contrast checker → · Palette generator →

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