#DF71FD#DF71FD

#DF71FD is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.9% C 0.218 H 318.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#DF71FD
RGBrgb(223, 113, 253)
HSLhsl(287, 97%, 72%)
HSVhsv(287, 55%, 99%)
CMYKcmyk(11.9%, 55.3%, 0%, 0.8%)
CIE-LABlab(65.43, 63.29, -51.87)
CIE-LCHlch(65.43, 81.83, 320.66°)
OKLaboklab(72.87% 0.1638 -0.1444)
OKLCHoklch(72.87% 0.218 318.6)
XYZxyz(54.0638, 34.5922, 96.7386)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71FD #8FFD71
analogous
#9971FD #DF71FD #FD71D5
triadic
#DF71FD #FDDF71 #71FDDF
tetradic
#DF71FD #FD9971 #8FFD71 #71D5FD
square
#DF71FD #FD9971 #8FFD71 #71D5FD
split-complementary
#DF71FD #D5FD71 #71FD99
monochromatic
#BD03F0 #D135FC #DF71FD #EDADFE #F8E1FF

Accessibility & contrast

On white

2.65
#DF71FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#DF71FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71FD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71FD#FFFFFF#000000##000000
##DF71FD1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#78A3F9
Tritanopia (blue-blind)
#DF87AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #df71fd;
/* rgb */ color: rgb(223, 113, 253);
/* oklch */ color: oklch(72.9% 0.218 318.6);
Tailwind
colors: {
  custom: {
    50: '#ec9efe',
    500: '#df71fd',
    950: '#000000',
  },
}
SCSS
$custom: #df71fd;
$custom-light: #ec9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#df71fd",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 287.143,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72872,
    "c": 0.2184,
    "h": 318.6
  },
  "luminance": 0.3459
}

Semantic roles & 50–950 ramp

primary
#DF71FD
secondary
#DBF7D3
accent
#E60031
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #DF71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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