#831D84#831D84

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

Color values

HEX#831D84
RGBrgb(131, 29, 132)
HSLhsl(299, 64%, 32%)
HSVhsv(299, 78%, 52%)
CMYKcmyk(0.8%, 78%, 0%, 48.2%)
CIE-LABlab(32.64, 54.19, -34.41)
CIE-LCHlch(32.64, 64.19, 327.59°)
OKLaboklab(44.29% 0.1507 -0.0955)
OKLCHoklch(44.29% 0.178 327.7)
XYZxyz(13.9641, 7.3710, 22.5126)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D84 #1E841D
analogous
#501D84 #831D84 #841D52
triadic
#831D84 #84831D #1D8483
tetradic
#831D84 #84501D #1E841D #1D5284
square
#831D84 #84501D #1E841D #1D5284
split-complementary
#831D84 #52841D #1D8450
monochromatic
#1F0720 #511252 #831D84 #B528B6 #D545D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831D84#FFFFFF#000000##FFFFFF
##831D841.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)
#014487
Deuteranopia (green-blind)
#395182
Tritanopia (blue-blind)
#872E50
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831d84;
/* rgb */ color: rgb(131, 29, 132);
/* oklch */ color: oklch(44.3% 0.178 327.7);
Tailwind
colors: {
  custom: {
    50: '#ab66a8',
    500: '#831d84',
    950: '#000000',
  },
}
SCSS
$custom: #831d84;
$custom-light: #ab66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#831d84",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 299.417,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44292,
    "c": 0.17843,
    "h": 327.7
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#831D84
secondary
#47B746
accent
#E74142
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831D84

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

Preview Lab → · Contrast checker → · Palette generator →

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