#831E95#831E95

#831E95 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.191 H 320.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#831E95
RGBrgb(131, 30, 149)
HSLhsl(291, 66%, 35%)
HSVhsv(291, 80%, 58%)
CMYKcmyk(12.1%, 79.9%, 0%, 41.6%)
CIE-LABlab(33.83, 56.92, -43.00)
CIE-LCHlch(33.83, 71.34, 322.93°)
OKLaboklab(45.48% 0.1486 -0.1206)
OKLCHoklch(45.48% 0.191 320.9)
XYZxyz(15.2485, 7.9246, 29.1544)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E95 #30951E
analogous
#471E95 #831E95 #951E6C
triadic
#831E95 #95831E #1E9583
tetradic
#831E95 #95471E #30951E #1E6C95
square
#831E95 #95471E #30951E #1E6C95
split-complementary
#831E95 #6C951E #1E9547
monochromatic
#29092F #561462 #831E95 #B028C8 #C751DC

Accessibility & contrast

On white

8.12
#831E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#831E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E95
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E95#FFFFFF#000000##FFFFFF
##831E951.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#2D5392
Tritanopia (blue-blind)
#84375A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #831e95;
/* rgb */ color: rgb(131, 30, 149);
/* oklch */ color: oklch(45.5% 0.191 320.9);
Tailwind
colors: {
  custom: {
    50: '#ab67b5',
    500: '#831e95',
    950: '#000000',
  },
}
SCSS
$custom: #831e95;
$custom-light: #ab67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#831e95",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 290.924,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.19136,
    "h": 320.9
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#831E95
secondary
#61BF50
accent
#E93E58
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831E95

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

Preview Lab → · Contrast checker → · Palette generator →

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