#DB71E3#DB71E3

#DB71E3 is a light, vivid purple. Relative luminance 0.324; OKLCH L 71.1% C 0.192 H 324.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#DB71E3
RGBrgb(219, 113, 227)
HSLhsl(296, 67%, 67%)
HSVhsv(296, 50%, 89%)
CMYKcmyk(3.5%, 50.2%, 0%, 11%)
CIE-LABlab(63.69, 57.39, -40.28)
CIE-LCHlch(63.69, 70.11, 324.94°)
OKLaboklab(71.08% 0.1566 -0.111)
OKLCHoklch(71.08% 0.192 324.7)
XYZxyz(48.9825, 32.4188, 76.3355)
Luminance0.3242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71E3 #79E371
analogous
#A271E3 #DB71E3 #E371B2
triadic
#DB71E3 #E3DB71 #71E3DB
tetradic
#DB71E3 #E3A271 #79E371 #71B2E3
square
#DB71E3 #E3A271 #79E371 #71B2E3
split-complementary
#DB71E3 #B2E371 #71E3A2
monochromatic
#AC24B6 #CE3ED9 #DB71E3 #E8A4ED #F5D7F7

Accessibility & contrast

On white

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

On black

7.48
#DB71E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71E3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71E3#FFFFFF#000000##000000
##DB71E31.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6392E7
Deuteranopia (green-blind)
#839FE0
Tritanopia (blue-blind)
#DF7FA0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #db71e3;
/* rgb */ color: rgb(219, 113, 227);
/* oklch */ color: oklch(71.1% 0.192 324.7);
Tailwind
colors: {
  custom: {
    50: '#e89eec',
    500: '#db71e3',
    950: '#000000',
  },
}
SCSS
$custom: #db71e3;
$custom-light: #e89eec;
$custom-dark: #000000;
JSON
{
  "hex": "#db71e3",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 227
  },
  "hsl": {
    "h": 295.789,
    "s": 67.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71081,
    "c": 0.19198,
    "h": 324.7
  },
  "luminance": 0.32416
}

Semantic roles & 50–950 ramp

primary
#DB71E3
secondary
#C8EAC6
accent
#CF1723
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #DB71E3

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

Preview Lab → · Contrast checker → · Palette generator →

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