#DB84FB#DB84FB

#DB84FB is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.9% C 0.185 H 316.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#DB84FB
RGBrgb(219, 132, 251)
HSLhsl(284, 94%, 75%)
HSVhsv(284, 47%, 98%)
CMYKcmyk(12.7%, 47.4%, 0%, 1.6%)
CIE-LABlab(68.41, 52.51, -46.11)
CIE-LCHlch(68.41, 69.88, 318.71°)
OKLaboklab(74.94% 0.1342 -0.1279)
OKLCHoklch(74.94% 0.185 316.4)
XYZxyz(54.8747, 38.5293, 95.7943)
Luminance0.3853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB84FB #A4FB84
analogous
#A084FB #DB84FB #FB84DF
triadic
#DB84FB #FBDB84 #84FBDB
tetradic
#DB84FB #FBA084 #A4FB84 #84DFFB
square
#DB84FB #FBA084 #A4FB84 #84DFFB
split-complementary
#DB84FB #DFFB84 #84FBA0
monochromatic
#B80DF7 #CA49F9 #DB84FB #ECBFFD #F6E1FE

Accessibility & contrast

On white

2.41
#DB84FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#DB84FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB84FB
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB84FB#FFFFFF#000000##000000
##DB84FB1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#86A9F8
Tritanopia (blue-blind)
#DA95B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #db84fb;
/* rgb */ color: rgb(219, 132, 251);
/* oklch */ color: oklch(74.9% 0.185 316.4);
Tailwind
colors: {
  custom: {
    50: '#e8aafd',
    500: '#db84fb',
    950: '#000000',
  },
}
SCSS
$custom: #db84fb;
$custom-light: #e8aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#db84fb",
  "rgb": {
    "r": 219,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 283.866,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74936,
    "c": 0.18542,
    "h": 316.4
  },
  "luminance": 0.38528
}

Semantic roles & 50–950 ramp

primary
#DB84FB
secondary
#DEF6D5
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB84FB

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

Preview Lab → · Contrast checker → · Palette generator →

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