#DF71FE#DF71FE

#DF71FE is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 72.9% C 0.219 H 318.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#DF71FE
RGBrgb(223, 113, 254)
HSLhsl(287, 99%, 72%)
HSVhsv(287, 56%, 100%)
CMYKcmyk(12.2%, 55.5%, 0%, 0.4%)
CIE-LABlab(65.48, 63.48, -52.34)
CIE-LCHlch(65.48, 82.28, 320.49°)
OKLaboklab(72.93% 0.1639 -0.1458)
OKLCHoklch(72.93% 0.219 318.3)
XYZxyz(54.2235, 34.6561, 97.5798)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71FE #90FE71
analogous
#9971FE #DF71FE #FE71D6
triadic
#DF71FE #FEDF71 #71FEDF
tetradic
#DF71FE #FE9971 #90FE71 #71D6FE
square
#DF71FE #FE9971 #90FE71 #71D6FE
split-complementary
#DF71FE #D6FE71 #71FE99
monochromatic
#BE02F3 #D134FE #DF71FE #EDAEFE #F8E1FF

Accessibility & contrast

On white

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

On black

7.93
#DF71FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71FE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71FE#FFFFFF#000000##000000
##DF71FE1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df71fe;
/* rgb */ color: rgb(223, 113, 254);
/* oklch */ color: oklch(72.9% 0.219 318.3);
Tailwind
colors: {
  custom: {
    50: '#ec9eff',
    500: '#df71fe',
    950: '#000000',
  },
}
SCSS
$custom: #df71fe;
$custom-light: #ec9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#df71fe",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 286.809,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72925,
    "c": 0.21936,
    "h": 318.3
  },
  "luminance": 0.34654
}

Semantic roles & 50–950 ramp

primary
#DF71FE
secondary
#DCF7D4
accent
#E60032
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #DF71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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