#DF71D4#DF71D4

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

Color values

HEX#DF71D4
RGBrgb(223, 113, 212)
HSLhsl(306, 63%, 66%)
HSVhsv(306, 49%, 87%)
CMYKcmyk(0%, 49.3%, 4.9%, 12.5%)
CIE-LABlab(63.55, 55.88, -32.07)
CIE-LCHlch(63.55, 64.43, 330.15°)
OKLaboklab(70.88% 0.1587 -0.0874)
OKLCHoklch(70.88% 0.181 331.2)
XYZxyz(48.2199, 32.2546, 65.9605)
Luminance0.3225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71D4 #71DF7C
analogous
#B371DF #DF71D4 #DF719D
triadic
#DF71D4 #D4DF71 #71D4DF
tetradic
#DF71D4 #DFB371 #71DF7C #719DDF
square
#DF71D4 #DFB371 #71DF7C #719DDF
split-complementary
#DF71D4 #9DDF71 #71DFB3
monochromatic
#AE27A1 #D43FC5 #DF71D4 #EAA3E3 #F6D5F2

Accessibility & contrast

On white

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

On black

7.45
#DF71D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71D4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71D4#FFFFFF#000000##000000
##DF71D41.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C90D7
Deuteranopia (green-blind)
#8C9FD1
Tritanopia (blue-blind)
#E77A99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #df71d4;
/* rgb */ color: rgb(223, 113, 212);
/* oklch */ color: oklch(70.9% 0.181 331.2);
Tailwind
colors: {
  custom: {
    50: '#eb9ee1',
    500: '#df71d4',
    950: '#000000',
  },
}
SCSS
$custom: #df71d4;
$custom-light: #eb9ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#df71d4",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 306,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70877,
    "c": 0.18117,
    "h": 331.2
  },
  "luminance": 0.32252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF71D4

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

Preview Lab → · Contrast checker → · Palette generator →

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