#D861F7#D861F7

#D861F7 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.7% C 0.232 H 318.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#D861F7
RGBrgb(216, 97, 247)
HSLhsl(288, 90%, 67%)
HSVhsv(288, 61%, 97%)
CMYKcmyk(12.6%, 60.7%, 0%, 3.1%)
CIE-LABlab(61.54, 67.74, -54.80)
CIE-LCHlch(61.54, 87.13, 321.03°)
OKLaboklab(69.75% 0.1749 -0.153)
OKLCHoklch(69.75% 0.232 318.8)
XYZxyz(49.3799, 29.8658, 91.1412)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D861F7 #80F761
analogous
#8D61F7 #D861F7 #F761CB
triadic
#D861F7 #F7D861 #61F7D8
tetradic
#D861F7 #F78D61 #80F761 #61CBF7
square
#D861F7 #F78D61 #80F761 #61CBF7
split-complementary
#D861F7 #CBF761 #61F78D
monochromatic
#AA0BD3 #CA27F4 #D861F7 #E69BFA #F5D6FD

Accessibility & contrast

On white

3.01
#D861F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#D861F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D861F7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D861F7#FFFFFF#000000##000000
##D861F71.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#388DFC
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#D87AA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d861f7;
/* rgb */ color: rgb(216, 97, 247);
/* oklch */ color: oklch(69.7% 0.232 318.8);
Tailwind
colors: {
  custom: {
    50: '#e794fa',
    500: '#d861f7',
    950: '#000000',
  },
}
SCSS
$custom: #d861f7;
$custom-light: #e794fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d861f7",
  "rgb": {
    "r": 216,
    "g": 97,
    "b": 247
  },
  "hsl": {
    "h": 287.6,
    "s": 90.361,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69747,
    "c": 0.23238,
    "h": 318.8
  },
  "luminance": 0.29864
}

Semantic roles & 50–950 ramp

primary
#D861F7
secondary
#CCF1C2
accent
#E6002F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D861F7

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

Preview Lab → · Contrast checker → · Palette generator →

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