#831B86#831B86

#831B86 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.182 H 326.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#831B86
RGBrgb(131, 27, 134)
HSLhsl(298, 66%, 32%)
HSVhsv(298, 80%, 53%)
CMYKcmyk(2.2%, 79.9%, 0%, 47.5%)
CIE-LABlab(32.55, 55.14, -35.79)
CIE-LCHlch(32.55, 65.73, 327.01°)
OKLaboklab(44.27% 0.1524 -0.0995)
OKLCHoklch(44.27% 0.182 326.9)
XYZxyz(14.0548, 7.3314, 23.2245)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B86 #1E861B
analogous
#4E1B86 #831B86 #861B54
triadic
#831B86 #86831B #1B8683
tetradic
#831B86 #864E1B #1E861B #1B5486
square
#831B86 #864E1B #1E861B #1B5486
split-complementary
#831B86 #54861B #1B864E
monochromatic
#1F0620 #511153 #831B86 #B525B9 #D542D9

Accessibility & contrast

On white

8.52
#831B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#831B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B86
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B86#FFFFFF#000000##FFFFFF
##831B861.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#375183
Tritanopia (blue-blind)
#872E50
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831b86;
/* rgb */ color: rgb(131, 27, 134);
/* oklch */ color: oklch(44.3% 0.182 326.9);
Tailwind
colors: {
  custom: {
    50: '#ab65aa',
    500: '#831b86',
    950: '#000000',
  },
}
SCSS
$custom: #831b86;
$custom-light: #ab65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831b86",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 298.318,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44269,
    "c": 0.18197,
    "h": 326.9
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#831B86
secondary
#47B944
accent
#E93E43
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831B86

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

Preview Lab → · Contrast checker → · Palette generator →

#831B86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva