#831A86#831A86

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

Color values

HEX#831A86
RGBrgb(131, 26, 134)
HSLhsl(298, 68%, 31%)
HSVhsv(298, 81%, 53%)
CMYKcmyk(2.2%, 80.6%, 0%, 47.5%)
CIE-LABlab(32.45, 55.43, -35.95)
CIE-LCHlch(32.45, 66.06, 327.03°)
OKLaboklab(44.2% 0.1532 -0.0999)
OKLCHoklch(44.2% 0.183 326.9)
XYZxyz(14.0323, 7.2863, 23.2170)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A86 #1D861A
analogous
#4D1A86 #831A86 #861A53
triadic
#831A86 #86831A #1A8683
tetradic
#831A86 #864D1A #1D861A #1A5386
square
#831A86 #864D1A #1D861A #1A5386
split-complementary
#831A86 #53861A #1A864D
monochromatic
#1F061F #511053 #831A86 #B524B9 #D640DA

Accessibility & contrast

On white

8.55
#831A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#831A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A86
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A86#FFFFFF#000000##FFFFFF
##831A861.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831a86;
/* rgb */ color: rgb(131, 26, 134);
/* oklch */ color: oklch(44.2% 0.183 326.9);
Tailwind
colors: {
  custom: {
    50: '#ab65aa',
    500: '#831a86',
    950: '#000000',
  },
}
SCSS
$custom: #831a86;
$custom-light: #ab65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831a86",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 298.333,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44198,
    "c": 0.1829,
    "h": 326.9
  },
  "luminance": 0.07285
}

Semantic roles & 50–950 ramp

primary
#831A86
secondary
#46B942
accent
#EA3D42
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831A86

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

Preview Lab → · Contrast checker → · Palette generator →

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