#831E82#831E82

#831E82 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.176 H 328.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#831E82
RGBrgb(131, 30, 130)
HSLhsl(301, 63%, 32%)
HSVhsv(301, 77%, 51%)
CMYKcmyk(0%, 77.1%, 0.8%, 48.6%)
CIE-LABlab(32.63, 53.53, -33.17)
CIE-LCHlch(32.63, 62.98, 328.21°)
OKLaboklab(44.25% 0.1499 -0.0919)
OKLCHoklch(44.25% 0.176 328.5)
XYZxyz(13.8535, 7.3666, 21.8070)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E82 #1E831F
analogous
#521E83 #831E82 #831E50
triadic
#831E82 #82831E #1E8283
tetradic
#831E82 #83521E #1E831F #1E5083
square
#831E82 #83521E #1E831F #1E5083
split-complementary
#831E82 #50831E #1E8352
monochromatic
#1F071F #511351 #831E82 #B529B3 #D547D3

Accessibility & contrast

On white

8.49
#831E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#831E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E82
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E82#FFFFFF#000000##FFFFFF
##831E821.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084485
Deuteranopia (green-blind)
#3B5180
Tritanopia (blue-blind)
#872E4F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831e82;
/* rgb */ color: rgb(131, 30, 130);
/* oklch */ color: oklch(44.2% 0.176 328.5);
Tailwind
colors: {
  custom: {
    50: '#aa66a7',
    500: '#831e82',
    950: '#000000',
  },
}
SCSS
$custom: #831e82;
$custom-light: #aa66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#831e82",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 300.594,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44246,
    "c": 0.17582,
    "h": 328.5
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#831E82
secondary
#47B648
accent
#E64442
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831E82

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

Preview Lab → · Contrast checker → · Palette generator →

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