#DA87FA#DA87FA

#DA87FA is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.2% C 0.179 H 316.0°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#DA87FA
RGBrgb(218, 135, 250)
HSLhsl(283, 92%, 75%)
HSVhsv(283, 46%, 98%)
CMYKcmyk(12.8%, 46%, 0%, 2%)
CIE-LABlab(68.85, 50.49, -44.88)
CIE-LCHlch(68.85, 67.55, 318.37°)
OKLaboklab(75.22% 0.1288 -0.1244)
OKLCHoklch(75.22% 0.179 316)
XYZxyz(54.8301, 39.1371, 95.0898)
Luminance0.3913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87FA #A7FA87
analogous
#A087FA #DA87FA #FA87E1
triadic
#DA87FA #FADA87 #87FADA
tetradic
#DA87FA #FAA087 #A7FA87 #87E1FA
square
#DA87FA #FAA087 #A7FA87 #87E1FA
split-complementary
#DA87FA #E1FA87 #87FAA0
monochromatic
#B611F5 #C84CF8 #DA87FA #ECC2FC #F6E2FE

Accessibility & contrast

On white

2.38
#DA87FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#DA87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87FA
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87FA#FFFFFF#000000##000000
##DA87FA1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#88ABF7
Tritanopia (blue-blind)
#D997B5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #da87fa;
/* rgb */ color: rgb(218, 135, 250);
/* oklch */ color: oklch(75.2% 0.179 316.0);
Tailwind
colors: {
  custom: {
    50: '#e7acfc',
    500: '#da87fa',
    950: '#000000',
  },
}
SCSS
$custom: #da87fa;
$custom-light: #e7acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#da87fa",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 283.304,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75225,
    "c": 0.1791,
    "h": 316
  },
  "luminance": 0.39135
}

Semantic roles & 50–950 ramp

primary
#DA87FA
secondary
#DEF6D5
accent
#E60040
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DA87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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