#DF81FB#DF81FB

#DF81FB is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.9% C 0.192 H 318.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#DF81FB
RGBrgb(223, 129, 251)
HSLhsl(286, 94%, 75%)
HSVhsv(286, 49%, 98%)
CMYKcmyk(11.2%, 48.6%, 0%, 1.6%)
CIE-LABlab(68.28, 55.11, -46.28)
CIE-LCHlch(68.28, 71.97, 319.98°)
OKLaboklab(74.94% 0.1429 -0.1283)
OKLCHoklch(74.94% 0.192 318.1)
XYZxyz(55.6919, 38.3554, 95.7178)
Luminance0.3835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF81FB #9DFB81
analogous
#A281FB #DF81FB #FB81DA
triadic
#DF81FB #FBDF81 #81FBDF
tetradic
#DF81FB #FBA281 #9DFB81 #81DAFB
square
#DF81FB #FBA281 #9DFB81 #81DAFB
split-complementary
#DF81FB #DAFB81 #81FBA2
monochromatic
#C10AF7 #D046F9 #DF81FB #EEBCFD #F7E1FE

Accessibility & contrast

On white

2.42
#DF81FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#DF81FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF81FB
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF81FB#FFFFFF#000000##000000
##DF81FB1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FF
Deuteranopia (green-blind)
#86AAF8
Tritanopia (blue-blind)
#DF92B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #df81fb;
/* rgb */ color: rgb(223, 129, 251);
/* oklch */ color: oklch(74.9% 0.192 318.1);
Tailwind
colors: {
  custom: {
    50: '#eba8fd',
    500: '#df81fb',
    950: '#000000',
  },
}
SCSS
$custom: #df81fb;
$custom-light: #eba8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df81fb",
  "rgb": {
    "r": 223,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 286.23,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74942,
    "c": 0.19202,
    "h": 318.1
  },
  "luminance": 0.38354
}

Semantic roles & 50–950 ramp

primary
#DF81FB
secondary
#DCF6D5
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF81FB

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

Preview Lab → · Contrast checker → · Palette generator →

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