#DA87DC#DA87DC

#DA87DC is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.9% C 0.149 H 326.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#DA87DC
RGBrgb(218, 135, 220)
HSLhsl(299, 55%, 70%)
HSVhsv(299, 39%, 86%)
CMYKcmyk(0.9%, 38.6%, 0%, 13.7%)
CIE-LABlab(67.58, 44.70, -30.35)
CIE-LCHlch(67.58, 54.03, 325.83°)
OKLaboklab(73.86% 0.1233 -0.0828)
OKLCHoklch(73.86% 0.149 326.1)
XYZxyz(50.4946, 37.4028, 72.2559)
Luminance0.3740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87DC #89DC87
analogous
#B087DC #DA87DC #DC87B4
triadic
#DA87DC #DCDA87 #87DCDA
tetradic
#DA87DC #DCB087 #89DC87 #87B4DC
square
#DA87DC #DCB087 #89DC87 #87B4DC
split-complementary
#DA87DC #B4DC87 #87DCB0
monochromatic
#B135B4 #CB58CE #DA87DC #E9B6EA #F7E6F8

Accessibility & contrast

On white

2.48
#DA87DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#DA87DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87DC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87DC#FFFFFF#000000##000000
##DA87DC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#809EDF
Deuteranopia (green-blind)
#96A8D9
Tritanopia (blue-blind)
#DE8FA7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #da87dc;
/* rgb */ color: rgb(218, 135, 220);
/* oklch */ color: oklch(73.9% 0.149 326.1);
Tailwind
colors: {
  custom: {
    50: '#e7ace7',
    500: '#da87dc',
    950: '#000000',
  },
}
SCSS
$custom: #da87dc;
$custom-light: #e7ace7;
$custom-dark: #000000;
JSON
{
  "hex": "#da87dc",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 298.588,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73856,
    "c": 0.14853,
    "h": 326.1
  },
  "luminance": 0.37401
}

Semantic roles & 50–950 ramp

primary
#DA87DC
secondary
#D4ECD3
accent
#C22327
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DA87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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