#DA87FB#DA87FB

#DA87FB is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.3% C 0.180 H 315.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#DA87FB
RGBrgb(218, 135, 251)
HSLhsl(283, 94%, 76%)
HSVhsv(283, 46%, 98%)
CMYKcmyk(13.1%, 46.2%, 0%, 1.6%)
CIE-LABlab(68.90, 50.69, -45.35)
CIE-LCHlch(68.90, 68.02, 318.18°)
OKLaboklab(75.27% 0.129 -0.1258)
OKLCHoklch(75.27% 0.18 315.7)
XYZxyz(54.9873, 39.1999, 95.9178)
Luminance0.3920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87FB #A8FB87
analogous
#A087FB #DA87FB #FB87E2
triadic
#DA87FB #FBDA87 #87FBDA
tetradic
#DA87FB #FBA087 #A8FB87 #87E2FB
square
#DA87FB #FBA087 #A8FB87 #87E2FB
split-complementary
#DA87FB #E2FB87 #87FBA0
monochromatic
#B511F7 #C84CF9 #DA87FB #ECC2FD #F6E1FE

Accessibility & contrast

On white

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

On black

8.84
#DA87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87FB
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87FB#FFFFFF#000000##000000
##DA87FB1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#D898B5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #da87fb;
/* rgb */ color: rgb(218, 135, 251);
/* oklch */ color: oklch(75.3% 0.180 315.7);
Tailwind
colors: {
  custom: {
    50: '#e7acfd',
    500: '#da87fb',
    950: '#000000',
  },
}
SCSS
$custom: #da87fb;
$custom-light: #e7acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#da87fb",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 282.931,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75274,
    "c": 0.18017,
    "h": 315.7
  },
  "luminance": 0.39198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DA87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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