#DA87F1#DA87F1

#DA87F1 is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.8% C 0.170 H 318.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#DA87F1
RGBrgb(218, 135, 241)
HSLhsl(287, 79%, 74%)
HSVhsv(287, 44%, 95%)
CMYKcmyk(9.5%, 44%, 0%, 5.5%)
CIE-LABlab(68.45, 48.70, -40.58)
CIE-LCHlch(68.45, 63.39, 320.20°)
OKLaboklab(74.8% 0.1274 -0.112)
OKLCHoklch(74.8% 0.17 318.7)
XYZxyz(53.4525, 38.5860, 87.8342)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87F1 #9EF187
analogous
#A587F1 #DA87F1 #F187D3
triadic
#DA87F1 #F1DA87 #87F1DA
tetradic
#DA87F1 #F1A587 #9EF187 #87D3F1
square
#DA87F1 #F1A587 #9EF187 #87D3F1
split-complementary
#DA87F1 #D3F187 #87F1A5
monochromatic
#B81AE3 #C950EB #DA87F1 #EBBEF7 #F7E4FC

Accessibility & contrast

On white

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

On black

8.72
#DA87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87F1
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87F1#FFFFFF#000000##000000
##DA87F11.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A1F5
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#DA95B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #da87f1;
/* rgb */ color: rgb(218, 135, 241);
/* oklch */ color: oklch(74.8% 0.170 318.7);
Tailwind
colors: {
  custom: {
    50: '#e7acf6',
    500: '#da87f1',
    950: '#000000',
  },
}
SCSS
$custom: #da87f1;
$custom-light: #e7acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#da87f1",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 286.981,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74796,
    "c": 0.16966,
    "h": 318.7
  },
  "luminance": 0.38584
}

Semantic roles & 50–950 ramp

primary
#DA87F1
secondary
#DEF4D7
accent
#DB0A38
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DA87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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