#DF81EF#DF81EF

#DF81EF is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.4% C 0.180 H 321.6°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#DF81EF
RGBrgb(223, 129, 239)
HSLhsl(291, 77%, 72%)
HSVhsv(291, 46%, 94%)
CMYKcmyk(6.7%, 46%, 0%, 6.3%)
CIE-LABlab(67.74, 52.80, -40.54)
CIE-LCHlch(67.74, 66.57, 322.48°)
OKLaboklab(74.37% 0.1412 -0.1118)
OKLCHoklch(74.37% 0.18 321.6)
XYZxyz(53.8599, 37.6227, 86.0694)
Luminance0.3762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF81EF #91EF81
analogous
#A881EF #DF81EF #EF81C8
triadic
#DF81EF #EFDF81 #81EFDF
tetradic
#DF81EF #EFA881 #91EF81 #81C8EF
square
#DF81EF #EFA881 #91EF81 #81C8EF
split-complementary
#DF81EF #C8EF81 #81EFA8
monochromatic
#BE1CDA #D14BE8 #DF81EF #EDB7F6 #F8E4FC

Accessibility & contrast

On white

2.46
#DF81EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#DF81EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF81EF
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF81EF#FFFFFF#000000##000000
##DF81EF1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#8CA9EC
Tritanopia (blue-blind)
#E18FAD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df81ef;
/* rgb */ color: rgb(223, 129, 239);
/* oklch */ color: oklch(74.4% 0.180 321.6);
Tailwind
colors: {
  custom: {
    50: '#eba8f4',
    500: '#df81ef',
    950: '#000000',
  },
}
SCSS
$custom: #df81ef;
$custom-light: #eba8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#df81ef",
  "rgb": {
    "r": 223,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 291.273,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74365,
    "c": 0.18005,
    "h": 321.6
  },
  "luminance": 0.3762
}

Semantic roles & 50–950 ramp

primary
#DF81EF
secondary
#DCF3D8
accent
#DA0C2A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DF81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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