#DF71D6#DF71D6

#DF71D6 is a light, vivid purple. Relative luminance 0.324; OKLCH L 71.0% C 0.183 H 330.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#DF71D6
RGBrgb(223, 113, 214)
HSLhsl(305, 63%, 66%)
HSVhsv(305, 49%, 87%)
CMYKcmyk(0%, 49.3%, 4%, 12.5%)
CIE-LABlab(63.64, 56.22, -33.06)
CIE-LCHlch(63.64, 65.22, 329.54°)
OKLaboklab(70.97% 0.1591 -0.0902)
OKLCHoklch(70.97% 0.183 330.4)
XYZxyz(48.4737, 32.3562, 67.2975)
Luminance0.3235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71D6 #71DF7A
analogous
#B171DF #DF71D6 #DF719F
triadic
#DF71D6 #D6DF71 #71D6DF
tetradic
#DF71D6 #DFB171 #71DF7A #719FDF
square
#DF71D6 #DFB171 #71DF7A #719FDF
split-complementary
#DF71D6 #9FDF71 #71DFB1
monochromatic
#AE27A3 #D43FC8 #DF71D6 #EAA3E4 #F6D5F3

Accessibility & contrast

On white

2.81
#DF71D6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#DF71D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71D6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71D6#FFFFFF#000000##000000
##DF71D61.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B91D9
Deuteranopia (green-blind)
#8BA0D3
Tritanopia (blue-blind)
#E67A9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #df71d6;
/* rgb */ color: rgb(223, 113, 214);
/* oklch */ color: oklch(71.0% 0.183 330.4);
Tailwind
colors: {
  custom: {
    50: '#eb9ee3',
    500: '#df71d6',
    950: '#000000',
  },
}
SCSS
$custom: #df71d6;
$custom-light: #eb9ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#df71d6",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 214
  },
  "hsl": {
    "h": 304.909,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70966,
    "c": 0.18287,
    "h": 330.4
  },
  "luminance": 0.32353
}

Semantic roles & 50–950 ramp

primary
#DF71D6
secondary
#C4E8C7
accent
#CB291B
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #DF71D6

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

Preview Lab → · Contrast checker → · Palette generator →

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