#DB81FC#DB81FC

#DB81FC is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.5% C 0.191 H 316.4°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#DB81FC
RGBrgb(219, 129, 252)
HSLhsl(284, 95%, 75%)
HSVhsv(284, 49%, 99%)
CMYKcmyk(13.1%, 48.8%, 0%, 1.2%)
CIE-LABlab(67.87, 54.23, -47.51)
CIE-LCHlch(67.87, 72.10, 318.78°)
OKLaboklab(74.55% 0.1384 -0.132)
OKLCHoklch(74.55% 0.191 316.4)
XYZxyz(54.6317, 37.7905, 96.4930)
Luminance0.3779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB81FC #A2FC81
analogous
#9D81FC #DB81FC #FC81E0
triadic
#DB81FC #FCDB81 #81FCDB
tetradic
#DB81FC #FC9D81 #A2FC81 #81E0FC
square
#DB81FC #FC9D81 #A2FC81 #81E0FC
split-complementary
#DB81FC #E0FC81 #81FC9D
monochromatic
#B909F9 #CA45FB #DB81FC #ECBDFD #F6E1FE

Accessibility & contrast

On white

2.45
#DB81FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#DB81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB81FC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB81FC#FFFFFF#000000##000000
##DB81FC1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#DA93B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #db81fc;
/* rgb */ color: rgb(219, 129, 252);
/* oklch */ color: oklch(74.5% 0.191 316.4);
Tailwind
colors: {
  custom: {
    50: '#e8a8fe',
    500: '#db81fc',
    950: '#000000',
  },
}
SCSS
$custom: #db81fc;
$custom-light: #e8a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db81fc",
  "rgb": {
    "r": 219,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 283.902,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74549,
    "c": 0.19121,
    "h": 316.4
  },
  "luminance": 0.37789
}

Semantic roles & 50–950 ramp

primary
#DB81FC
secondary
#DEF7D4
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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