#831987#831987

#831987 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.185 H 326.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#831987
RGBrgb(131, 25, 135)
HSLhsl(298, 69%, 31%)
HSVhsv(298, 81%, 53%)
CMYKcmyk(3%, 81.5%, 0%, 47.1%)
CIE-LABlab(32.42, 55.88, -36.63)
CIE-LCHlch(32.42, 66.81, 326.76°)
OKLaboklab(44.19% 0.1539 -0.1019)
OKLCHoklch(44.19% 0.185 326.5)
XYZxyz(14.0806, 7.2708, 23.5788)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831987 #1D8719
analogous
#4C1987 #831987 #871954
triadic
#831987 #878319 #198783
tetradic
#831987 #874C19 #1D8719 #195487
square
#831987 #874C19 #1D8719 #195487
split-complementary
#831987 #548719 #19874C
monochromatic
#1F0620 #510F53 #831987 #B523BB #D63FDB

Accessibility & contrast

On white

8.56
#831987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#831987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831987
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831987#FFFFFF#000000##FFFFFF
##8319871.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#365184
Tritanopia (blue-blind)
#872E51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831987;
/* rgb */ color: rgb(131, 25, 135);
/* oklch */ color: oklch(44.2% 0.185 326.5);
Tailwind
colors: {
  custom: {
    50: '#ab65aa',
    500: '#831987',
    950: '#000000',
  },
}
SCSS
$custom: #831987;
$custom-light: #ab65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831987",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 297.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44193,
    "c": 0.18457,
    "h": 326.5
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#831987
secondary
#46BA41
accent
#EC3C43
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831987

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

Preview Lab → · Contrast checker → · Palette generator →

#831987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva