#DA87F6#DA87F6

#DA87F6 is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.0% C 0.175 H 317.2°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#DA87F6
RGBrgb(218, 135, 246)
HSLhsl(285, 86%, 75%)
HSVhsv(285, 45%, 96%)
CMYKcmyk(11.4%, 45.1%, 0%, 3.5%)
CIE-LABlab(68.67, 49.69, -42.97)
CIE-LCHlch(68.67, 65.69, 319.15°)
OKLaboklab(75.03% 0.1282 -0.1189)
OKLCHoklch(75.03% 0.175 317.2)
XYZxyz(54.2096, 38.8888, 91.8216)
Luminance0.3889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87F6 #A3F687
analogous
#A387F6 #DA87F6 #F687DB
triadic
#DA87F6 #F6DA87 #87F6DA
tetradic
#DA87F6 #F6A387 #A3F687 #87DBF6
square
#DA87F6 #F6A387 #A3F687 #87DBF6
split-complementary
#DA87F6 #DBF687 #87F6A3
monochromatic
#B715ED #C84EF2 #DA87F6 #ECC0FA #F6E3FD

Accessibility & contrast

On white

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

On black

8.78
#DA87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87F6
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87F6#FFFFFF#000000##000000
##DA87F61.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FA
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#D996B3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #da87f6;
/* rgb */ color: rgb(218, 135, 246);
/* oklch */ color: oklch(75.0% 0.175 317.2);
Tailwind
colors: {
  custom: {
    50: '#e7acf9',
    500: '#da87f6',
    950: '#000000',
  },
}
SCSS
$custom: #da87f6;
$custom-light: #e7acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#da87f6",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 284.865,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75032,
    "c": 0.17489,
    "h": 317.2
  },
  "luminance": 0.38887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DA87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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