#DA87EF#DA87EF

#DA87EF is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.7% C 0.168 H 319.3°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#DA87EF
RGBrgb(218, 135, 239)
HSLhsl(288, 76%, 73%)
HSVhsv(288, 44%, 94%)
CMYKcmyk(8.8%, 43.5%, 0%, 6.3%)
CIE-LABlab(68.36, 48.31, -39.61)
CIE-LCHlch(68.36, 62.47, 320.65°)
OKLaboklab(74.7% 0.1271 -0.1092)
OKLCHoklch(74.7% 0.168 319.3)
XYZxyz(53.1554, 38.4672, 86.2695)
Luminance0.3846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87EF #9CEF87
analogous
#A687EF #DA87EF #EF87D0
triadic
#DA87EF #EFDA87 #87EFDA
tetradic
#DA87EF #EFA687 #9CEF87 #87D0EF
square
#DA87EF #EFA687 #9CEF87 #87D0EF
split-complementary
#DA87EF #D0EF87 #87EFA6
monochromatic
#B71EDE #C951E8 #DA87EF #EBBDF6 #F7E4FB

Accessibility & contrast

On white

2.42
#DA87EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#DA87EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87EF
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87EF#FFFFFF#000000##000000
##DA87EF1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#DB94B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #da87ef;
/* rgb */ color: rgb(218, 135, 239);
/* oklch */ color: oklch(74.7% 0.168 319.3);
Tailwind
colors: {
  custom: {
    50: '#e7acf4',
    500: '#da87ef',
    950: '#000000',
  },
}
SCSS
$custom: #da87ef;
$custom-light: #e7acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#da87ef",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 287.885,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74703,
    "c": 0.16759,
    "h": 319.3
  },
  "luminance": 0.38465
}

Semantic roles & 50–950 ramp

primary
#DA87EF
secondary
#DDF3D8
accent
#D90D36
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DA87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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