#DB71F2#DB71F2

#DB71F2 is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.8% C 0.206 H 320.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#DB71F2
RGBrgb(219, 113, 242)
HSLhsl(289, 83%, 70%)
HSVhsv(289, 53%, 95%)
CMYKcmyk(9.5%, 53.3%, 0%, 5.1%)
CIE-LABlab(64.39, 60.17, -47.49)
CIE-LCHlch(64.39, 76.66, 321.72°)
OKLaboklab(71.83% 0.1584 -0.1318)
OKLCHoklch(71.83% 0.206 320.2)
XYZxyz(51.1436, 33.2833, 87.7175)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71F2 #88F271
analogous
#9A71F2 #DB71F2 #F271C9
triadic
#DB71F2 #F2DB71 #71F2DB
tetradic
#DB71F2 #F29A71 #88F271 #71C9F2
square
#DB71F2 #F29A71 #88F271 #71C9F2
split-complementary
#DB71F2 #C9F271 #71F29A
monochromatic
#B314D5 #CD39ED #DB71F2 #E9A9F7 #F7E1FC

Accessibility & contrast

On white

2.74
#DB71F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#DB71F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71F2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71F2#FFFFFF#000000##000000
##DB71F21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#DC84A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #db71f2;
/* rgb */ color: rgb(219, 113, 242);
/* oklch */ color: oklch(71.8% 0.206 320.2);
Tailwind
colors: {
  custom: {
    50: '#e99ef7',
    500: '#db71f2',
    950: '#000000',
  },
}
SCSS
$custom: #db71f2;
$custom-light: #e99ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#db71f2",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 289.302,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71827,
    "c": 0.20604,
    "h": 320.2
  },
  "luminance": 0.33281
}

Semantic roles & 50–950 ramp

primary
#DB71F2
secondary
#D4F2CD
accent
#E0062D
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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