#DF71FB#DF71FB

#DF71FB is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.8% C 0.216 H 319.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#DF71FB
RGBrgb(223, 113, 251)
HSLhsl(288, 95%, 71%)
HSVhsv(288, 55%, 98%)
CMYKcmyk(11.2%, 55%, 0%, 1.6%)
CIE-LABlab(65.33, 62.91, -50.93)
CIE-LCHlch(65.33, 80.94, 321.00°)
OKLaboklab(72.77% 0.1637 -0.1417)
OKLCHoklch(72.77% 0.217 319.1)
XYZxyz(53.7469, 34.4654, 95.0694)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71FB #8DFB71
analogous
#9A71FB #DF71FB #FB71D2
triadic
#DF71FB #FBDF71 #71FBDF
tetradic
#DF71FB #FB9A71 #8DFB71 #71D2FB
square
#DF71FB #FB9A71 #8DFB71 #71D2FB
split-complementary
#DF71FB #D2FB71 #71FB9A
monochromatic
#BD07EB #D235F9 #DF71FB #ECADFD #F8E1FE

Accessibility & contrast

On white

2.66
#DF71FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#DF71FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71FB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71FB#FFFFFF#000000##000000
##DF71FB1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#7AA2F7
Tritanopia (blue-blind)
#DF86AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #df71fb;
/* rgb */ color: rgb(223, 113, 251);
/* oklch */ color: oklch(72.8% 0.216 319.1);
Tailwind
colors: {
  custom: {
    50: '#ec9efd',
    500: '#df71fb',
    950: '#000000',
  },
}
SCSS
$custom: #df71fb;
$custom-light: #ec9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#df71fb",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 287.826,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72767,
    "c": 0.2165,
    "h": 319.1
  },
  "luminance": 0.34463
}

Semantic roles & 50–950 ramp

primary
#DF71FB
secondary
#D9F6D2
accent
#E6002F
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #DF71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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