#DA87F0#DA87F0

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

Color values

HEX#DA87F0
RGBrgb(218, 135, 240)
HSLhsl(287, 78%, 74%)
HSVhsv(287, 44%, 94%)
CMYKcmyk(9.2%, 43.8%, 0%, 5.9%)
CIE-LABlab(68.41, 48.51, -40.09)
CIE-LCHlch(68.41, 62.93, 320.42°)
OKLaboklab(74.75% 0.1273 -0.1106)
OKLCHoklch(74.75% 0.169 319)
XYZxyz(53.3035, 38.5264, 87.0497)
Luminance0.3852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87F0 #9DF087
analogous
#A587F0 #DA87F0 #F087D1
triadic
#DA87F0 #F0DA87 #87F0DA
tetradic
#DA87F0 #F0A587 #9DF087 #87D1F0
square
#DA87F0 #F0A587 #9DF087 #87D1F0
split-complementary
#DA87F0 #D1F087 #87F0A5
monochromatic
#B71CE1 #C951E9 #DA87F0 #EBBDF7 #F7E4FC

Accessibility & contrast

On white

2.41
#DA87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#DA87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87F0
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87F0#FFFFFF#000000##000000
##DA87F01.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F4
Deuteranopia (green-blind)
#8DAAED
Tritanopia (blue-blind)
#DB95B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #da87f0;
/* rgb */ color: rgb(218, 135, 240);
/* oklch */ color: oklch(74.7% 0.169 319.0);
Tailwind
colors: {
  custom: {
    50: '#e7acf5',
    500: '#da87f0',
    950: '#000000',
  },
}
SCSS
$custom: #da87f0;
$custom-light: #e7acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#da87f0",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 287.429,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74749,
    "c": 0.16862,
    "h": 319
  },
  "luminance": 0.38525
}

Semantic roles & 50–950 ramp

primary
#DA87F0
secondary
#DDF3D8
accent
#DA0B37
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DA87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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