#DF71D8#DF71D8

#DF71D8 is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.1% C 0.185 H 329.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#DF71D8
RGBrgb(223, 113, 216)
HSLhsl(304, 63%, 66%)
HSVhsv(304, 49%, 87%)
CMYKcmyk(0%, 49.3%, 3.1%, 12.5%)
CIE-LABlab(63.72, 56.56, -34.05)
CIE-LCHlch(63.72, 66.02, 328.95°)
OKLaboklab(71.06% 0.1594 -0.093)
OKLCHoklch(71.06% 0.185 329.7)
XYZxyz(48.7307, 32.4590, 68.6509)
Luminance0.3246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71D8 #71DF78
analogous
#AF71DF #DF71D8 #DF71A1
triadic
#DF71D8 #D8DF71 #71D8DF
tetradic
#DF71D8 #DFAF71 #71DF78 #71A1DF
square
#DF71D8 #DFAF71 #71DF78 #71A1DF
split-complementary
#DF71D8 #A1DF71 #71DFAF
monochromatic
#AE27A6 #D43FCA #DF71D8 #EAA3E6 #F6D5F3

Accessibility & contrast

On white

2.80
#DF71D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#DF71D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71D8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71D8#FFFFFF#000000##000000
##DF71D81.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DB
Deuteranopia (green-blind)
#8BA0D5
Tritanopia (blue-blind)
#E67B9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #df71d8;
/* rgb */ color: rgb(223, 113, 216);
/* oklch */ color: oklch(71.1% 0.185 329.7);
Tailwind
colors: {
  custom: {
    50: '#eb9ee4',
    500: '#df71d8',
    950: '#000000',
  },
}
SCSS
$custom: #df71d8;
$custom-light: #eb9ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#df71d8",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 303.818,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71056,
    "c": 0.18458,
    "h": 329.7
  },
  "luminance": 0.32456
}

Semantic roles & 50–950 ramp

primary
#DF71D8
secondary
#C4E8C6
accent
#CB261B
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160F15
muted
#847E84

Preview Lab

Preview with #DF71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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