#831E9B#831E9B

#831E9B is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.196 H 318.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#831E9B
RGBrgb(131, 30, 155)
HSLhsl(288, 68%, 36%)
HSVhsv(288, 81%, 61%)
CMYKcmyk(15.5%, 80.6%, 0%, 39.2%)
CIE-LABlab(34.23, 58.05, -46.00)
CIE-LCHlch(34.23, 74.07, 321.60°)
OKLaboklab(45.9% 0.1478 -0.1294)
OKLCHoklch(45.9% 0.196 318.8)
XYZxyz(15.7399, 8.1212, 31.7424)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E9B #369B1E
analogous
#451E9B #831E9B #9B1E75
triadic
#831E9B #9B831E #1E9B83
tetradic
#831E9B #9B451E #369B1E #1E759B
square
#831E9B #9B451E #369B1E #1E759B
split-complementary
#831E9B #759B1E #1E9B45
monochromatic
#2C0A34 #581468 #831E9B #AE28CE #C455DE

Accessibility & contrast

On white

8.00
#831E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#831E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E9B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E9B#FFFFFF#000000##FFFFFF
##831E9B1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#265498
Tritanopia (blue-blind)
#833A5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #831e9b;
/* rgb */ color: rgb(131, 30, 155);
/* oklch */ color: oklch(45.9% 0.196 318.8);
Tailwind
colors: {
  custom: {
    50: '#ab67b9',
    500: '#831e9b',
    950: '#000000',
  },
}
SCSS
$custom: #831e9b;
$custom-light: #ab67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#831e9b",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 288.48,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.1964,
    "h": 318.8
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#831E9B
secondary
#68C253
accent
#EA3D5F
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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