#831996#831996

#831996 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.2% C 0.197 H 320.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#831996
RGBrgb(131, 25, 150)
HSLhsl(291, 71%, 34%)
HSVhsv(291, 83%, 59%)
CMYKcmyk(12.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(33.40, 58.54, -44.30)
CIE-LCHlch(33.40, 73.41, 322.88°)
OKLaboklab(45.2% 0.1523 -0.1243)
OKLCHoklch(45.2% 0.197 320.8)
XYZxyz(15.2121, 7.7234, 29.5378)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831996 #2C9619
analogous
#451996 #831996 #96196B
triadic
#831996 #968319 #199683
tetradic
#831996 #964519 #2C9619 #196B96
square
#831996 #964519 #2C9619 #196B96
split-complementary
#831996 #6B9619 #199645
monochromatic
#27082D #551062 #831996 #B122CA #CA49E1

Accessibility & contrast

On white

8.25
#831996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#831996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831996
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831996#FFFFFF#000000##FFFFFF
##8319961.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#295293
Tritanopia (blue-blind)
#843659
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #831996;
/* rgb */ color: rgb(131, 25, 150);
/* oklch */ color: oklch(45.2% 0.197 320.8);
Tailwind
colors: {
  custom: {
    50: '#ab65b5',
    500: '#831996',
    950: '#000000',
  },
}
SCSS
$custom: #831996;
$custom-light: #ab65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#831996",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 290.88,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45203,
    "c": 0.19659,
    "h": 320.8
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#831996
secondary
#5BC249
accent
#EE3A55
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110611
muted
#807A80

Preview Lab

Preview with #831996

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

Preview Lab → · Contrast checker → · Palette generator →

#831996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva