#DF71E7#DF71E7

#DF71E7 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.8% C 0.198 H 324.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#DF71E7
RGBrgb(223, 113, 231)
HSLhsl(296, 71%, 67%)
HSVhsv(296, 51%, 91%)
CMYKcmyk(3.5%, 51.1%, 0%, 9.4%)
CIE-LABlab(64.38, 59.20, -41.38)
CIE-LCHlch(64.38, 72.23, 325.04°)
OKLaboklab(71.76% 0.1617 -0.1141)
OKLCHoklch(71.76% 0.198 324.8)
XYZxyz(50.7591, 33.2703, 79.3340)
Luminance0.3327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71E7 #79E771
analogous
#A471E7 #DF71E7 #E771B4
triadic
#DF71E7 #E7DF71 #71E7DF
tetradic
#DF71E7 #E7A471 #79E771 #71B4E7
square
#DF71E7 #E7A471 #79E771 #71B4E7
split-complementary
#DF71E7 #B4E771 #71E7A4
monochromatic
#B320BE #D33DDE #DF71E7 #EBA5F0 #F7DAF9

Accessibility & contrast

On white

2.74
#DF71E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#DF71E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71E7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71E7#FFFFFF#000000##000000
##DF71E71.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6293EB
Deuteranopia (green-blind)
#84A1E4
Tritanopia (blue-blind)
#E37FA2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #df71e7;
/* rgb */ color: rgb(223, 113, 231);
/* oklch */ color: oklch(71.8% 0.198 324.8);
Tailwind
colors: {
  custom: {
    50: '#eb9eef',
    500: '#df71e7',
    950: '#000000',
  },
}
SCSS
$custom: #df71e7;
$custom-light: #eb9eef;
$custom-dark: #000000;
JSON
{
  "hex": "#df71e7",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 295.932,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71758,
    "c": 0.19787,
    "h": 324.8
  },
  "luminance": 0.33268
}

Semantic roles & 50–950 ramp

primary
#DF71E7
secondary
#CAECC7
accent
#D3121F
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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