#831E97#831E97

#831E97 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.193 H 320.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#831E97
RGBrgb(131, 30, 151)
HSLhsl(290, 67%, 35%)
HSVhsv(290, 80%, 59%)
CMYKcmyk(13.2%, 80.1%, 0%, 40.8%)
CIE-LABlab(33.96, 57.29, -44.01)
CIE-LCHlch(33.96, 72.24, 322.47°)
OKLaboklab(45.62% 0.1483 -0.1235)
OKLCHoklch(45.62% 0.193 320.2)
XYZxyz(15.4096, 7.9890, 30.0025)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E97 #32971E
analogous
#471E97 #831E97 #971E6E
triadic
#831E97 #97831E #1E9783
tetradic
#831E97 #97471E #32971E #1E6E97
square
#831E97 #97471E #32971E #1E6E97
split-complementary
#831E97 #6E971E #1E9747
monochromatic
#2A0A31 #571464 #831E97 #AF28CA #C653DD

Accessibility & contrast

On white

8.08
#831E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#831E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E97
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E97#FFFFFF#000000##FFFFFF
##831E971.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#2B5394
Tritanopia (blue-blind)
#83385B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #831e97;
/* rgb */ color: rgb(131, 30, 151);
/* oklch */ color: oklch(45.6% 0.193 320.2);
Tailwind
colors: {
  custom: {
    50: '#ab67b6',
    500: '#831e97',
    950: '#000000',
  },
}
SCSS
$custom: #831e97;
$custom-light: #ab67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#831e97",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 290.083,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.19303,
    "h": 320.2
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#831E97
secondary
#63C051
accent
#EA3E5A
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831E97

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

Preview Lab → · Contrast checker → · Palette generator →

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