#DA87E4#DA87E4

#DA87E4 is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.2% C 0.156 H 323.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#DA87E4
RGBrgb(218, 135, 228)
HSLhsl(294, 63%, 71%)
HSVhsv(294, 41%, 89%)
CMYKcmyk(4.4%, 40.8%, 0%, 10.6%)
CIE-LABlab(67.90, 46.19, -34.28)
CIE-LCHlch(67.90, 57.52, 323.43°)
OKLaboklab(74.2% 0.125 -0.094)
OKLCHoklch(74.2% 0.156 323.1)
XYZxyz(51.5795, 37.8368, 77.9700)
Luminance0.3784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87E4 #91E487
analogous
#AB87E4 #DA87E4 #E487BF
triadic
#DA87E4 #E4DA87 #87E4DA
tetradic
#DA87E4 #E4AB87 #91E487 #87BFE4
square
#DA87E4 #E4AB87 #91E487 #87BFE4
split-complementary
#DA87E4 #BFE487 #87E4AB
monochromatic
#B42CC4 #CB55D9 #DA87E4 #E9B9EF #F7E6F9

Accessibility & contrast

On white

2.45
#DA87E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#DA87E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87E4
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87E4#FFFFFF#000000##000000
##DA87E41.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9FE7
Deuteranopia (green-blind)
#92A9E1
Tritanopia (blue-blind)
#DD91AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #da87e4;
/* rgb */ color: rgb(218, 135, 228);
/* oklch */ color: oklch(74.2% 0.156 323.1);
Tailwind
colors: {
  custom: {
    50: '#e7acec',
    500: '#da87e4',
    950: '#000000',
  },
}
SCSS
$custom: #da87e4;
$custom-light: #e7acec;
$custom-dark: #000000;
JSON
{
  "hex": "#da87e4",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 293.548,
    "s": 63.265,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74204,
    "c": 0.15639,
    "h": 323.1
  },
  "luminance": 0.37835
}

Semantic roles & 50–950 ramp

primary
#DA87E4
secondary
#DAF0D7
accent
#CB1A2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DA87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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