#DF71D2#DF71D2

#DF71D2 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.8% C 0.179 H 331.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#DF71D2
RGBrgb(223, 113, 210)
HSLhsl(307, 63%, 66%)
HSVhsv(307, 49%, 87%)
CMYKcmyk(0%, 49.3%, 5.8%, 12.5%)
CIE-LABlab(63.47, 55.54, -31.07)
CIE-LCHlch(63.47, 63.64, 330.78°)
OKLaboklab(70.79% 0.1583 -0.0846)
OKLCHoklch(70.79% 0.18 331.9)
XYZxyz(47.9691, 32.1544, 64.6401)
Luminance0.3215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71D2 #71DF7E
analogous
#B571DF #DF71D2 #DF719B
triadic
#DF71D2 #D2DF71 #71D2DF
tetradic
#DF71D2 #DFB571 #71DF7E #719BDF
square
#DF71D2 #DFB571 #71DF7E #719BDF
split-complementary
#DF71D2 #9BDF71 #71DFB5
monochromatic
#AE279E #D43FC2 #DF71D2 #EAA3E2 #F6D5F2

Accessibility & contrast

On white

2.83
#DF71D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#DF71D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71D2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71D2#FFFFFF#000000##000000
##DF71D21.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D90D5
Deuteranopia (green-blind)
#8D9FCF
Tritanopia (blue-blind)
#E77998
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #df71d2;
/* rgb */ color: rgb(223, 113, 210);
/* oklch */ color: oklch(70.8% 0.179 331.9);
Tailwind
colors: {
  custom: {
    50: '#eb9ee0',
    500: '#df71d2',
    950: '#000000',
  },
}
SCSS
$custom: #df71d2;
$custom-light: #eb9ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#df71d2",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 307.091,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70788,
    "c": 0.1795,
    "h": 331.9
  },
  "luminance": 0.32151
}

Semantic roles & 50–950 ramp

primary
#DF71D2
secondary
#C4E8C8
accent
#CB2F1B
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #DF71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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