#831686#831686

#831686 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.186 H 326.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#831686
RGBrgb(131, 22, 134)
HSLhsl(298, 72%, 31%)
HSVhsv(298, 84%, 53%)
CMYKcmyk(2.2%, 83.6%, 0%, 47.5%)
CIE-LABlab(32.08, 56.49, -36.54)
CIE-LCHlch(32.08, 67.28, 327.11°)
OKLaboklab(43.94% 0.1562 -0.1016)
OKLCHoklch(43.94% 0.186 326.9)
XYZxyz(13.9498, 7.1214, 23.1895)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831686 #198616
analogous
#4B1686 #831686 #861651
triadic
#831686 #868316 #168683
tetradic
#831686 #864B16 #198616 #165186
square
#831686 #864B16 #198616 #165186
split-complementary
#831686 #518616 #16864B
monochromatic
#1C051D #500D51 #831686 #B61FBB #DA38DE

Accessibility & contrast

On white

8.66
#831686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#831686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831686
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831686#FFFFFF#000000##FFFFFF
##8316861.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#355083
Tritanopia (blue-blind)
#872C4F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831686;
/* rgb */ color: rgb(131, 22, 134);
/* oklch */ color: oklch(43.9% 0.186 326.9);
Tailwind
colors: {
  custom: {
    50: '#ab64aa',
    500: '#831686',
    950: '#000000',
  },
}
SCSS
$custom: #831686;
$custom-light: #ab64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831686",
  "rgb": {
    "r": 131,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 298.393,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43937,
    "c": 0.18632,
    "h": 326.9
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#831686
secondary
#41BA3E
accent
#EF393E
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #831686

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

Preview Lab → · Contrast checker → · Palette generator →

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