#831E86#831E86

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

Color values

HEX#831E86
RGBrgb(131, 30, 134)
HSLhsl(298, 63%, 32%)
HSVhsv(298, 78%, 53%)
CMYKcmyk(2.2%, 77.6%, 0%, 47.5%)
CIE-LABlab(32.87, 54.22, -35.29)
CIE-LCHlch(32.87, 64.69, 326.95°)
OKLaboklab(44.49% 0.1498 -0.098)
OKLCHoklch(44.49% 0.179 326.8)
XYZxyz(14.1272, 7.4761, 23.2486)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E86 #21861E
analogous
#4F1E86 #831E86 #861E55
triadic
#831E86 #86831E #1E8683
tetradic
#831E86 #864F1E #21861E #1E5586
square
#831E86 #864F1E #21861E #1E5586
split-complementary
#831E86 #55861E #1E864F
monochromatic
#210822 #521354 #831E86 #B429B8 #D248D6

Accessibility & contrast

On white

8.42
#831E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#831E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E86
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E86#FFFFFF#000000##FFFFFF
##831E861.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#385284
Tritanopia (blue-blind)
#873051
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831e86;
/* rgb */ color: rgb(131, 30, 134);
/* oklch */ color: oklch(44.5% 0.179 326.8);
Tailwind
colors: {
  custom: {
    50: '#ab66aa',
    500: '#831e86',
    950: '#000000',
  },
}
SCSS
$custom: #831e86;
$custom-light: #ab66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831e86",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 298.269,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44494,
    "c": 0.17902,
    "h": 326.8
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#831E86
secondary
#4BB847
accent
#E64146
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831E86

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

Preview Lab → · Contrast checker → · Palette generator →

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