#DA87E2#DA87E2

#DA87E2 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.1% C 0.154 H 323.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#DA87E2
RGBrgb(218, 135, 226)
HSLhsl(295, 61%, 71%)
HSVhsv(295, 40%, 89%)
CMYKcmyk(3.5%, 40.3%, 0%, 11.4%)
CIE-LABlab(67.82, 45.82, -33.30)
CIE-LCHlch(67.82, 56.64, 323.99°)
OKLaboklab(74.12% 0.1246 -0.0912)
OKLCHoklch(74.12% 0.154 323.8)
XYZxyz(51.3035, 37.7264, 76.5163)
Luminance0.3772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87E2 #8FE287
analogous
#AC87E2 #DA87E2 #E287BC
triadic
#DA87E2 #E2DA87 #87E2DA
tetradic
#DA87E2 #E2AC87 #8FE287 #87BCE2
square
#DA87E2 #E2AC87 #8FE287 #87BCE2
split-complementary
#DA87E2 #BCE287 #87E2AC
monochromatic
#B32EC0 #CB56D6 #DA87E2 #E9B8EE #F7E6F9

Accessibility & contrast

On white

2.46
#DA87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#DA87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87E2
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87E2#FFFFFF#000000##000000
##DA87E21.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE5
Deuteranopia (green-blind)
#93A9DF
Tritanopia (blue-blind)
#DD91AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #da87e2;
/* rgb */ color: rgb(218, 135, 226);
/* oklch */ color: oklch(74.1% 0.154 323.8);
Tailwind
colors: {
  custom: {
    50: '#e7aceb',
    500: '#da87e2',
    950: '#000000',
  },
}
SCSS
$custom: #da87e2;
$custom-light: #e7aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#da87e2",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 294.725,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74116,
    "c": 0.15441,
    "h": 323.8
  },
  "luminance": 0.37724
}

Semantic roles & 50–950 ramp

primary
#DA87E2
secondary
#D8EFD6
accent
#C91D2C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DA87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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