#DB84F7#DB84F7

#DB84F7 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.7% C 0.181 H 317.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#DB84F7
RGBrgb(219, 132, 247)
HSLhsl(285, 88%, 74%)
HSVhsv(285, 47%, 97%)
CMYKcmyk(11.3%, 46.6%, 0%, 3.1%)
CIE-LABlab(68.23, 51.71, -44.21)
CIE-LCHlch(68.23, 68.03, 319.47°)
OKLaboklab(74.74% 0.1337 -0.1224)
OKLCHoklch(74.74% 0.181 317.5)
XYZxyz(54.2508, 38.2797, 92.5086)
Luminance0.3828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB84F7 #A0F784
analogous
#A284F7 #DB84F7 #F784DA
triadic
#DB84F7 #F7DB84 #84F7DB
tetradic
#DB84F7 #F7A284 #A0F784 #84DAF7
square
#DB84F7 #F7A284 #A0F784 #84DAF7
split-complementary
#DB84F7 #DAF784 #84F7A2
monochromatic
#B911F0 #CA4BF3 #DB84F7 #ECBDFB #F7E2FD

Accessibility & contrast

On white

2.43
#DB84F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#DB84F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB84F7
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB84F7#FFFFFF#000000##000000
##DB84F71.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FB
Deuteranopia (green-blind)
#88A9F4
Tritanopia (blue-blind)
#DB94B2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #db84f7;
/* rgb */ color: rgb(219, 132, 247);
/* oklch */ color: oklch(74.7% 0.181 317.5);
Tailwind
colors: {
  custom: {
    50: '#e8aafa',
    500: '#db84f7',
    950: '#000000',
  },
}
SCSS
$custom: #db84f7;
$custom-light: #e8aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#db84f7",
  "rgb": {
    "r": 219,
    "g": 132,
    "b": 247
  },
  "hsl": {
    "h": 285.391,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74741,
    "c": 0.18126,
    "h": 317.5
  },
  "luminance": 0.38278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB84F7

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

Preview Lab → · Contrast checker → · Palette generator →

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