#DB86F2#DB86F2

#DB86F2 is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.8% C 0.173 H 318.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#DB86F2
RGBrgb(219, 134, 242)
HSLhsl(287, 81%, 74%)
HSVhsv(287, 45%, 95%)
CMYKcmyk(9.5%, 44.6%, 0%, 5.1%)
CIE-LABlab(68.40, 49.70, -41.19)
CIE-LCHlch(68.40, 64.55, 320.35°)
OKLaboklab(74.8% 0.1301 -0.1137)
OKLCHoklch(74.8% 0.173 318.8)
XYZxyz(53.7634, 38.5229, 88.5908)
Luminance0.3852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB86F2 #9DF286
analogous
#A586F2 #DB86F2 #F286D3
triadic
#DB86F2 #F2DB86 #86F2DB
tetradic
#DB86F2 #F2A586 #9DF286 #86D3F2
square
#DB86F2 #F2A586 #9DF286 #86D3F2
split-complementary
#DB86F2 #D3F286 #86F2A5
monochromatic
#B919E5 #CB4FEC #DB86F2 #EBBDF8 #F7E3FC

Accessibility & contrast

On white

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

On black

8.70
#DB86F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB86F2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB86F2#FFFFFF#000000##000000
##DB86F21.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#DC94B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #db86f2;
/* rgb */ color: rgb(219, 134, 242);
/* oklch */ color: oklch(74.8% 0.173 318.8);
Tailwind
colors: {
  custom: {
    50: '#e8abf6',
    500: '#db86f2',
    950: '#000000',
  },
}
SCSS
$custom: #db86f2;
$custom-light: #e8abf6;
$custom-dark: #000000;
JSON
{
  "hex": "#db86f2",
  "rgb": {
    "r": 219,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 287.222,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74801,
    "c": 0.17285,
    "h": 318.8
  },
  "luminance": 0.38521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB86F2

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

Preview Lab → · Contrast checker → · Palette generator →

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