#DB84F2#DB84F2

#DB84F2 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.5% C 0.176 H 319.0°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#DB84F2
RGBrgb(219, 132, 242)
HSLhsl(287, 81%, 73%)
HSVhsv(287, 45%, 95%)
CMYKcmyk(9.5%, 45.5%, 0%, 5.1%)
CIE-LABlab(68.00, 50.73, -41.82)
CIE-LCHlch(68.00, 65.74, 320.50°)
OKLaboklab(74.5% 0.1329 -0.1155)
OKLCHoklch(74.5% 0.176 319)
XYZxyz(53.4896, 37.9752, 88.4995)
Luminance0.3797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB84F2 #9BF284
analogous
#A484F2 #DB84F2 #F284D2
triadic
#DB84F2 #F2DB84 #84F2DB
tetradic
#DB84F2 #F2A484 #9BF284 #84D2F2
square
#DB84F2 #F2A484 #9BF284 #84D2F2
split-complementary
#DB84F2 #D2F284 #84F2A4
monochromatic
#B918E4 #CB4DEC #DB84F2 #EBBBF8 #F7E3FC

Accessibility & contrast

On white

2.44
#DB84F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#DB84F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB84F2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB84F2#FFFFFF#000000##000000
##DB84F21.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#DC93B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #db84f2;
/* rgb */ color: rgb(219, 132, 242);
/* oklch */ color: oklch(74.5% 0.176 319.0);
Tailwind
colors: {
  custom: {
    50: '#e8aaf6',
    500: '#db84f2',
    950: '#000000',
  },
}
SCSS
$custom: #db84f2;
$custom-light: #e8aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#db84f2",
  "rgb": {
    "r": 219,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 287.455,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74501,
    "c": 0.17612,
    "h": 319
  },
  "luminance": 0.37973
}

Semantic roles & 50–950 ramp

primary
#DB84F2
secondary
#DDF4D7
accent
#DD0835
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DB84F2

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

Preview Lab → · Contrast checker → · Palette generator →

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