#DA87F7#DA87F7

#DA87F7 is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.1% C 0.176 H 316.9°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#DA87F7
RGBrgb(218, 135, 247)
HSLhsl(284, 88%, 75%)
HSVhsv(284, 45%, 97%)
CMYKcmyk(11.7%, 45.3%, 0%, 3.1%)
CIE-LABlab(68.72, 49.89, -43.45)
CIE-LCHlch(68.72, 66.16, 318.95°)
OKLaboklab(75.08% 0.1284 -0.1203)
OKLCHoklch(75.08% 0.176 316.9)
XYZxyz(54.3635, 38.9504, 92.6321)
Luminance0.3895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87F7 #A4F787
analogous
#A287F7 #DA87F7 #F787DC
triadic
#DA87F7 #F7DA87 #87F7DA
tetradic
#DA87F7 #F7A287 #A4F787 #87DCF7
square
#DA87F7 #F7A287 #A4F787 #87DCF7
split-complementary
#DA87F7 #DCF787 #87F7A2
monochromatic
#B714EF #C84EF3 #DA87F7 #ECC0FB #F6E2FD

Accessibility & contrast

On white

2.39
#DA87F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#DA87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87F7
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87F7#FFFFFF#000000##000000
##DA87F71.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FB
Deuteranopia (green-blind)
#8AAAF4
Tritanopia (blue-blind)
#D997B3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #da87f7;
/* rgb */ color: rgb(218, 135, 247);
/* oklch */ color: oklch(75.1% 0.176 316.9);
Tailwind
colors: {
  custom: {
    50: '#e7acfa',
    500: '#da87f7',
    950: '#000000',
  },
}
SCSS
$custom: #da87f7;
$custom-light: #e7acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#da87f7",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 284.464,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7508,
    "c": 0.17594,
    "h": 316.9
  },
  "luminance": 0.38949
}

Semantic roles & 50–950 ramp

primary
#DA87F7
secondary
#DEF5D6
accent
#E4013C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DA87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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