#DB71F8#DB71F8

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

Color values

HEX#DB71F8
RGBrgb(219, 113, 248)
HSLhsl(287, 91%, 71%)
HSVhsv(287, 54%, 97%)
CMYKcmyk(11.7%, 54.4%, 0%, 2.7%)
CIE-LABlab(64.68, 61.32, -50.34)
CIE-LCHlch(64.68, 79.34, 320.62°)
OKLaboklab(72.14% 0.1589 -0.1401)
OKLCHoklch(72.14% 0.212 318.6)
XYZxyz(52.0596, 33.6497, 92.5415)
Luminance0.3365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71F8 #8EF871
analogous
#9771F8 #DB71F8 #F871D1
triadic
#DB71F8 #F8DB71 #71F8DB
tetradic
#DB71F8 #F89771 #8EF871 #71D1F8
square
#DB71F8 #F89771 #8EF871 #71D1F8
split-complementary
#DB71F8 #D1F871 #71F897
monochromatic
#B50BE3 #CC37F5 #DB71F8 #EAABFB #F8E2FE

Accessibility & contrast

On white

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

On black

7.73
#DB71F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71F8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71F8#FFFFFF#000000##000000
##DB71F81.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FC
Deuteranopia (green-blind)
#78A1F4
Tritanopia (blue-blind)
#DB86AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db71f8;
/* rgb */ color: rgb(219, 113, 248);
/* oklch */ color: oklch(72.1% 0.212 318.6);
Tailwind
colors: {
  custom: {
    50: '#e99efb',
    500: '#db71f8',
    950: '#000000',
  },
}
SCSS
$custom: #db71f8;
$custom-light: #e99efb;
$custom-dark: #000000;
JSON
{
  "hex": "#db71f8",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 287.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72139,
    "c": 0.2118,
    "h": 318.6
  },
  "luminance": 0.33648
}

Semantic roles & 50–950 ramp

primary
#DB71F8
secondary
#D8F5D0
accent
#E60031
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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