#831E76#831E76

#831E76 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.167 H 333.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#831E76
RGBrgb(131, 30, 118)
HSLhsl(308, 63%, 32%)
HSVhsv(308, 77%, 51%)
CMYKcmyk(0%, 77.1%, 9.9%, 48.6%)
CIE-LABlab(31.95, 51.56, -26.71)
CIE-LCHlch(31.95, 58.06, 332.62°)
OKLaboklab(43.54% 0.1496 -0.0732)
OKLCHoklch(43.54% 0.167 333.9)
XYZxyz(13.0945, 7.0630, 17.8097)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E76 #1E832B
analogous
#5E1E83 #831E76 #831E44
triadic
#831E76 #76831E #1E7683
tetradic
#831E76 #835E1E #1E832B #1E4483
square
#831E76 #835E1E #1E832B #1E4483
split-complementary
#831E76 #44831E #1E835E
monochromatic
#1F071C #511349 #831E76 #B529A3 #D547C2

Accessibility & contrast

On white

8.71
#831E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#831E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E76
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E76#FFFFFF#000000##FFFFFF
##831E761.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4278
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#892848
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831e76;
/* rgb */ color: rgb(131, 30, 118);
/* oklch */ color: oklch(43.5% 0.167 333.9);
Tailwind
colors: {
  custom: {
    50: '#aa669e',
    500: '#831e76',
    950: '#000000',
  },
}
SCSS
$custom: #831e76;
$custom-light: #aa669e;
$custom-dark: #000000;
JSON
{
  "hex": "#831e76",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 307.723,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43542,
    "c": 0.16653,
    "h": 333.9
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#831E76
secondary
#47B655
accent
#E65742
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831E76

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

Preview Lab → · Contrast checker → · Palette generator →

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