#DB71E8#DB71E8

#DB71E8 is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.3% C 0.197 H 323.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#DB71E8
RGBrgb(219, 113, 232)
HSLhsl(293, 72%, 68%)
HSVhsv(293, 51%, 91%)
CMYKcmyk(5.6%, 51.3%, 0%, 9%)
CIE-LABlab(63.92, 58.30, -42.70)
CIE-LCHlch(63.92, 72.27, 323.78°)
OKLaboklab(71.33% 0.1573 -0.118)
OKLCHoklch(71.33% 0.197 323.1)
XYZxyz(49.6826, 32.6989, 80.0228)
Luminance0.3270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71E8 #7EE871
analogous
#9F71E8 #DB71E8 #E871BA
triadic
#DB71E8 #E8DB71 #71E8DB
tetradic
#DB71E8 #E89F71 #7EE871 #71BAE8
square
#DB71E8 #E89F71 #7EE871 #71BAE8
split-complementary
#DB71E8 #BAE871 #71E89F
monochromatic
#AE1FC0 #CE3CDF #DB71E8 #E8A6F1 #F6DAF9

Accessibility & contrast

On white

2.79
#DB71E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#DB71E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71E8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71E8#FFFFFF#000000##000000
##DB71E81.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6093EC
Deuteranopia (green-blind)
#819FE5
Tritanopia (blue-blind)
#DE80A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #db71e8;
/* rgb */ color: rgb(219, 113, 232);
/* oklch */ color: oklch(71.3% 0.197 323.1);
Tailwind
colors: {
  custom: {
    50: '#e89ef0',
    500: '#db71e8',
    950: '#000000',
  },
}
SCSS
$custom: #db71e8;
$custom-light: #e89ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#db71e8",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 293.445,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71325,
    "c": 0.19661,
    "h": 323.1
  },
  "luminance": 0.32697
}

Semantic roles & 50–950 ramp

primary
#DB71E8
secondary
#CCEDC8
accent
#D41127
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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