#831A8E#831A8E

#831A8E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.189 H 323.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#831A8E
RGBrgb(131, 26, 142)
HSLhsl(294, 69%, 33%)
HSVhsv(294, 82%, 56%)
CMYKcmyk(7.7%, 81.7%, 0%, 44.3%)
CIE-LABlab(32.96, 56.82, -40.09)
CIE-LCHlch(32.96, 69.54, 324.79°)
OKLaboklab(44.72% 0.1525 -0.112)
OKLCHoklch(44.72% 0.189 323.7)
XYZxyz(14.6115, 7.5180, 26.2675)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A8E #258E1A
analogous
#491A8E #831A8E #8E1A5F
triadic
#831A8E #8E831A #1A8E83
tetradic
#831A8E #8E491A #258E1A #1A5F8E
square
#831A8E #8E491A #258E1A #1A5F8E
split-complementary
#831A8E #5F8E1A #1A8E49
monochromatic
#240727 #53115A #831A8E #B323C2 #CF45DD

Accessibility & contrast

On white

8.39
#831A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#831A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A8E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A8E#FFFFFF#000000##FFFFFF
##831A8E1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#31528B
Tritanopia (blue-blind)
#853255
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831a8e;
/* rgb */ color: rgb(131, 26, 142);
/* oklch */ color: oklch(44.7% 0.189 323.7);
Tailwind
colors: {
  custom: {
    50: '#ab65b0',
    500: '#831a8e',
    950: '#000000',
  },
}
SCSS
$custom: #831a8e;
$custom-light: #ab65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#831a8e",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 294.31,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44721,
    "c": 0.18926,
    "h": 323.7
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#831A8E
secondary
#51BE45
accent
#EC3C4D
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #831A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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