#831D86#831D86

#831D86 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.180 H 326.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#831D86
RGBrgb(131, 29, 134)
HSLhsl(298, 64%, 32%)
HSVhsv(298, 78%, 53%)
CMYKcmyk(2.2%, 78.4%, 0%, 47.5%)
CIE-LABlab(32.76, 54.53, -35.46)
CIE-LCHlch(32.76, 65.05, 326.97°)
OKLaboklab(44.42% 0.1507 -0.0985)
OKLCHoklch(44.42% 0.18 326.8)
XYZxyz(14.1023, 7.4263, 23.2403)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D86 #20861D
analogous
#4F1D86 #831D86 #861D55
triadic
#831D86 #86831D #1D8683
tetradic
#831D86 #864F1D #20861D #1D5586
square
#831D86 #864F1D #20861D #1D5586
split-complementary
#831D86 #55861D #1D864F
monochromatic
#210721 #521254 #831D86 #B428B8 #D346D7

Accessibility & contrast

On white

8.45
#831D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831D86
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D86#FFFFFF#000000##FFFFFF
##831D861.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#385183
Tritanopia (blue-blind)
#872F51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831d86;
/* rgb */ color: rgb(131, 29, 134);
/* oklch */ color: oklch(44.4% 0.180 326.8);
Tailwind
colors: {
  custom: {
    50: '#ab66aa',
    500: '#831d86',
    950: '#000000',
  },
}
SCSS
$custom: #831d86;
$custom-light: #ab66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831d86",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 298.286,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44417,
    "c": 0.18003,
    "h": 326.8
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#831D86
secondary
#49B946
accent
#E74045
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831D86

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

Preview Lab → · Contrast checker → · Palette generator →

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