#831C87#831C87

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

Color values

HEX#831C87
RGBrgb(131, 28, 135)
HSLhsl(298, 66%, 32%)
HSVhsv(298, 79%, 53%)
CMYKcmyk(3%, 79.3%, 0%, 47.1%)
CIE-LABlab(32.71, 55.01, -36.15)
CIE-LCHlch(32.71, 65.83, 326.69°)
OKLaboklab(44.41% 0.1515 -0.1005)
OKLCHoklch(44.41% 0.182 326.4)
XYZxyz(14.1482, 7.4061, 23.6013)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C87 #20871C
analogous
#4E1C87 #831C87 #871C56
triadic
#831C87 #87831C #1C8783
tetradic
#831C87 #874E1C #20871C #1C5687
square
#831C87 #874E1C #20871C #1C5687
split-complementary
#831C87 #56871C #1C874E
monochromatic
#210722 #521154 #831C87 #B427BA #D345D8

Accessibility & contrast

On white

8.46
#831C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C87
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C87#FFFFFF#000000##FFFFFF
##831C871.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#872F51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831c87;
/* rgb */ color: rgb(131, 28, 135);
/* oklch */ color: oklch(44.4% 0.182 326.4);
Tailwind
colors: {
  custom: {
    50: '#ab66aa',
    500: '#831c87',
    950: '#000000',
  },
}
SCSS
$custom: #831c87;
$custom-light: #ab66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#831c87",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 297.757,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44405,
    "c": 0.18181,
    "h": 326.4
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#831C87
secondary
#49BA45
accent
#E93F46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831C87

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

Preview Lab → · Contrast checker → · Palette generator →

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