#DA87F8#DA87F8

#DA87F8 is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.1% C 0.177 H 316.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#DA87F8
RGBrgb(218, 135, 248)
HSLhsl(284, 89%, 75%)
HSVhsv(284, 46%, 97%)
CMYKcmyk(12.1%, 45.6%, 0%, 2.7%)
CIE-LABlab(68.76, 50.09, -43.93)
CIE-LCHlch(68.76, 66.62, 318.75°)
OKLaboklab(75.13% 0.1286 -0.1217)
OKLCHoklch(75.13% 0.177 316.6)
XYZxyz(54.5182, 39.0123, 93.4470)
Luminance0.3901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87F8 #A5F887
analogous
#A287F8 #DA87F8 #F887DD
triadic
#DA87F8 #F8DA87 #87F8DA
tetradic
#DA87F8 #F8A287 #A5F887 #87DDF8
square
#DA87F8 #F8A287 #A5F887 #87DDF8
split-complementary
#DA87F8 #DDF887 #87F8A2
monochromatic
#B613F1 #C84DF5 #DA87F8 #ECC1FB #F6E2FD

Accessibility & contrast

On white

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

On black

8.80
#DA87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87F8
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87F8#FFFFFF#000000##000000
##DA87F81.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FC
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#D997B4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #da87f8;
/* rgb */ color: rgb(218, 135, 248);
/* oklch */ color: oklch(75.1% 0.177 316.6);
Tailwind
colors: {
  custom: {
    50: '#e7acfb',
    500: '#da87f8',
    950: '#000000',
  },
}
SCSS
$custom: #da87f8;
$custom-light: #e7acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#da87f8",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 284.071,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75128,
    "c": 0.177,
    "h": 316.6
  },
  "luminance": 0.39011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DA87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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