#831986#831986

#831986 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.184 H 326.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#831986
RGBrgb(131, 25, 134)
HSLhsl(298, 69%, 31%)
HSVhsv(298, 81%, 53%)
CMYKcmyk(2.2%, 81.3%, 0%, 47.5%)
CIE-LABlab(32.35, 55.70, -36.10)
CIE-LCHlch(32.35, 66.38, 327.05°)
OKLaboklab(44.13% 0.154 -0.1004)
OKLCHoklch(44.13% 0.184 326.9)
XYZxyz(14.0105, 7.2428, 23.2097)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831986 #1C8619
analogous
#4C1986 #831986 #861952
triadic
#831986 #868319 #198683
tetradic
#831986 #864C19 #1C8619 #195286
square
#831986 #864C19 #1C8619 #195286
split-complementary
#831986 #528619 #19864C
monochromatic
#1E061F #510F52 #831986 #B523BA #D73EDB

Accessibility & contrast

On white

8.58
#831986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#831986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831986
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831986#FFFFFF#000000##FFFFFF
##8319861.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831986;
/* rgb */ color: rgb(131, 25, 134);
/* oklch */ color: oklch(44.1% 0.184 326.9);
Tailwind
colors: {
  custom: {
    50: '#ab64aa',
    500: '#831986',
    950: '#000000',
  },
}
SCSS
$custom: #831986;
$custom-light: #ab64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831986",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 298.349,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44129,
    "c": 0.18379,
    "h": 326.9
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#831986
secondary
#45BA41
accent
#EB3C41
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831986

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

Preview Lab → · Contrast checker → · Palette generator →

#831986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva