#DE81FC#DE81FC

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

Color values

HEX#DE81FC
RGBrgb(222, 129, 252)
HSLhsl(285, 95%, 75%)
HSVhsv(285, 49%, 99%)
CMYKcmyk(11.9%, 48.8%, 0%, 1.2%)
CIE-LABlab(68.21, 55.04, -46.94)
CIE-LCHlch(68.21, 72.34, 319.54°)
OKLaboklab(74.88% 0.1418 -0.1303)
OKLCHoklch(74.88% 0.193 317.4)
XYZxyz(55.5427, 38.2602, 96.5357)
Luminance0.3826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE81FC #9FFC81
analogous
#A181FC #DE81FC #FC81DC
triadic
#DE81FC #FCDE81 #81FCDE
tetradic
#DE81FC #FCA181 #9FFC81 #81DCFC
square
#DE81FC #FCA181 #9FFC81 #81DCFC
split-complementary
#DE81FC #DCFC81 #81FCA1
monochromatic
#BF09F9 #CE45FB #DE81FC #EEBDFD #F7E1FE

Accessibility & contrast

On white

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

On black

8.65
#DE81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE81FC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE81FC#FFFFFF#000000##000000
##DE81FC1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#85A9F9
Tritanopia (blue-blind)
#DD93B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #de81fc;
/* rgb */ color: rgb(222, 129, 252);
/* oklch */ color: oklch(74.9% 0.193 317.4);
Tailwind
colors: {
  custom: {
    50: '#eaa8fe',
    500: '#de81fc',
    950: '#000000',
  },
}
SCSS
$custom: #de81fc;
$custom-light: #eaa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#de81fc",
  "rgb": {
    "r": 222,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 285.366,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7488,
    "c": 0.19258,
    "h": 317.4
  },
  "luminance": 0.38258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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