#DA87F2#DA87F2

#DA87F2 is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.8% C 0.171 H 318.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#DA87F2
RGBrgb(218, 135, 242)
HSLhsl(287, 80%, 74%)
HSVhsv(287, 44%, 95%)
CMYKcmyk(9.9%, 44.2%, 0%, 5.1%)
CIE-LABlab(68.49, 48.90, -41.06)
CIE-LCHlch(68.49, 63.85, 319.98°)
OKLaboklab(74.84% 0.1276 -0.1134)
OKLCHoklch(74.84% 0.171 318.4)
XYZxyz(53.6023, 38.6459, 88.6230)
Luminance0.3864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87F2 #9FF287
analogous
#A587F2 #DA87F2 #F287D5
triadic
#DA87F2 #F2DA87 #87F2DA
tetradic
#DA87F2 #F2A587 #9FF287 #87D5F2
square
#DA87F2 #F2A587 #9FF287 #87D5F2
split-complementary
#DA87F2 #D5F287 #87F2A5
monochromatic
#B819E6 #C950EC #DA87F2 #EBBEF8 #F6E3FC

Accessibility & contrast

On white

2.41
#DA87F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#DA87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87F2
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87F2#FFFFFF#000000##000000
##DA87F21.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#DA95B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #da87f2;
/* rgb */ color: rgb(218, 135, 242);
/* oklch */ color: oklch(74.8% 0.171 318.4);
Tailwind
colors: {
  custom: {
    50: '#e7acf6',
    500: '#da87f2',
    950: '#000000',
  },
}
SCSS
$custom: #da87f2;
$custom-light: #e7acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#da87f2",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 286.542,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74843,
    "c": 0.17071,
    "h": 318.4
  },
  "luminance": 0.38644
}

Semantic roles & 50–950 ramp

primary
#DA87F2
secondary
#DEF4D7
accent
#DD0938
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DA87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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