#831C86#831C86

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

Color values

HEX#831C86
RGBrgb(131, 28, 134)
HSLhsl(298, 65%, 32%)
HSVhsv(298, 79%, 53%)
CMYKcmyk(2.2%, 79.1%, 0%, 47.5%)
CIE-LABlab(32.65, 54.84, -35.63)
CIE-LCHlch(32.65, 65.40, 326.99°)
OKLaboklab(44.34% 0.1515 -0.099)
OKLCHoklch(44.34% 0.181 326.8)
XYZxyz(14.0782, 7.3780, 23.2322)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C86 #1F861C
analogous
#4E1C86 #831C86 #861C54
triadic
#831C86 #86831C #1C8683
tetradic
#831C86 #864E1C #1F861C #1C5486
square
#831C86 #864E1C #1F861C #1C5486
split-complementary
#831C86 #54861C #1C864E
monochromatic
#200721 #521153 #831C86 #B427B9 #D444D8

Accessibility & contrast

On white

8.48
#831C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#831C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C86
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C86#FFFFFF#000000##FFFFFF
##831C861.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.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: #831c86;
/* rgb */ color: rgb(131, 28, 134);
/* oklch */ color: oklch(44.3% 0.181 326.8);
Tailwind
colors: {
  custom: {
    50: '#ab66aa',
    500: '#831c86',
    950: '#000000',
  },
}
SCSS
$custom: #831c86;
$custom-light: #ab66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831c86",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 298.302,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.18101,
    "h": 326.8
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#831C86
secondary
#48B945
accent
#E83F44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831C86

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

Preview Lab → · Contrast checker → · Palette generator →

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