#831E88#831E88

#831E88 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.181 H 326.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#831E88
RGBrgb(131, 30, 136)
HSLhsl(297, 64%, 33%)
HSVhsv(297, 78%, 53%)
CMYKcmyk(3.7%, 77.9%, 0%, 46.7%)
CIE-LABlab(32.99, 54.57, -36.33)
CIE-LCHlch(32.99, 65.56, 326.35°)
OKLaboklab(44.62% 0.1497 -0.1011)
OKLCHoklch(44.62% 0.181 326)
XYZxyz(14.2680, 7.5324, 23.9902)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E88 #23881E
analogous
#4E1E88 #831E88 #881E58
triadic
#831E88 #88831E #1E8883
tetradic
#831E88 #884E1E #23881E #1E5888
square
#831E88 #884E1E #23881E #1E5888
split-complementary
#831E88 #58881E #1E884E
monochromatic
#220824 #531356 #831E88 #B329BA #D049D7

Accessibility & contrast

On white

8.38
#831E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#831E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E88
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E88#FFFFFF#000000##FFFFFF
##831E881.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#375285
Tritanopia (blue-blind)
#863152
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #831e88;
/* rgb */ color: rgb(131, 30, 136);
/* oklch */ color: oklch(44.6% 0.181 326.0);
Tailwind
colors: {
  custom: {
    50: '#ab66ab',
    500: '#831e88',
    950: '#000000',
  },
}
SCSS
$custom: #831e88;
$custom-light: #ab66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#831e88",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 297.17,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.18064,
    "h": 326
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#831E88
secondary
#4EB949
accent
#E74149
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #831E88

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

Preview Lab → · Contrast checker → · Palette generator →

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