#DF71F8#DF71F8

#DF71F8 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.6% C 0.214 H 319.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#DF71F8
RGBrgb(223, 113, 248)
HSLhsl(289, 91%, 71%)
HSVhsv(289, 54%, 97%)
CMYKcmyk(10.1%, 54.4%, 0%, 2.7%)
CIE-LABlab(65.18, 62.34, -49.52)
CIE-LCHlch(65.18, 79.61, 321.54°)
OKLaboklab(72.61% 0.1635 -0.1376)
OKLCHoklch(72.61% 0.214 319.9)
XYZxyz(53.2777, 34.2778, 92.5986)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71F8 #8AF871
analogous
#9B71F8 #DF71F8 #F871CD
triadic
#DF71F8 #F8DF71 #71F8DF
tetradic
#DF71F8 #F89B71 #8AF871 #71CDF8
square
#DF71F8 #F89B71 #8AF871 #71CDF8
split-complementary
#DF71F8 #CDF871 #71F89B
monochromatic
#BB0BE3 #D237F5 #DF71F8 #ECABFB #F8E2FE

Accessibility & contrast

On white

2.67
#DF71F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#DF71F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71F8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71F8#FFFFFF#000000##000000
##DF71F81.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FC
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#E085AA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #df71f8;
/* rgb */ color: rgb(223, 113, 248);
/* oklch */ color: oklch(72.6% 0.214 319.9);
Tailwind
colors: {
  custom: {
    50: '#ec9efb',
    500: '#df71f8',
    950: '#000000',
  },
}
SCSS
$custom: #df71f8;
$custom-light: #ec9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#df71f8",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 288.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7261,
    "c": 0.21366,
    "h": 319.9
  },
  "luminance": 0.34276
}

Semantic roles & 50–950 ramp

primary
#DF71F8
secondary
#D7F5D0
accent
#E6002A
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #DF71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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