#861F9B#861F9B

#861F9B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.197 H 320.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#861F9B
RGBrgb(134, 31, 155)
HSLhsl(290, 67%, 36%)
HSVhsv(290, 80%, 61%)
CMYKcmyk(13.5%, 80%, 0%, 39.2%)
CIE-LABlab(34.83, 58.32, -45.01)
CIE-LCHlch(34.83, 73.67, 322.34°)
OKLaboklab(46.42% 0.1506 -0.1264)
OKLCHoklch(46.42% 0.197 320)
XYZxyz(16.2372, 8.4157, 31.7731)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861F9B #349B1F
analogous
#481F9B #861F9B #9B1F72
triadic
#861F9B #9B861F #1F9B86
tetradic
#861F9B #9B481F #349B1F #1F729B
square
#861F9B #9B481F #349B1F #1F729B
split-complementary
#861F9B #729B1F #1F9B48
monochromatic
#2E0B35 #5A1568 #861F9B #B229CE #C757DD

Accessibility & contrast

On white

7.83
#861F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#861F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861F9B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861F9B#FFFFFF#000000##FFFFFF
##861F9B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#2B5598
Tritanopia (blue-blind)
#863A5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #861f9b;
/* rgb */ color: rgb(134, 31, 155);
/* oklch */ color: oklch(46.4% 0.197 320.0);
Tailwind
colors: {
  custom: {
    50: '#ad68b9',
    500: '#861f9b',
    950: '#000000',
  },
}
SCSS
$custom: #861f9b;
$custom-light: #ad68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#861f9b",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 289.839,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.19662,
    "h": 320
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#861F9B
secondary
#67C155
accent
#EA3E5B
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #861F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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