#DF81FC#DF81FC

#DF81FC is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.0% C 0.193 H 317.8°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#DF81FC
RGBrgb(223, 129, 252)
HSLhsl(286, 95%, 75%)
HSVhsv(286, 49%, 99%)
CMYKcmyk(11.5%, 48.8%, 0%, 1.2%)
CIE-LABlab(68.33, 55.31, -46.75)
CIE-LCHlch(68.33, 72.42, 319.79°)
OKLaboklab(74.99% 0.143 -0.1297)
OKLCHoklch(74.99% 0.193 317.8)
XYZxyz(55.8499, 38.4187, 96.5502)
Luminance0.3842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF81FC #9EFC81
analogous
#A281FC #DF81FC #FC81DB
triadic
#DF81FC #FCDF81 #81FCDF
tetradic
#DF81FC #FCA281 #9EFC81 #81DBFC
square
#DF81FC #FCA281 #9EFC81 #81DBFC
split-complementary
#DF81FC #DBFC81 #81FCA2
monochromatic
#C109F9 #D045FB #DF81FC #EEBDFD #F7E1FE

Accessibility & contrast

On white

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

On black

8.68
#DF81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF81FC
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF81FC#FFFFFF#000000##000000
##DF81FC1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#DF93B3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #df81fc;
/* rgb */ color: rgb(223, 129, 252);
/* oklch */ color: oklch(75.0% 0.193 317.8);
Tailwind
colors: {
  custom: {
    50: '#eba8fe',
    500: '#df81fc',
    950: '#000000',
  },
}
SCSS
$custom: #df81fc;
$custom-light: #eba8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df81fc",
  "rgb": {
    "r": 223,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 285.854,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74992,
    "c": 0.19304,
    "h": 317.8
  },
  "luminance": 0.38417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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