#DF71ED#DF71ED

#DF71ED is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.1% C 0.203 H 323.0°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#DF71ED
RGBrgb(223, 113, 237)
HSLhsl(293, 78%, 69%)
HSVhsv(293, 52%, 93%)
CMYKcmyk(5.9%, 52.3%, 0%, 7.1%)
CIE-LABlab(64.66, 60.29, -44.28)
CIE-LCHlch(64.66, 74.80, 323.71°)
OKLaboklab(72.05% 0.1624 -0.1224)
OKLCHoklch(72.05% 0.203 323)
XYZxyz(51.6211, 33.6151, 83.8736)
Luminance0.3361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71ED #7FED71
analogous
#A171ED #DF71ED #ED71BD
triadic
#DF71ED #EDDF71 #71EDDF
tetradic
#DF71ED #EDA171 #7FED71 #71BDED
square
#DF71ED #EDA171 #7FED71 #71BDED
split-complementary
#DF71ED #BDED71 #71EDA1
monochromatic
#B61ACA #D33BE6 #DF71ED #EBA7F4 #F7DEFB

Accessibility & contrast

On white

2.72
#DF71ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#DF71ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71ED
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71ED#FFFFFF#000000##000000
##DF71ED1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F1
Deuteranopia (green-blind)
#81A1EA
Tritanopia (blue-blind)
#E281A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #df71ed;
/* rgb */ color: rgb(223, 113, 237);
/* oklch */ color: oklch(72.1% 0.203 323.0);
Tailwind
colors: {
  custom: {
    50: '#eb9ef3',
    500: '#df71ed',
    950: '#000000',
  },
}
SCSS
$custom: #df71ed;
$custom-light: #eb9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#df71ed",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 293.226,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72052,
    "c": 0.20336,
    "h": 323
  },
  "luminance": 0.33613
}

Semantic roles & 50–950 ramp

primary
#DF71ED
secondary
#CFEFCA
accent
#DA0C23
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F17
muted
#857F85

Preview Lab

Preview with #DF71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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