#DB71CF#DB71CF

#DB71CF is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.2% C 0.174 H 331.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#DB71CF
RGBrgb(219, 113, 207)
HSLhsl(307, 60%, 65%)
HSVhsv(307, 48%, 86%)
CMYKcmyk(0%, 48.4%, 5.5%, 14.1%)
CIE-LABlab(62.83, 53.88, -30.43)
CIE-LCHlch(62.83, 61.88, 330.55°)
OKLaboklab(70.16% 0.1533 -0.0828)
OKLCHoklch(70.16% 0.174 331.6)
XYZxyz(46.3807, 31.3781, 62.6330)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71CF #71DB7D
analogous
#B271DB #DB71CF #DB719A
triadic
#DB71CF #CFDB71 #71CFDB
tetradic
#DB71CF #DBB271 #71DB7D #719ADB
square
#DB71CF #DBB271 #71DB7D #719ADB
split-complementary
#DB71CF #9ADB71 #71DBB2
monochromatic
#A72A99 #CF40BE #DB71CF #E7A2E0 #F4D3F0

Accessibility & contrast

On white

2.89
#DB71CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#DB71CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71CF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71CF#FFFFFF#000000##000000
##DB71CF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8FD2
Deuteranopia (green-blind)
#8B9DCC
Tritanopia (blue-blind)
#E37996
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #db71cf;
/* rgb */ color: rgb(219, 113, 207);
/* oklch */ color: oklch(70.2% 0.174 331.6);
Tailwind
colors: {
  custom: {
    50: '#e89dde',
    500: '#db71cf',
    950: '#000000',
  },
}
SCSS
$custom: #db71cf;
$custom-light: #e89dde;
$custom-dark: #000000;
JSON
{
  "hex": "#db71cf",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 306.792,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70161,
    "c": 0.17426,
    "h": 331.6
  },
  "luminance": 0.31375
}

Semantic roles & 50–950 ramp

primary
#DB71CF
secondary
#C2E6C6
accent
#C7311E
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #DB71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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