#DF81FF#DF81FF

#DF81FF is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.1% C 0.196 H 317.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#DF81FF
RGBrgb(223, 129, 255)
HSLhsl(285, 100%, 75%)
HSVhsv(285, 49%, 100%)
CMYKcmyk(12.5%, 49.4%, 0%, 0%)
CIE-LABlab(68.47, 55.90, -48.17)
CIE-LCHlch(68.47, 73.79, 319.25°)
OKLaboklab(75.14% 0.1434 -0.1338)
OKLCHoklch(75.14% 0.196 317)
XYZxyz(56.3291, 38.6103, 99.0737)
Luminance0.3861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF81FF #A1FF81
analogous
#A081FF #DF81FF #FF81E0
triadic
#DF81FF #FFDF81 #81FFDF
tetradic
#DF81FF #FFA081 #A1FF81 #81E0FF
square
#DF81FF #FFA081 #A1FF81 #81E0FF
split-complementary
#DF81FF #E0FF81 #81FFA0
monochromatic
#C007FF #CF44FF #DF81FF #EFBEFF #F7E0FF

Accessibility & contrast

On white

2.41
#DF81FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#DF81FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF81FF
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF81FF#FFFFFF#000000##000000
##DF81FF1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#84AAFC
Tritanopia (blue-blind)
#DE94B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #df81ff;
/* rgb */ color: rgb(223, 129, 255);
/* oklch */ color: oklch(75.1% 0.196 317.0);
Tailwind
colors: {
  custom: {
    50: '#eba8ff',
    500: '#df81ff',
    950: '#000000',
  },
}
SCSS
$custom: #df81ff;
$custom-light: #eba8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df81ff",
  "rgb": {
    "r": 223,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 284.762,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75141,
    "c": 0.19608,
    "h": 317
  },
  "luminance": 0.38608
}

Semantic roles & 50–950 ramp

primary
#DF81FF
secondary
#DDF7D4
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF81FF

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

Preview Lab → · Contrast checker → · Palette generator →

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