#DA87FE#DA87FE

#DA87FE is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.4% C 0.183 H 314.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#DA87FE
RGBrgb(218, 135, 254)
HSLhsl(282, 98%, 76%)
HSVhsv(282, 47%, 100%)
CMYKcmyk(14.2%, 46.9%, 0%, 0.4%)
CIE-LABlab(69.03, 51.30, -46.77)
CIE-LCHlch(69.03, 69.42, 317.64°)
OKLaboklab(75.42% 0.1294 -0.1299)
OKLCHoklch(75.42% 0.183 314.9)
XYZxyz(55.4640, 39.3906, 98.4281)
Luminance0.3939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87FE #ABFE87
analogous
#9F87FE #DA87FE #FE87E6
triadic
#DA87FE #FEDA87 #87FEDA
tetradic
#DA87FE #FE9F87 #ABFE87 #87E6FE
square
#DA87FE #FE9F87 #ABFE87 #87E6FE
split-complementary
#DA87FE #E6FE87 #87FE9F
monochromatic
#B50EFD #C74AFD #DA87FE #EDC4FF #F6E1FF

Accessibility & contrast

On white

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

On black

8.88
#DA87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87FE
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87FE#FFFFFF#000000##000000
##DA87FE1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#D899B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #da87fe;
/* rgb */ color: rgb(218, 135, 254);
/* oklch */ color: oklch(75.4% 0.183 314.9);
Tailwind
colors: {
  custom: {
    50: '#e7acff',
    500: '#da87fe',
    950: '#000000',
  },
}
SCSS
$custom: #da87fe;
$custom-light: #e7acff;
$custom-dark: #000000;
JSON
{
  "hex": "#da87fe",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 281.849,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75421,
    "c": 0.18335,
    "h": 314.9
  },
  "luminance": 0.39389
}

Semantic roles & 50–950 ramp

primary
#DA87FE
secondary
#DFF7D4
accent
#E60045
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DA87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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