#831C82#831C82

#831C82 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.178 H 328.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#831C82
RGBrgb(131, 28, 130)
HSLhsl(301, 65%, 31%)
HSVhsv(301, 79%, 51%)
CMYKcmyk(0%, 78.6%, 0.8%, 48.6%)
CIE-LABlab(32.41, 54.16, -33.52)
CIE-LCHlch(32.41, 63.69, 328.25°)
OKLaboklab(44.09% 0.1517 -0.0929)
OKLCHoklch(44.09% 0.178 328.5)
XYZxyz(13.8044, 7.2685, 21.7907)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C82 #1C831D
analogous
#501C83 #831C82 #831C4E
triadic
#831C82 #82831C #1C8283
tetradic
#831C82 #83501C #1C831D #1C4E83
square
#831C82 #83501C #1C831D #1C4E83
split-complementary
#831C82 #4E831C #1C8350
monochromatic
#1E061E #511150 #831C82 #B527B4 #D743D5

Accessibility & contrast

On white

8.56
#831C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#831C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##831C82#FFFFFF#000000##FFFFFF
##831C821.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)
#034485
Deuteranopia (green-blind)
#3A5180
Tritanopia (blue-blind)
#872D4E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831c82;
/* rgb */ color: rgb(131, 28, 130);
/* oklch */ color: oklch(44.1% 0.178 328.5);
Tailwind
colors: {
  custom: {
    50: '#ab65a7',
    500: '#831c82',
    950: '#000000',
  },
}
SCSS
$custom: #831c82;
$custom-light: #ab65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#831c82",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 300.583,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44092,
    "c": 0.17784,
    "h": 328.5
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#831C82
secondary
#45B646
accent
#E84240
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831C82

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

Preview Lab → · Contrast checker → · Palette generator →

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