#DF81FA#DF81FA

#DF81FA is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.9% C 0.191 H 318.4°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#DF81FA
RGBrgb(223, 129, 250)
HSLhsl(287, 92%, 74%)
HSVhsv(287, 48%, 98%)
CMYKcmyk(10.8%, 48.4%, 0%, 2%)
CIE-LABlab(68.24, 54.92, -45.80)
CIE-LCHlch(68.24, 71.51, 320.17°)
OKLaboklab(74.89% 0.1427 -0.1269)
OKLCHoklch(74.89% 0.191 318.4)
XYZxyz(55.5347, 38.2926, 94.8898)
Luminance0.3829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF81FA #9CFA81
analogous
#A381FA #DF81FA #FA81D8
triadic
#DF81FA #FADF81 #81FADF
tetradic
#DF81FA #FAA381 #9CFA81 #81D8FA
square
#DF81FA #FAA381 #9CFA81 #81D8FA
split-complementary
#DF81FA #D8FA81 #81FAA3
monochromatic
#C10BF5 #D046F8 #DF81FA #EEBCFC #F8E2FE

Accessibility & contrast

On white

2.43
#DF81FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#DF81FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF81FA
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF81FA#FFFFFF#000000##000000
##DF81FA1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#DF92B2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #df81fa;
/* rgb */ color: rgb(223, 129, 250);
/* oklch */ color: oklch(74.9% 0.191 318.4);
Tailwind
colors: {
  custom: {
    50: '#eba8fc',
    500: '#df81fa',
    950: '#000000',
  },
}
SCSS
$custom: #df81fa;
$custom-light: #eba8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#df81fa",
  "rgb": {
    "r": 223,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 286.612,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74893,
    "c": 0.19101,
    "h": 318.4
  },
  "luminance": 0.38291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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