#DB87FA#DB87FA

#DB87FA is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.3% C 0.180 H 316.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#DB87FA
RGBrgb(219, 135, 250)
HSLhsl(284, 92%, 75%)
HSVhsv(284, 46%, 98%)
CMYKcmyk(12.4%, 46%, 0%, 2%)
CIE-LABlab(68.96, 50.77, -44.69)
CIE-LCHlch(68.96, 67.64, 318.64°)
OKLaboklab(75.33% 0.13 -0.1239)
OKLCHoklch(75.33% 0.18 316.4)
XYZxyz(55.1302, 39.2918, 95.1039)
Luminance0.3929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87FA #A6FA87
analogous
#A187FA #DB87FA #FA87DF
triadic
#DB87FA #FADB87 #87FADB
tetradic
#DB87FA #FAA187 #A6FA87 #87DFFA
square
#DB87FA #FAA187 #A6FA87 #87DFFA
split-complementary
#DB87FA #DFFA87 #87FAA1
monochromatic
#B811F5 #C94CF8 #DB87FA #EDC2FC #F6E2FE

Accessibility & contrast

On white

2.37
#DB87FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#DB87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87FA
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87FA#FFFFFF#000000##000000
##DB87FA1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#DA97B5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #db87fa;
/* rgb */ color: rgb(219, 135, 250);
/* oklch */ color: oklch(75.3% 0.180 316.4);
Tailwind
colors: {
  custom: {
    50: '#e8acfc',
    500: '#db87fa',
    950: '#000000',
  },
}
SCSS
$custom: #db87fa;
$custom-light: #e8acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#db87fa",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 283.826,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75333,
    "c": 0.17956,
    "h": 316.4
  },
  "luminance": 0.3929
}

Semantic roles & 50–950 ramp

primary
#DB87FA
secondary
#DEF6D5
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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