#861F8B#861F8B

#861F8B is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.183 H 326.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#861F8B
RGBrgb(134, 31, 139)
HSLhsl(297, 64%, 33%)
HSVhsv(297, 78%, 55%)
CMYKcmyk(3.6%, 77.7%, 0%, 45.5%)
CIE-LABlab(33.80, 55.43, -36.86)
CIE-LCHlch(33.80, 66.57, 326.37°)
OKLaboklab(45.36% 0.1521 -0.1025)
OKLCHoklch(45.36% 0.183 326)
XYZxyz(14.9814, 7.9134, 25.1595)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861F8B #248B1F
analogous
#501F8B #861F8B #8B1F5A
triadic
#861F8B #8B861F #1F8B86
tetradic
#861F8B #8B501F #248B1F #1F5A8B
square
#861F8B #8B501F #248B1F #1F5A8B
split-complementary
#861F8B #5A8B1F #1F8B50
monochromatic
#260927 #561459 #861F8B #B62ABD #D14DD7

Accessibility & contrast

On white

8.13
#861F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#861F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861F8B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861F8B#FFFFFF#000000##FFFFFF
##861F8B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#395488
Tritanopia (blue-blind)
#893254
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861f8b;
/* rgb */ color: rgb(134, 31, 139);
/* oklch */ color: oklch(45.4% 0.183 326.0);
Tailwind
colors: {
  custom: {
    50: '#ad67ad',
    500: '#861f8b',
    950: '#000000',
  },
}
SCSS
$custom: #861f8b;
$custom-light: #ad67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#861f8b",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 297.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45358,
    "c": 0.18345,
    "h": 326
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#861F8B
secondary
#51BA4C
accent
#E74149
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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