#DF71E2#DF71E2

#DF71E2 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.5% C 0.193 H 326.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#DF71E2
RGBrgb(223, 113, 226)
HSLhsl(298, 66%, 66%)
HSVhsv(298, 50%, 89%)
CMYKcmyk(1.3%, 50%, 0%, 11.4%)
CIE-LABlab(64.15, 58.30, -38.96)
CIE-LCHlch(64.15, 70.12, 326.25°)
OKLaboklab(71.52% 0.161 -0.1071)
OKLCHoklch(71.52% 0.193 326.4)
XYZxyz(50.0630, 32.9919, 75.6679)
Luminance0.3299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71E2 #74E271
analogous
#A771E2 #DF71E2 #E271AD
triadic
#DF71E2 #E2DF71 #71E2DF
tetradic
#DF71E2 #E2A771 #74E271 #71ADE2
square
#DF71E2 #E2A771 #74E271 #71ADE2
split-complementary
#DF71E2 #ADE271 #71E2A7
monochromatic
#B025B4 #D43ED8 #DF71E2 #EAA4EC #F6D7F7

Accessibility & contrast

On white

2.76
#DF71E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#DF71E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71E2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71E2#FFFFFF#000000##000000
##DF71E21.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6593E6
Deuteranopia (green-blind)
#86A0DF
Tritanopia (blue-blind)
#E47E9F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #df71e2;
/* rgb */ color: rgb(223, 113, 226);
/* oklch */ color: oklch(71.5% 0.193 326.4);
Tailwind
colors: {
  custom: {
    50: '#eb9eeb',
    500: '#df71e2',
    950: '#000000',
  },
}
SCSS
$custom: #df71e2;
$custom-light: #eb9eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#df71e2",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 298.407,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71519,
    "c": 0.19336,
    "h": 326.4
  },
  "luminance": 0.32989
}

Semantic roles & 50–950 ramp

primary
#DF71E2
secondary
#C6EAC5
accent
#CE181C
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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