#DF71E8#DF71E8

#DF71E8 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.8% C 0.199 H 324.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#DF71E8
RGBrgb(223, 113, 232)
HSLhsl(295, 72%, 68%)
HSVhsv(295, 51%, 91%)
CMYKcmyk(3.9%, 51.3%, 0%, 9%)
CIE-LABlab(64.42, 59.38, -41.87)
CIE-LCHlch(64.42, 72.65, 324.81°)
OKLaboklab(71.81% 0.1618 -0.1155)
OKLCHoklch(71.81% 0.199 324.5)
XYZxyz(50.9008, 33.3270, 80.0799)
Luminance0.3332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71E8 #7AE871
analogous
#A371E8 #DF71E8 #E871B6
triadic
#DF71E8 #E8DF71 #71E8DF
tetradic
#DF71E8 #E8A371 #7AE871 #71B6E8
square
#DF71E8 #E8A371 #7AE871 #71B6E8
split-complementary
#DF71E8 #B6E871 #71E8A3
monochromatic
#B31FC0 #D33CDF #DF71E8 #EBA6F1 #F7DAF9

Accessibility & contrast

On white

2.74
#DF71E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#DF71E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71E8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71E8#FFFFFF#000000##000000
##DF71E81.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6294EC
Deuteranopia (green-blind)
#84A1E5
Tritanopia (blue-blind)
#E380A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #df71e8;
/* rgb */ color: rgb(223, 113, 232);
/* oklch */ color: oklch(71.8% 0.199 324.5);
Tailwind
colors: {
  custom: {
    50: '#eb9ef0',
    500: '#df71e8',
    950: '#000000',
  },
}
SCSS
$custom: #df71e8;
$custom-light: #eb9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#df71e8",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 295.462,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71806,
    "c": 0.19878,
    "h": 324.5
  },
  "luminance": 0.33324
}

Semantic roles & 50–950 ramp

primary
#DF71E8
secondary
#CBEDC8
accent
#D41120
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #DF71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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