#DB71E2#DB71E2

#DB71E2 is a light, vivid purple. Relative luminance 0.324; OKLCH L 71.0% C 0.191 H 325.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#DB71E2
RGBrgb(219, 113, 226)
HSLhsl(296, 66%, 66%)
HSVhsv(296, 50%, 89%)
CMYKcmyk(3.1%, 50%, 0%, 11.4%)
CIE-LABlab(63.64, 57.21, -39.79)
CIE-LCHlch(63.64, 69.69, 325.18°)
OKLaboklab(71.03% 0.1565 -0.1096)
OKLCHoklch(71.03% 0.191 325)
XYZxyz(48.8449, 32.3638, 75.6108)
Luminance0.3236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71E2 #78E271
analogous
#A371E2 #DB71E2 #E271B1
triadic
#DB71E2 #E2DB71 #71E2DB
tetradic
#DB71E2 #E2A371 #78E271 #71B1E2
square
#DB71E2 #E2A371 #78E271 #71B1E2
split-complementary
#DB71E2 #B1E271 #71E2A3
monochromatic
#AB25B4 #CE3ED8 #DB71E2 #E8A4EC #F5D7F7

Accessibility & contrast

On white

2.81
#DB71E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#DB71E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71E2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71E2#FFFFFF#000000##000000
##DB71E21.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6392E6
Deuteranopia (green-blind)
#849FDF
Tritanopia (blue-blind)
#DF7E9F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #db71e2;
/* rgb */ color: rgb(219, 113, 226);
/* oklch */ color: oklch(71.0% 0.191 325.0);
Tailwind
colors: {
  custom: {
    50: '#e89eeb',
    500: '#db71e2',
    950: '#000000',
  },
}
SCSS
$custom: #db71e2;
$custom-light: #e89eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#db71e2",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 296.283,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71033,
    "c": 0.19106,
    "h": 325
  },
  "luminance": 0.32361
}

Semantic roles & 50–950 ramp

primary
#DB71E2
secondary
#C7EAC5
accent
#CE1823
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #DB71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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