#DF71D5#DF71D5

#DF71D5 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.9% C 0.182 H 330.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#DF71D5
RGBrgb(223, 113, 213)
HSLhsl(305, 63%, 66%)
HSVhsv(305, 49%, 87%)
CMYKcmyk(0%, 49.3%, 4.5%, 12.5%)
CIE-LABlab(63.59, 56.05, -32.56)
CIE-LCHlch(63.59, 64.82, 329.84°)
OKLaboklab(70.92% 0.1589 -0.0888)
OKLCHoklch(70.92% 0.182 330.8)
XYZxyz(48.3464, 32.3053, 66.6269)
Luminance0.3230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71D5 #71DF7B
analogous
#B271DF #DF71D5 #DF719E
triadic
#DF71D5 #D5DF71 #71D5DF
tetradic
#DF71D5 #DFB271 #71DF7B #719EDF
square
#DF71D5 #DFB271 #71DF7B #719EDF
split-complementary
#DF71D5 #9EDF71 #71DFB2
monochromatic
#AE27A2 #D43FC6 #DF71D5 #EAA3E4 #F6D5F3

Accessibility & contrast

On white

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

On black

7.46
#DF71D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71D5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71D5#FFFFFF#000000##000000
##DF71D51.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C90D8
Deuteranopia (green-blind)
#8CA0D2
Tritanopia (blue-blind)
#E67A99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #df71d5;
/* rgb */ color: rgb(223, 113, 213);
/* oklch */ color: oklch(70.9% 0.182 330.8);
Tailwind
colors: {
  custom: {
    50: '#eb9ee2',
    500: '#df71d5',
    950: '#000000',
  },
}
SCSS
$custom: #df71d5;
$custom-light: #eb9ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#df71d5",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 213
  },
  "hsl": {
    "h": 305.455,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70921,
    "c": 0.18202,
    "h": 330.8
  },
  "luminance": 0.32302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF71D5

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

Preview Lab → · Contrast checker → · Palette generator →

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