#831BAA#831BAA

#831BAA is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.8% C 0.212 H 314.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#831BAA
RGBrgb(131, 27, 170)
HSLhsl(284, 73%, 39%)
HSVhsv(284, 84%, 67%)
CMYKcmyk(22.9%, 84.1%, 0%, 33.3%)
CIE-LABlab(35.03, 61.80, -53.78)
CIE-LCHlch(35.03, 81.92, 318.97°)
OKLaboklab(46.8% 0.147 -0.1522)
OKLCHoklch(46.8% 0.212 314)
XYZxyz(17.0064, 8.5120, 38.7696)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831BAA #42AA1B
analogous
#3B1BAA #831BAA #AA1B89
triadic
#831BAA #AA831B #1BAA83
tetradic
#831BAA #AA3B1B #42AA1B #1B89AA
square
#831BAA #AA3B1B #42AA1B #1B89AA
split-complementary
#831BAA #89AA1B #1BAA3B
monochromatic
#320A40 #5A1375 #831BAA #AB26DC #BF5BE5

Accessibility & contrast

On white

7.77
#831BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#831BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831BAA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831BAA#FFFFFF#000000##FFFFFF
##831BAA1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0455A7
Tritanopia (blue-blind)
#7F4065
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #831baa;
/* rgb */ color: rgb(131, 27, 170);
/* oklch */ color: oklch(46.8% 0.212 314.0);
Tailwind
colors: {
  custom: {
    50: '#ac67c4',
    500: '#831baa',
    950: '#000000',
  },
}
SCSS
$custom: #831baa;
$custom-light: #ac67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#831baa",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 283.636,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46798,
    "c": 0.2116,
    "h": 314
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#831BAA
secondary
#77C958
accent
#EF396A
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #831BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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