#831886#831886

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

Color values

HEX#831886
RGBrgb(131, 24, 134)
HSLhsl(298, 70%, 31%)
HSVhsv(298, 82%, 53%)
CMYKcmyk(2.2%, 82.1%, 0%, 47.5%)
CIE-LABlab(32.26, 55.98, -36.25)
CIE-LCHlch(32.26, 66.69, 327.07°)
OKLaboklab(44.06% 0.1547 -0.1008)
OKLCHoklch(44.06% 0.185 326.9)
XYZxyz(13.9896, 7.2008, 23.2027)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831886 #1B8618
analogous
#4C1886 #831886 #861852
triadic
#831886 #868318 #188683
tetradic
#831886 #864C18 #1B8618 #185286
square
#831886 #864C18 #1B8618 #185286
split-complementary
#831886 #528618 #18864C
monochromatic
#1E051E #500F52 #831886 #B621BA #D83CDC

Accessibility & contrast

On white

8.61
#831886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#831886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831886
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831886#FFFFFF#000000##FFFFFF
##8318861.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831886;
/* rgb */ color: rgb(131, 24, 134);
/* oklch */ color: oklch(44.1% 0.185 326.9);
Tailwind
colors: {
  custom: {
    50: '#ab64aa',
    500: '#831886',
    950: '#000000',
  },
}
SCSS
$custom: #831886;
$custom-light: #ab64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831886",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 298.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44063,
    "c": 0.18466,
    "h": 326.9
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#831886
secondary
#43BA40
accent
#EC3B40
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831886

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

Preview Lab → · Contrast checker → · Palette generator →

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