#831E9A#831E9A

#831E9A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.196 H 319.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#831E9A
RGBrgb(131, 30, 154)
HSLhsl(289, 67%, 36%)
HSVhsv(289, 81%, 60%)
CMYKcmyk(14.9%, 80.5%, 0%, 39.6%)
CIE-LABlab(34.16, 57.86, -45.51)
CIE-LCHlch(34.16, 73.61, 321.81°)
OKLaboklab(45.83% 0.1479 -0.1279)
OKLCHoklch(45.83% 0.196 319.1)
XYZxyz(15.6563, 8.0877, 31.3020)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E9A #359A1E
analogous
#451E9A #831E9A #9A1E73
triadic
#831E9A #9A831E #1E9A83
tetradic
#831E9A #9A451E #359A1E #1E739A
square
#831E9A #9A451E #359A1E #1E739A
split-complementary
#831E9A #739A1E #1E9A45
monochromatic
#2C0A34 #571467 #831E9A #AF28CD #C455DE

Accessibility & contrast

On white

8.02
#831E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#831E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E9A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E9A#FFFFFF#000000##FFFFFF
##831E9A1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#285497
Tritanopia (blue-blind)
#833A5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #831e9a;
/* rgb */ color: rgb(131, 30, 154);
/* oklch */ color: oklch(45.8% 0.196 319.1);
Tailwind
colors: {
  custom: {
    50: '#ab67b8',
    500: '#831e9a',
    950: '#000000',
  },
}
SCSS
$custom: #831e9a;
$custom-light: #ab67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#831e9a",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 288.871,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.19555,
    "h": 319.1
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#831E9A
secondary
#67C153
accent
#EA3E5E
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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