#831BAE#831BAE

#831BAE is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.215 H 312.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#831BAE
RGBrgb(131, 27, 174)
HSLhsl(282, 73%, 39%)
HSVhsv(282, 84%, 68%)
CMYKcmyk(24.7%, 84.5%, 0%, 31.8%)
CIE-LABlab(35.33, 62.59, -55.68)
CIE-LCHlch(35.33, 83.77, 318.35°)
OKLaboklab(47.11% 0.146 -0.1578)
OKLCHoklch(47.11% 0.215 312.8)
XYZxyz(17.3906, 8.6657, 40.7927)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831BAE #46AE1B
analogous
#3A1BAE #831BAE #AE1B90
triadic
#831BAE #AE831B #1BAE83
tetradic
#831BAE #AE3A1B #46AE1B #1B90AE
square
#831BAE #AE3A1B #46AE1B #1B90AE
split-complementary
#831BAE #90AE1B #1BAE3A
monochromatic
#330B44 #5B1379 #831BAE #A928DE #BE5DE6

Accessibility & contrast

On white

7.68
#831BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#831BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831BAE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831BAE#FFFFFF#000000##FFFFFF
##831BAE1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831bae;
/* rgb */ color: rgb(131, 27, 174);
/* oklch */ color: oklch(47.1% 0.215 312.8);
Tailwind
colors: {
  custom: {
    50: '#ac67c7',
    500: '#831bae',
    950: '#000000',
  },
}
SCSS
$custom: #831bae;
$custom-light: #ac67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#831bae",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 174
  },
  "hsl": {
    "h": 282.449,
    "s": 73.134,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47106,
    "c": 0.21498,
    "h": 312.8
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#831BAE
secondary
#7BCA5B
accent
#F0386E
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #831BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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