#831E87#831E87

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

Color values

HEX#831E87
RGBrgb(131, 30, 135)
HSLhsl(298, 64%, 32%)
HSVhsv(298, 78%, 53%)
CMYKcmyk(3%, 77.8%, 0%, 47.1%)
CIE-LABlab(32.93, 54.40, -35.81)
CIE-LCHlch(32.93, 65.13, 326.64°)
OKLaboklab(44.56% 0.1498 -0.0996)
OKLCHoklch(44.56% 0.18 326.4)
XYZxyz(14.1973, 7.5041, 23.6176)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E87 #22871E
analogous
#4E1E87 #831E87 #871E57
triadic
#831E87 #87831E #1E8783
tetradic
#831E87 #874E1E #22871E #1E5787
square
#831E87 #874E1E #22871E #1E5787
split-complementary
#831E87 #57871E #1E874E
monochromatic
#220823 #521355 #831E87 #B429B9 #D149D7

Accessibility & contrast

On white

8.40
#831E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831E87
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E87#FFFFFF#000000##FFFFFF
##831E871.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#385284
Tritanopia (blue-blind)
#873052
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831e87;
/* rgb */ color: rgb(131, 30, 135);
/* oklch */ color: oklch(44.6% 0.180 326.4);
Tailwind
colors: {
  custom: {
    50: '#ab66aa',
    500: '#831e87',
    950: '#000000',
  },
}
SCSS
$custom: #831e87;
$custom-light: #ab66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831e87",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 297.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44557,
    "c": 0.17983,
    "h": 326.4
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#831E87
secondary
#4CB948
accent
#E74147
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831E87

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

Preview Lab → · Contrast checker → · Palette generator →

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