#831F86#831F86

#831F86 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.178 H 326.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#831F86
RGBrgb(131, 31, 134)
HSLhsl(298, 62%, 32%)
HSVhsv(298, 77%, 53%)
CMYKcmyk(2.2%, 76.9%, 0%, 47.5%)
CIE-LABlab(32.98, 53.90, -35.11)
CIE-LCHlch(32.98, 64.33, 326.92°)
OKLaboklab(44.57% 0.1489 -0.0975)
OKLCHoklch(44.57% 0.178 326.8)
XYZxyz(14.1529, 7.5275, 23.2572)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F86 #22861F
analogous
#4F1F86 #831F86 #861F56
triadic
#831F86 #86831F #1F8683
tetradic
#831F86 #864F1F #22861F #1F5686
square
#831F86 #864F1F #22861F #1F5686
split-complementary
#831F86 #56861F #1F864F
monochromatic
#220823 #521454 #831F86 #B42AB8 #D14AD5

Accessibility & contrast

On white

8.38
#831F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#831F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F86
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F86#FFFFFF#000000##FFFFFF
##831F861.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004689
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#873151
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #831f86;
/* rgb */ color: rgb(131, 31, 134);
/* oklch */ color: oklch(44.6% 0.178 326.8);
Tailwind
colors: {
  custom: {
    50: '#aa67aa',
    500: '#831f86',
    950: '#000000',
  },
}
SCSS
$custom: #831f86;
$custom-light: #aa67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831f86",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 298.252,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44574,
    "c": 0.17799,
    "h": 326.8
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

primary
#831F86
secondary
#4CB849
accent
#E54247
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #831F86

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

Preview Lab → · Contrast checker → · Palette generator →

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