#DB71F7#DB71F7

#DB71F7 is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.1% C 0.211 H 318.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#DB71F7
RGBrgb(219, 113, 247)
HSLhsl(287, 89%, 71%)
HSVhsv(287, 54%, 97%)
CMYKcmyk(11.3%, 54.3%, 0%, 3.1%)
CIE-LABlab(64.63, 61.13, -49.87)
CIE-LCHlch(64.63, 78.89, 320.79°)
OKLaboklab(72.09% 0.1588 -0.1387)
OKLCHoklch(72.09% 0.211 318.9)
XYZxyz(51.9048, 33.5878, 91.7266)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71F7 #8DF771
analogous
#9871F7 #DB71F7 #F771D0
triadic
#DB71F7 #F7DB71 #71F7DB
tetradic
#DB71F7 #F79871 #8DF771 #71D0F7
square
#DB71F7 #F79871 #8DF771 #71D0F7
split-complementary
#DB71F7 #D0F771 #71F798
monochromatic
#B50DE1 #CC37F4 #DB71F7 #EAABFA #F8E2FD

Accessibility & contrast

On white

2.72
#DB71F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#DB71F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71F7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71F7#FFFFFF#000000##000000
##DB71F71.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#DB85AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db71f7;
/* rgb */ color: rgb(219, 113, 247);
/* oklch */ color: oklch(72.1% 0.211 318.9);
Tailwind
colors: {
  custom: {
    50: '#e99efa',
    500: '#db71f7',
    950: '#000000',
  },
}
SCSS
$custom: #db71f7;
$custom-light: #e99efa;
$custom-dark: #000000;
JSON
{
  "hex": "#db71f7",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 287.463,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72086,
    "c": 0.21084,
    "h": 318.9
  },
  "luminance": 0.33586
}

Semantic roles & 50–950 ramp

primary
#DB71F7
secondary
#D7F4D0
accent
#E60030
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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