#DB71DC#DB71DC

#DB71DC is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.186 H 327.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#DB71DC
RGBrgb(219, 113, 220)
HSLhsl(299, 60%, 65%)
HSVhsv(299, 49%, 86%)
CMYKcmyk(0.5%, 48.6%, 0%, 13.7%)
CIE-LABlab(63.38, 56.13, -36.86)
CIE-LCHlch(63.38, 67.15, 326.71°)
OKLaboklab(70.75% 0.1556 -0.1012)
OKLCHoklch(70.75% 0.186 327)
XYZxyz(48.0359, 32.0402, 71.3505)
Luminance0.3204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71DC #72DC71
analogous
#A571DC #DB71DC #DC71A8
triadic
#DB71DC #DCDB71 #71DCDB
tetradic
#DB71DC #DCA571 #72DC71 #71A8DC
square
#DB71DC #DCA571 #72DC71 #71A8DC
split-complementary
#DB71DC #A8DC71 #71DCA5
monochromatic
#A82AA9 #CF40D0 #DB71DC #E7A2E8 #F4D3F4

Accessibility & contrast

On white

2.83
#DB71DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#DB71DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71DC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71DC#FFFFFF#000000##000000
##DB71DC1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E0
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#E07D9D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #db71dc;
/* rgb */ color: rgb(219, 113, 220);
/* oklch */ color: oklch(70.7% 0.186 327.0);
Tailwind
colors: {
  custom: {
    50: '#e89ee7',
    500: '#db71dc',
    950: '#000000',
  },
}
SCSS
$custom: #db71dc;
$custom-light: #e89ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#db71dc",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 299.439,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70749,
    "c": 0.18561,
    "h": 327
  },
  "luminance": 0.32038
}

Semantic roles & 50–950 ramp

primary
#DB71DC
secondary
#C3E6C2
accent
#C81D1F
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #DB71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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