#861F97#861F97

#861F97 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.193 H 321.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#861F97
RGBrgb(134, 31, 151)
HSLhsl(292, 66%, 36%)
HSVhsv(292, 79%, 59%)
CMYKcmyk(11.3%, 79.5%, 0%, 40.8%)
CIE-LABlab(34.57, 57.58, -43.01)
CIE-LCHlch(34.57, 71.87, 323.24°)
OKLaboklab(46.15% 0.1511 -0.1205)
OKLCHoklch(46.15% 0.193 321.4)
XYZxyz(15.9068, 8.2836, 30.0332)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861F97 #30971F
analogous
#4A1F97 #861F97 #971F6C
triadic
#861F97 #97861F #1F9786
tetradic
#861F97 #974A1F #30971F #1F6C97
square
#861F97 #974A1F #30971F #1F6C97
split-complementary
#861F97 #6C971F #1F974A
monochromatic
#2C0A31 #591564 #861F97 #B329CA #C954DC

Accessibility & contrast

On white

7.90
#861F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#861F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861F97
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861F97#FFFFFF#000000##FFFFFF
##861F971.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#2F5594
Tritanopia (blue-blind)
#87385B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #861f97;
/* rgb */ color: rgb(134, 31, 151);
/* oklch */ color: oklch(46.1% 0.193 321.4);
Tailwind
colors: {
  custom: {
    50: '#ad68b6',
    500: '#861f97',
    950: '#000000',
  },
}
SCSS
$custom: #861f97;
$custom-light: #ad68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#861f97",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 291.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46145,
    "c": 0.19329,
    "h": 321.4
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#861F97
secondary
#62BF52
accent
#E93F57
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #861F97

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

Preview Lab → · Contrast checker → · Palette generator →

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