#DE81F8#DE81F8

#DE81F8 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.7% C 0.189 H 318.6°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#DE81F8
RGBrgb(222, 129, 248)
HSLhsl(287, 89%, 74%)
HSVhsv(287, 48%, 97%)
CMYKcmyk(10.5%, 48%, 0%, 2.7%)
CIE-LABlab(68.03, 54.26, -45.04)
CIE-LCHlch(68.03, 70.52, 320.30°)
OKLaboklab(74.68% 0.1413 -0.1248)
OKLCHoklch(74.68% 0.189 318.6)
XYZxyz(54.9155, 38.0093, 93.2325)
Luminance0.3801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE81F8 #9BF881
analogous
#A381F8 #DE81F8 #F881D7
triadic
#DE81F8 #F8DE81 #81F8DE
tetradic
#DE81F8 #F8A381 #9BF881 #81D7F8
square
#DE81F8 #F8A381 #9BF881 #81D7F8
split-complementary
#DE81F8 #D7F881 #81F8A3
monochromatic
#BF0DF1 #CF47F5 #DE81F8 #EDBBFB #F7E2FD

Accessibility & contrast

On white

2.44
#DE81F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#DE81F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE81F8
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE81F8#FFFFFF#000000##000000
##DE81F81.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FC
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#DE92B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #de81f8;
/* rgb */ color: rgb(222, 129, 248);
/* oklch */ color: oklch(74.7% 0.189 318.6);
Tailwind
colors: {
  custom: {
    50: '#eaa8fb',
    500: '#de81f8',
    950: '#000000',
  },
}
SCSS
$custom: #de81f8;
$custom-light: #eaa8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#de81f8",
  "rgb": {
    "r": 222,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 286.891,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74683,
    "c": 0.18852,
    "h": 318.6
  },
  "luminance": 0.38007
}

Semantic roles & 50–950 ramp

primary
#DE81F8
secondary
#DDF5D6
accent
#E60032
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DE81F8

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

Preview Lab → · Contrast checker → · Palette generator →

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