#831E8E#831E8E

#831E8E is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 323.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#831E8E
RGBrgb(131, 30, 142)
HSLhsl(294, 65%, 34%)
HSVhsv(294, 79%, 56%)
CMYKcmyk(7.7%, 78.9%, 0%, 44.3%)
CIE-LABlab(33.37, 55.64, -39.44)
CIE-LCHlch(33.37, 68.20, 324.67°)
OKLaboklab(45.01% 0.1493 -0.1102)
OKLCHoklch(45.01% 0.186 323.6)
XYZxyz(14.7064, 7.7078, 26.2991)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E8E #298E1E
analogous
#4B1E8E #831E8E #8E1E61
triadic
#831E8E #8E831E #1E8E83
tetradic
#831E8E #8E4B1E #298E1E #1E618E
square
#831E8E #8E4B1E #298E1E #1E618E
split-complementary
#831E8E #618E1E #1E8E4B
monochromatic
#260929 #54135B #831E8E #B229C1 #CC4DD9

Accessibility & contrast

On white

8.26
#831E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#831E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E8E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E8E#FFFFFF#000000##FFFFFF
##831E8E1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#33528B
Tritanopia (blue-blind)
#853456
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #831e8e;
/* rgb */ color: rgb(131, 30, 142);
/* oklch */ color: oklch(45.0% 0.186 323.6);
Tailwind
colors: {
  custom: {
    50: '#ab67b0',
    500: '#831e8e',
    950: '#000000',
  },
}
SCSS
$custom: #831e8e;
$custom-light: #ab67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#831e8e",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 294.107,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.18555,
    "h": 323.6
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#831E8E
secondary
#57BC4C
accent
#E84050
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #831E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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