#831AA1#831AA1

#831AA1 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 46.1% C 0.205 H 316.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#831AA1
RGBrgb(131, 26, 161)
HSLhsl(287, 72%, 37%)
HSVhsv(287, 84%, 63%)
CMYKcmyk(18.6%, 83.9%, 0%, 36.9%)
CIE-LABlab(34.27, 60.33, -49.59)
CIE-LCHlch(34.27, 78.09, 320.58°)
OKLaboklab(46.06% 0.1496 -0.1399)
OKLCHoklch(46.06% 0.205 316.9)
XYZxyz(16.1615, 8.1380, 34.4308)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831AA1 #38A11A
analogous
#401AA1 #831AA1 #A11A7C
triadic
#831AA1 #A1831A #1AA183
tetradic
#831AA1 #A1401A #38A11A #1A7CA1
square
#831AA1 #A1401A #38A11A #1A7CA1
split-complementary
#831AA1 #7CA11A #1AA140
monochromatic
#2D0938 #58116C #831AA1 #AE23D6 #C352E3

Accessibility & contrast

On white

7.99
#831AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#831AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831AA1
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831AA1#FFFFFF#000000##FFFFFF
##831AA11.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#1B539E
Tritanopia (blue-blind)
#813B60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #831aa1;
/* rgb */ color: rgb(131, 26, 161);
/* oklch */ color: oklch(46.1% 0.205 316.9);
Tailwind
colors: {
  custom: {
    50: '#ac66be',
    500: '#831aa1',
    950: '#000000',
  },
}
SCSS
$custom: #831aa1;
$custom-light: #ac66be;
$custom-dark: #000000;
JSON
{
  "hex": "#831aa1",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 286.667,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46058,
    "c": 0.20482,
    "h": 316.9
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#831AA1
secondary
#6BC651
accent
#EF3961
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #831AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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