#831E9E#831E9E

#831E9E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.199 H 317.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#831E9E
RGBrgb(131, 30, 158)
HSLhsl(287, 68%, 37%)
HSVhsv(287, 81%, 62%)
CMYKcmyk(17.1%, 81%, 0%, 38%)
CIE-LABlab(34.44, 58.62, -47.49)
CIE-LCHlch(34.44, 75.44, 320.99°)
OKLaboklab(46.11% 0.1473 -0.1337)
OKLCHoklch(46.11% 0.199 317.8)
XYZxyz(15.9950, 8.2232, 33.0858)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E9E #399E1E
analogous
#431E9E #831E9E #9E1E79
triadic
#831E9E #9E831E #1E9E83
tetradic
#831E9E #9E431E #399E1E #1E799E
square
#831E9E #9E431E #399E1E #1E799E
split-complementary
#831E9E #799E1E #1E9E43
monochromatic
#2E0A37 #58146B #831E9E #AE28D1 #C257DF

Accessibility & contrast

On white

7.94
#831E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#831E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E9E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E9E#FFFFFF#000000##FFFFFF
##831E9E1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#23549B
Tritanopia (blue-blind)
#823C5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #831e9e;
/* rgb */ color: rgb(131, 30, 158);
/* oklch */ color: oklch(46.1% 0.199 317.8);
Tailwind
colors: {
  custom: {
    50: '#ab67bb',
    500: '#831e9e',
    950: '#000000',
  },
}
SCSS
$custom: #831e9e;
$custom-light: #ab67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#831e9e",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 287.344,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46113,
    "c": 0.19893,
    "h": 317.8
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#831E9E
secondary
#6CC355
accent
#EB3D62
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #831E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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