#DF71FC#DF71FC

#DF71FC is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.8% C 0.217 H 318.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#DF71FC
RGBrgb(223, 113, 252)
HSLhsl(287, 96%, 72%)
HSVhsv(287, 55%, 99%)
CMYKcmyk(11.5%, 55.2%, 0%, 1.2%)
CIE-LABlab(65.38, 63.10, -51.40)
CIE-LCHlch(65.38, 81.38, 320.83°)
OKLaboklab(72.82% 0.1638 -0.1431)
OKLCHoklch(72.82% 0.217 318.9)
XYZxyz(53.9049, 34.5287, 95.9018)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71FC #8EFC71
analogous
#9A71FC #DF71FC #FC71D4
triadic
#DF71FC #FCDF71 #71FCDF
tetradic
#DF71FC #FC9A71 #8EFC71 #71D4FC
square
#DF71FC #FC9A71 #8EFC71 #71D4FC
split-complementary
#DF71FC #D4FC71 #71FC9A
monochromatic
#BD05EE #D135FB #DF71FC #EDADFD #F8E1FE

Accessibility & contrast

On white

2.66
#DF71FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#DF71FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71FC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71FC#FFFFFF#000000##000000
##DF71FC1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#79A3F8
Tritanopia (blue-blind)
#DF86AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #df71fc;
/* rgb */ color: rgb(223, 113, 252);
/* oklch */ color: oklch(72.8% 0.217 318.9);
Tailwind
colors: {
  custom: {
    50: '#ec9efe',
    500: '#df71fc',
    950: '#000000',
  },
}
SCSS
$custom: #df71fc;
$custom-light: #ec9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#df71fc",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 287.482,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72819,
    "c": 0.21745,
    "h": 318.9
  },
  "luminance": 0.34527
}

Semantic roles & 50–950 ramp

primary
#DF71FC
secondary
#DAF6D3
accent
#E60030
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #DF71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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