#DF71DB#DF71DB

#DF71DB is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.2% C 0.187 H 328.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#DF71DB
RGBrgb(223, 113, 219)
HSLhsl(302, 63%, 66%)
HSVhsv(302, 49%, 87%)
CMYKcmyk(0%, 49.3%, 1.8%, 12.5%)
CIE-LABlab(63.85, 57.08, -35.53)
CIE-LCHlch(63.85, 67.23, 328.10°)
OKLaboklab(71.19% 0.1599 -0.0973)
OKLCHoklch(71.19% 0.187 328.7)
XYZxyz(49.1221, 32.6155, 70.7122)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71DB #71DF75
analogous
#AC71DF #DF71DB #DF71A4
triadic
#DF71DB #DBDF71 #71DBDF
tetradic
#DF71DB #DFAC71 #71DF75 #71A4DF
square
#DF71DB #DFAC71 #71DF75 #71A4DF
split-complementary
#DF71DB #A4DF71 #71DFAC
monochromatic
#AE27A9 #D43FCE #DF71DB #EAA3E8 #F6D5F4

Accessibility & contrast

On white

2.79
#DF71DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#DF71DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71DB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71DB#FFFFFF#000000##000000
##DF71DB1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DF
Deuteranopia (green-blind)
#89A0D8
Tritanopia (blue-blind)
#E57C9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #df71db;
/* rgb */ color: rgb(223, 113, 219);
/* oklch */ color: oklch(71.2% 0.187 328.7);
Tailwind
colors: {
  custom: {
    50: '#eb9ee6',
    500: '#df71db',
    950: '#000000',
  },
}
SCSS
$custom: #df71db;
$custom-light: #eb9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#df71db",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 302.182,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71192,
    "c": 0.18718,
    "h": 328.7
  },
  "luminance": 0.32613
}

Semantic roles & 50–950 ramp

primary
#DF71DB
secondary
#C4E8C5
accent
#CB211B
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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