#DB81F8#DB81F8

#DB81F8 is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.4% C 0.187 H 317.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#DB81F8
RGBrgb(219, 129, 248)
HSLhsl(285, 89%, 74%)
HSVhsv(285, 48%, 97%)
CMYKcmyk(11.7%, 48%, 0%, 2.7%)
CIE-LABlab(67.68, 53.44, -45.61)
CIE-LCHlch(67.68, 70.26, 319.52°)
OKLaboklab(74.35% 0.1379 -0.1265)
OKLCHoklch(74.35% 0.187 317.5)
XYZxyz(54.0046, 37.5397, 93.1898)
Luminance0.3754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB81F8 #9EF881
analogous
#A081F8 #DB81F8 #F881DA
triadic
#DB81F8 #F8DB81 #81F8DB
tetradic
#DB81F8 #F8A081 #9EF881 #81DAF8
square
#DB81F8 #F8A081 #9EF881 #81DAF8
split-complementary
#DB81F8 #DAF881 #81F8A0
monochromatic
#BA0DF1 #CA47F5 #DB81F8 #ECBBFB #F7E2FD

Accessibility & contrast

On white

2.47
#DB81F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#DB81F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB81F8
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB81F8#FFFFFF#000000##000000
##DB81F81.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#DA92B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #db81f8;
/* rgb */ color: rgb(219, 129, 248);
/* oklch */ color: oklch(74.4% 0.187 317.5);
Tailwind
colors: {
  custom: {
    50: '#e8a8fb',
    500: '#db81f8',
    950: '#000000',
  },
}
SCSS
$custom: #db81f8;
$custom-light: #e8a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db81f8",
  "rgb": {
    "r": 219,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 285.378,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7435,
    "c": 0.1871,
    "h": 317.5
  },
  "luminance": 0.37538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB81F8

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

Preview Lab → · Contrast checker → · Palette generator →

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