#D861F5#D861F5

#D861F5 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.6% C 0.231 H 319.3°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#D861F5
RGBrgb(216, 97, 245)
HSLhsl(288, 88%, 67%)
HSVhsv(288, 60%, 96%)
CMYKcmyk(11.8%, 60.4%, 0%, 3.9%)
CIE-LABlab(61.43, 67.36, -53.86)
CIE-LCHlch(61.43, 86.25, 321.35°)
OKLaboklab(69.64% 0.1748 -0.1503)
OKLCHoklch(69.64% 0.231 319.3)
XYZxyz(49.0729, 29.7430, 89.5246)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D861F5 #7EF561
analogous
#8E61F5 #D861F5 #F561C8
triadic
#D861F5 #F5D861 #61F5D8
tetradic
#D861F5 #F58E61 #7EF561 #61C8F5
square
#D861F5 #F58E61 #7EF561 #61C8F5
split-complementary
#D861F5 #C8F561 #61F58E
monochromatic
#A90DCF #CA27F1 #D861F5 #E69BF9 #F4D4FC

Accessibility & contrast

On white

3.02
#D861F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#D861F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D861F5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D861F5#FFFFFF#000000##000000
##D861F51.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CFA
Deuteranopia (green-blind)
#6B98F1
Tritanopia (blue-blind)
#D879A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d861f5;
/* rgb */ color: rgb(216, 97, 245);
/* oklch */ color: oklch(69.6% 0.231 319.3);
Tailwind
colors: {
  custom: {
    50: '#e794f9',
    500: '#d861f5',
    950: '#000000',
  },
}
SCSS
$custom: #d861f5;
$custom-light: #e794f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d861f5",
  "rgb": {
    "r": 216,
    "g": 97,
    "b": 245
  },
  "hsl": {
    "h": 288.243,
    "s": 88.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69635,
    "c": 0.23055,
    "h": 319.3
  },
  "luminance": 0.29741
}

Semantic roles & 50–950 ramp

primary
#D861F5
secondary
#CBF0C1
accent
#E5012D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D861F5

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

Preview Lab → · Contrast checker → · Palette generator →

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