#DA87E9#DA87E9

#DA87E9 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.4% C 0.161 H 321.3°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#DA87E9
RGBrgb(218, 135, 233)
HSLhsl(291, 69%, 72%)
HSVhsv(291, 42%, 91%)
CMYKcmyk(6.4%, 42.1%, 0%, 8.6%)
CIE-LABlab(68.11, 47.15, -36.71)
CIE-LCHlch(68.11, 59.75, 322.09°)
OKLaboklab(74.43% 0.126 -0.1009)
OKLCHoklch(74.43% 0.161 321.3)
XYZxyz(52.2837, 38.1185, 81.6785)
Luminance0.3812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87E9 #96E987
analogous
#A987E9 #DA87E9 #E987C7
triadic
#DA87E9 #E9DA87 #87E9DA
tetradic
#DA87E9 #E9A987 #96E987 #87C7E9
square
#DA87E9 #E9A987 #96E987 #87C7E9
split-complementary
#DA87E9 #C7E987 #87E9A9
monochromatic
#B626D0 #CA53E0 #DA87E9 #EABBF2 #F7E5FA

Accessibility & contrast

On white

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

On black

8.62
#DA87E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87E9
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87E9#FFFFFF#000000##000000
##DA87E91.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0ED
Deuteranopia (green-blind)
#90A9E6
Tritanopia (blue-blind)
#DC93AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #da87e9;
/* rgb */ color: rgb(218, 135, 233);
/* oklch */ color: oklch(74.4% 0.161 321.3);
Tailwind
colors: {
  custom: {
    50: '#e7acf0',
    500: '#da87e9',
    950: '#000000',
  },
}
SCSS
$custom: #da87e9;
$custom-light: #e7acf0;
$custom-dark: #000000;
JSON
{
  "hex": "#da87e9",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 233
  },
  "hsl": {
    "h": 290.816,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74427,
    "c": 0.16143,
    "h": 321.3
  },
  "luminance": 0.38117
}

Semantic roles & 50–950 ramp

primary
#DA87E9
secondary
#DDF2D9
accent
#D11531
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DA87E9

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

Preview Lab → · Contrast checker → · Palette generator →

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