#831A9E#831A9E

#831A9E is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.8% C 0.202 H 317.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#831A9E
RGBrgb(131, 26, 158)
HSLhsl(288, 72%, 36%)
HSVhsv(288, 84%, 62%)
CMYKcmyk(17.1%, 83.5%, 0%, 38%)
CIE-LABlab(34.05, 59.76, -48.12)
CIE-LCHlch(34.05, 76.72, 321.16°)
OKLaboklab(45.84% 0.1502 -0.1356)
OKLCHoklch(45.84% 0.202 317.9)
XYZxyz(15.9001, 8.0335, 33.0542)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A9E #359E1A
analogous
#411A9E #831A9E #9E1A77
triadic
#831A9E #9E831A #1A9E83
tetradic
#831A9E #9E411A #359E1A #1A779E
square
#831A9E #9E411A #359E1A #1A779E
split-complementary
#831A9E #779E1A #1A9E41
monochromatic
#2C0935 #571169 #831A9E #AF23D3 #C450E2

Accessibility & contrast

On white

8.06
#831A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#831A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A9E
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A9E#FFFFFF#000000##FFFFFF
##831A9E1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#20539B
Tritanopia (blue-blind)
#823A5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #831a9e;
/* rgb */ color: rgb(131, 26, 158);
/* oklch */ color: oklch(45.8% 0.202 317.9);
Tailwind
colors: {
  custom: {
    50: '#ab66bb',
    500: '#831a9e',
    950: '#000000',
  },
}
SCSS
$custom: #831a9e;
$custom-light: #ab66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#831a9e",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 287.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45839,
    "c": 0.20234,
    "h": 317.9
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#831A9E
secondary
#67C54F
accent
#EE395E
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #831A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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