#DA87FC#DA87FC

#DA87FC is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.3% C 0.181 H 315.4°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#DA87FC
RGBrgb(218, 135, 252)
HSLhsl(283, 95%, 76%)
HSVhsv(283, 46%, 99%)
CMYKcmyk(13.5%, 46.4%, 0%, 1.2%)
CIE-LABlab(68.94, 50.90, -45.83)
CIE-LCHlch(68.94, 68.49, 318.00°)
OKLaboklab(75.32% 0.1291 -0.1272)
OKLCHoklch(75.32% 0.181 315.4)
XYZxyz(55.1454, 39.2632, 96.7502)
Luminance0.3926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87FC #A9FC87
analogous
#9F87FC #DA87FC #FC87E3
triadic
#DA87FC #FCDA87 #87FCDA
tetradic
#DA87FC #FC9F87 #A9FC87 #87E3FC
square
#DA87FC #FC9F87 #A9FC87 #87E3FC
split-complementary
#DA87FC #E3FC87 #87FC9F
monochromatic
#B510F9 #C84BFB #DA87FC #ECC3FD #F6E1FE

Accessibility & contrast

On white

2.37
#DA87FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#DA87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87FC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87FC#FFFFFF#000000##000000
##DA87FC1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#87ABF9
Tritanopia (blue-blind)
#D898B6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #da87fc;
/* rgb */ color: rgb(218, 135, 252);
/* oklch */ color: oklch(75.3% 0.181 315.4);
Tailwind
colors: {
  custom: {
    50: '#e7acfe',
    500: '#da87fc',
    950: '#000000',
  },
}
SCSS
$custom: #da87fc;
$custom-light: #e7acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#da87fc",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 282.564,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75323,
    "c": 0.18123,
    "h": 315.4
  },
  "luminance": 0.39262
}

Semantic roles & 50–950 ramp

primary
#DA87FC
secondary
#DEF6D5
accent
#E60043
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DA87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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