#831C96#831C96

#831C96 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.194 H 320.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#831C96
RGBrgb(131, 28, 150)
HSLhsl(291, 69%, 35%)
HSVhsv(291, 81%, 59%)
CMYKcmyk(12.7%, 81.3%, 0%, 41.2%)
CIE-LABlab(33.69, 57.70, -43.84)
CIE-LCHlch(33.69, 72.47, 322.78°)
OKLaboklab(45.41% 0.15 -0.123)
OKLCHoklch(45.41% 0.194 320.7)
XYZxyz(15.2797, 7.8586, 29.5603)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C96 #2F961C
analogous
#461C96 #831C96 #961C6C
triadic
#831C96 #96831C #1C9683
tetradic
#831C96 #96461C #2F961C #1C6C96
square
#831C96 #96461C #2F961C #1C6C96
split-complementary
#831C96 #6C961C #1C9646
monochromatic
#29092F #561262 #831C96 #B026CA #C84EDE

Accessibility & contrast

On white

8.17
#831C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#831C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C96
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C96#FFFFFF#000000##FFFFFF
##831C961.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#2B5393
Tritanopia (blue-blind)
#84375A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #831c96;
/* rgb */ color: rgb(131, 28, 150);
/* oklch */ color: oklch(45.4% 0.194 320.7);
Tailwind
colors: {
  custom: {
    50: '#ab66b5',
    500: '#831c96',
    950: '#000000',
  },
}
SCSS
$custom: #831c96;
$custom-light: #ab66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#831c96",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 290.656,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45405,
    "c": 0.19402,
    "h": 320.7
  },
  "luminance": 0.07858
}

Semantic roles & 50–950 ramp

primary
#831C96
secondary
#5FC14D
accent
#EB3C58
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831C96

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

Preview Lab → · Contrast checker → · Palette generator →

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