#DB84F8#DB84F8

#DB84F8 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.8% C 0.182 H 317.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#DB84F8
RGBrgb(219, 132, 248)
HSLhsl(285, 89%, 75%)
HSVhsv(285, 47%, 97%)
CMYKcmyk(11.7%, 46.8%, 0%, 2.7%)
CIE-LABlab(68.27, 51.91, -44.68)
CIE-LCHlch(68.27, 68.49, 319.28°)
OKLaboklab(74.79% 0.1338 -0.1238)
OKLCHoklch(74.79% 0.182 317.2)
XYZxyz(54.4055, 38.3416, 93.3235)
Luminance0.3834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB84F8 #A1F884
analogous
#A184F8 #DB84F8 #F884DB
triadic
#DB84F8 #F8DB84 #84F8DB
tetradic
#DB84F8 #F8A184 #A1F884 #84DBF8
square
#DB84F8 #F8A184 #A1F884 #84DBF8
split-complementary
#DB84F8 #DBF884 #84F8A1
monochromatic
#B910F1 #CA4AF5 #DB84F8 #ECBEFB #F7E2FD

Accessibility & contrast

On white

2.42
#DB84F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#DB84F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB84F8
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB84F8#FFFFFF#000000##000000
##DB84F81.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#88A9F5
Tritanopia (blue-blind)
#DA94B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #db84f8;
/* rgb */ color: rgb(219, 132, 248);
/* oklch */ color: oklch(74.8% 0.182 317.2);
Tailwind
colors: {
  custom: {
    50: '#e8aafb',
    500: '#db84f8',
    950: '#000000',
  },
}
SCSS
$custom: #db84f8;
$custom-light: #e8aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#db84f8",
  "rgb": {
    "r": 219,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 285,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74789,
    "c": 0.1823,
    "h": 317.2
  },
  "luminance": 0.3834
}

Semantic roles & 50–950 ramp

primary
#DB84F8
secondary
#DEF5D6
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB84F8

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

Preview Lab → · Contrast checker → · Palette generator →

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