#831B88#831B88

#831B88 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.184 H 326.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#831B88
RGBrgb(131, 27, 136)
HSLhsl(297, 67%, 32%)
HSVhsv(297, 80%, 53%)
CMYKcmyk(3.7%, 80.1%, 0%, 46.7%)
CIE-LABlab(32.67, 55.48, -36.84)
CIE-LCHlch(32.67, 66.60, 326.42°)
OKLaboklab(44.4% 0.1522 -0.1025)
OKLCHoklch(44.4% 0.184 326)
XYZxyz(14.1957, 7.3877, 23.9661)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B88 #20881B
analogous
#4D1B88 #831B88 #881B57
triadic
#831B88 #88831B #1B8883
tetradic
#831B88 #884D1B #20881B #1B5788
square
#831B88 #884D1B #20881B #1B5788
split-complementary
#831B88 #57881B #1B884D
monochromatic
#210722 #521155 #831B88 #B425BB #D344DA

Accessibility & contrast

On white

8.48
#831B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#831B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B88
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B88#FFFFFF#000000##FFFFFF
##831B881.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#365185
Tritanopia (blue-blind)
#862F52
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831b88;
/* rgb */ color: rgb(131, 27, 136);
/* oklch */ color: oklch(44.4% 0.184 326.0);
Tailwind
colors: {
  custom: {
    50: '#ab65ab',
    500: '#831b88',
    950: '#000000',
  },
}
SCSS
$custom: #831b88;
$custom-light: #ab65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#831b88",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 297.248,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44397,
    "c": 0.18355,
    "h": 326
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#831B88
secondary
#49BB44
accent
#EA3E46
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831B88

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

Preview Lab → · Contrast checker → · Palette generator →

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