#831AAE#831AAE

#831AAE is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 47.0% C 0.216 H 312.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#831AAE
RGBrgb(131, 26, 174)
HSLhsl(283, 74%, 39%)
HSVhsv(283, 85%, 68%)
CMYKcmyk(24.7%, 85.1%, 0%, 31.8%)
CIE-LABlab(35.24, 62.86, -55.82)
CIE-LCHlch(35.24, 84.06, 318.39°)
OKLaboklab(47.04% 0.1467 -0.1582)
OKLCHoklch(47.04% 0.216 312.8)
XYZxyz(17.3681, 8.6206, 40.7852)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831AAE #45AE1A
analogous
#391AAE #831AAE #AE1A8F
triadic
#831AAE #AE831A #1AAE83
tetradic
#831AAE #AE391A #45AE1A #1A8FAE
square
#831AAE #AE391A #45AE1A #1A8FAE
split-complementary
#831AAE #8FAE1A #1AAE39
monochromatic
#330A44 #5B1279 #831AAE #A927DF #BE5CE7

Accessibility & contrast

On white

7.71
#831AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#831AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831AAE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831AAE#FFFFFF#000000##FFFFFF
##831AAE1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#7E4267
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #831aae;
/* rgb */ color: rgb(131, 26, 174);
/* oklch */ color: oklch(47.0% 0.216 312.8);
Tailwind
colors: {
  custom: {
    50: '#ac67c7',
    500: '#831aae',
    950: '#000000',
  },
}
SCSS
$custom: #831aae;
$custom-light: #ac67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#831aae",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 174
  },
  "hsl": {
    "h": 282.568,
    "s": 74,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.21572,
    "h": 312.8
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#831AAE
secondary
#7ACA59
accent
#F1376D
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #831AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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