#DB84FC#DB84FC

#DB84FC is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.0% C 0.186 H 316.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#DB84FC
RGBrgb(219, 132, 252)
HSLhsl(284, 95%, 75%)
HSVhsv(284, 48%, 99%)
CMYKcmyk(13.1%, 47.6%, 0%, 1.2%)
CIE-LABlab(68.46, 52.71, -46.58)
CIE-LCHlch(68.46, 70.34, 318.53°)
OKLaboklab(74.99% 0.1344 -0.1293)
OKLCHoklch(74.99% 0.186 316.1)
XYZxyz(55.0327, 38.5925, 96.6267)
Luminance0.3859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB84FC #A5FC84
analogous
#9F84FC #DB84FC #FC84E1
triadic
#DB84FC #FCDB84 #84FCDB
tetradic
#DB84FC #FC9F84 #A5FC84 #84E1FC
square
#DB84FC #FC9F84 #A5FC84 #84E1FC
split-complementary
#DB84FC #E1FC84 #84FC9F
monochromatic
#B80DF9 #CA48FB #DB84FC #ECC0FD #F6E1FE

Accessibility & contrast

On white

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

On black

8.72
#DB84FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB84FC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB84FC#FFFFFF#000000##000000
##DB84FC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#DA96B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #db84fc;
/* rgb */ color: rgb(219, 132, 252);
/* oklch */ color: oklch(75.0% 0.186 316.1);
Tailwind
colors: {
  custom: {
    50: '#e8aafe',
    500: '#db84fc',
    950: '#000000',
  },
}
SCSS
$custom: #db84fc;
$custom-light: #e8aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#db84fc",
  "rgb": {
    "r": 219,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 283.5,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74986,
    "c": 0.18647,
    "h": 316.1
  },
  "luminance": 0.38591
}

Semantic roles & 50–950 ramp

primary
#DB84FC
secondary
#DEF6D5
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB84FC

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

Preview Lab → · Contrast checker → · Palette generator →

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