#DF71D3#DF71D3

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

Color values

HEX#DF71D3
RGBrgb(223, 113, 211)
HSLhsl(307, 63%, 66%)
HSVhsv(307, 49%, 87%)
CMYKcmyk(0%, 49.3%, 5.4%, 12.5%)
CIE-LABlab(63.51, 55.71, -31.57)
CIE-LCHlch(63.51, 64.03, 330.46°)
OKLaboklab(70.83% 0.1585 -0.086)
OKLCHoklch(70.83% 0.18 331.5)
XYZxyz(48.0941, 32.2043, 65.2983)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71D3 #71DF7D
analogous
#B471DF #DF71D3 #DF719C
triadic
#DF71D3 #D3DF71 #71D3DF
tetradic
#DF71D3 #DFB471 #71DF7D #719CDF
square
#DF71D3 #DFB471 #71DF7D #719CDF
split-complementary
#DF71D3 #9CDF71 #71DFB4
monochromatic
#AE27A0 #D43FC4 #DF71D3 #EAA3E2 #F6D5F2

Accessibility & contrast

On white

2.82
#DF71D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#DF71D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71D3
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71D3#FFFFFF#000000##000000
##DF71D31.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df71d3;
/* rgb */ color: rgb(223, 113, 211);
/* oklch */ color: oklch(70.8% 0.180 331.5);
Tailwind
colors: {
  custom: {
    50: '#eb9ee0',
    500: '#df71d3',
    950: '#000000',
  },
}
SCSS
$custom: #df71d3;
$custom-light: #eb9ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#df71d3",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 306.545,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70832,
    "c": 0.18033,
    "h": 331.5
  },
  "luminance": 0.32201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF71D3

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

Preview Lab → · Contrast checker → · Palette generator →

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