#D861F9#D861F9

#D861F9 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.9% C 0.234 H 318.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#D861F9
RGBrgb(216, 97, 249)
HSLhsl(287, 93%, 68%)
HSVhsv(287, 61%, 98%)
CMYKcmyk(13.3%, 61%, 0%, 2.4%)
CIE-LABlab(61.65, 68.11, -55.74)
CIE-LCHlch(61.65, 88.01, 320.71°)
OKLaboklab(69.86% 0.1749 -0.1558)
OKLCHoklch(69.86% 0.234 318.3)
XYZxyz(49.6901, 29.9899, 92.7754)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D861F9 #82F961
analogous
#8C61F9 #D861F9 #F961CE
triadic
#D861F9 #F9D861 #61F9D8
tetradic
#D861F9 #F98C61 #82F961 #61CEF9
square
#D861F9 #F98C61 #82F961 #61CEF9
split-complementary
#D861F9 #CEF961 #61F98C
monochromatic
#AA08D7 #C926F7 #D861F9 #E79CFB #F5D7FD

Accessibility & contrast

On white

3.00
#D861F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#D861F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D861F9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D861F9#FFFFFF#000000##000000
##D861F91.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFE
Deuteranopia (green-blind)
#6899F5
Tritanopia (blue-blind)
#D87BA5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d861f9;
/* rgb */ color: rgb(216, 97, 249);
/* oklch */ color: oklch(69.9% 0.234 318.3);
Tailwind
colors: {
  custom: {
    50: '#e794fc',
    500: '#d861f9',
    950: '#000000',
  },
}
SCSS
$custom: #d861f9;
$custom-light: #e794fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d861f9",
  "rgb": {
    "r": 216,
    "g": 97,
    "b": 249
  },
  "hsl": {
    "h": 286.974,
    "s": 92.683,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69859,
    "c": 0.23421,
    "h": 318.3
  },
  "luminance": 0.29988
}

Semantic roles & 50–950 ramp

primary
#D861F9
secondary
#CEF2C3
accent
#E60032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D861F9

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

Preview Lab → · Contrast checker → · Palette generator →

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