#831E7E#831E7E

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

Color values

HEX#831E7E
RGBrgb(131, 30, 126)
HSLhsl(303, 63%, 32%)
HSVhsv(303, 77%, 51%)
CMYKcmyk(0%, 77.1%, 3.8%, 48.6%)
CIE-LABlab(32.39, 52.86, -31.04)
CIE-LCHlch(32.39, 61.30, 329.58°)
OKLaboklab(44.01% 0.1499 -0.0857)
OKLCHoklch(44.01% 0.173 330.2)
XYZxyz(13.5902, 7.2613, 20.4204)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E7E #1E8323
analogous
#561E83 #831E7E #831E4C
triadic
#831E7E #7E831E #1E7E83
tetradic
#831E7E #83561E #1E8323 #1E4C83
square
#831E7E #83561E #1E8323 #1E4C83
split-complementary
#831E7E #4C831E #1E8356
monochromatic
#1F071E #51134E #831E7E #B529AE #D547CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831E7E#FFFFFF#000000##FFFFFF
##831E7E1.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)
#114381
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#882C4D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831e7e;
/* rgb */ color: rgb(131, 30, 126);
/* oklch */ color: oklch(44.0% 0.173 330.2);
Tailwind
colors: {
  custom: {
    50: '#aa66a4',
    500: '#831e7e',
    950: '#000000',
  },
}
SCSS
$custom: #831e7e;
$custom-light: #aa66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#831e7e",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 302.97,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44005,
    "c": 0.17267,
    "h": 330.2
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#831E7E
secondary
#47B64C
accent
#E64A42
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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