#DB71FC#DB71FC

#DB71FC is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.4% C 0.216 H 317.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#DB71FC
RGBrgb(219, 113, 252)
HSLhsl(286, 96%, 72%)
HSVhsv(286, 55%, 99%)
CMYKcmyk(13.1%, 55.2%, 0%, 1.2%)
CIE-LABlab(64.88, 62.10, -52.22)
CIE-LCHlch(64.88, 81.13, 319.94°)
OKLaboklab(72.35% 0.1591 -0.1456)
OKLCHoklch(72.35% 0.216 317.6)
XYZxyz(52.6867, 33.9005, 95.8447)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71FC #92FC71
analogous
#9671FC #DB71FC #FC71D8
triadic
#DB71FC #FCDB71 #71FCDB
tetradic
#DB71FC #FC9671 #92FC71 #71D8FC
square
#DB71FC #FC9671 #92FC71 #71D8FC
split-complementary
#DB71FC #D8FC71 #71FC96
monochromatic
#B605EE #CC35FB #DB71FC #EAADFD #F7E1FE

Accessibility & contrast

On white

2.70
#DB71FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#DB71FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71FC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71FC#FFFFFF#000000##000000
##DB71FC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#DA87AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db71fc;
/* rgb */ color: rgb(219, 113, 252);
/* oklch */ color: oklch(72.4% 0.216 317.6);
Tailwind
colors: {
  custom: {
    50: '#e99efe',
    500: '#db71fc',
    950: '#000000',
  },
}
SCSS
$custom: #db71fc;
$custom-light: #e99efe;
$custom-dark: #000000;
JSON
{
  "hex": "#db71fc",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 285.755,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7235,
    "c": 0.21566,
    "h": 317.6
  },
  "luminance": 0.33899
}

Semantic roles & 50–950 ramp

primary
#DB71FC
secondary
#DBF6D3
accent
#E60036
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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