#DF71EB#DF71EB

#DF71EB is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.0% C 0.202 H 323.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#DF71EB
RGBrgb(223, 113, 235)
HSLhsl(294, 75%, 68%)
HSVhsv(294, 52%, 92%)
CMYKcmyk(5.1%, 51.9%, 0%, 7.8%)
CIE-LABlab(64.56, 59.92, -43.31)
CIE-LCHlch(64.56, 73.94, 324.14°)
OKLaboklab(71.95% 0.1622 -0.1196)
OKLCHoklch(71.95% 0.202 323.6)
XYZxyz(51.3305, 33.4989, 82.3433)
Luminance0.3350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71EB #7DEB71
analogous
#A271EB #DF71EB #EB71BA
triadic
#DF71EB #EBDF71 #71EBDF
tetradic
#DF71EB #EBA271 #7DEB71 #71BAEB
square
#DF71EB #EBA271 #7DEB71 #71BAEB
split-complementary
#DF71EB #BAEB71 #71EBA2
monochromatic
#B51CC6 #D33BE3 #DF71EB #EBA7F3 #F7DCFA

Accessibility & contrast

On white

2.73
#DF71EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#DF71EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71EB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71EB#FFFFFF#000000##000000
##DF71EB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#E381A4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #df71eb;
/* rgb */ color: rgb(223, 113, 235);
/* oklch */ color: oklch(72.0% 0.202 323.6);
Tailwind
colors: {
  custom: {
    50: '#eb9ef2',
    500: '#df71eb',
    950: '#000000',
  },
}
SCSS
$custom: #df71eb;
$custom-light: #eb9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#df71eb",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 294.098,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71953,
    "c": 0.20152,
    "h": 323.6
  },
  "luminance": 0.33496
}

Semantic roles & 50–950 ramp

primary
#DF71EB
secondary
#CDEEC9
accent
#D70E22
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F17
muted
#857F85

Preview Lab

Preview with #DF71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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