#861F7B#861F7B

#861F7B is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.171 H 332.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#861F7B
RGBrgb(134, 31, 123)
HSLhsl(306, 62%, 32%)
HSVhsv(306, 77%, 53%)
CMYKcmyk(0%, 76.9%, 8.2%, 47.5%)
CIE-LABlab(32.87, 52.74, -28.36)
CIE-LCHlch(32.87, 59.89, 331.73°)
OKLaboklab(44.4% 0.1521 -0.0779)
OKLCHoklch(44.4% 0.171 332.9)
XYZxyz(13.8967, 7.4795, 19.4468)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861F7B #1F862A
analogous
#5E1F86 #861F7B #861F47
triadic
#861F7B #7B861F #1F7B86
tetradic
#861F7B #865E1F #1F862A #1F4786
square
#861F7B #865E1F #1F862A #1F4786
split-complementary
#861F7B #47861F #1F865E
monochromatic
#230820 #54144D #861F7B #B82AA9 #D54AC6

Accessibility & contrast

On white

8.41
#861F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#861F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861F7B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861F7B#FFFFFF#000000##FFFFFF
##861F7B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447D
Deuteranopia (green-blind)
#425279
Tritanopia (blue-blind)
#8C2A4B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #861f7b;
/* rgb */ color: rgb(134, 31, 123);
/* oklch */ color: oklch(44.4% 0.171 332.9);
Tailwind
colors: {
  custom: {
    50: '#ad67a1',
    500: '#861f7b',
    950: '#000000',
  },
}
SCSS
$custom: #861f7b;
$custom-light: #ad67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#861f7b",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 306.408,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44396,
    "c": 0.17089,
    "h": 332.9
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#861F7B
secondary
#49B855
accent
#E55442
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #861F7B

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

Preview Lab → · Contrast checker → · Palette generator →

#861F7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva