#DF71DC#DF71DC

#DF71DC is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.2% C 0.188 H 328.3°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#DF71DC
RGBrgb(223, 113, 220)
HSLhsl(302, 63%, 66%)
HSVhsv(302, 49%, 87%)
CMYKcmyk(0%, 49.3%, 1.3%, 12.5%)
CIE-LABlab(63.89, 57.25, -36.02)
CIE-LCHlch(63.89, 67.64, 327.82°)
OKLaboklab(71.24% 0.1601 -0.0987)
OKLCHoklch(71.24% 0.188 328.3)
XYZxyz(49.2541, 32.6683, 71.4076)
Luminance0.3267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71DC #71DF74
analogous
#AB71DF #DF71DC #DF71A5
triadic
#DF71DC #DCDF71 #71DCDF
tetradic
#DF71DC #DFAB71 #71DF74 #71A5DF
square
#DF71DC #DFAB71 #71DF74 #71A5DF
split-complementary
#DF71DC #A5DF71 #71DFAB
monochromatic
#AE27AB #D43FD0 #DF71DC #EAA3E8 #F6D5F5

Accessibility & contrast

On white

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

On black

7.53
#DF71DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71DC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71DC#FFFFFF#000000##000000
##DF71DC1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6892E0
Deuteranopia (green-blind)
#89A0D9
Tritanopia (blue-blind)
#E57C9D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #df71dc;
/* rgb */ color: rgb(223, 113, 220);
/* oklch */ color: oklch(71.2% 0.188 328.3);
Tailwind
colors: {
  custom: {
    50: '#eb9ee7',
    500: '#df71dc',
    950: '#000000',
  },
}
SCSS
$custom: #df71dc;
$custom-light: #eb9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#df71dc",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 301.636,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71238,
    "c": 0.18804,
    "h": 328.3
  },
  "luminance": 0.32666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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