#831C91#831C91

#831C91 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.190 H 322.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#831C91
RGBrgb(131, 28, 145)
HSLhsl(293, 68%, 34%)
HSVhsv(293, 81%, 57%)
CMYKcmyk(9.7%, 80.7%, 0%, 43.1%)
CIE-LABlab(33.35, 56.79, -41.31)
CIE-LCHlch(33.35, 70.22, 323.97°)
OKLaboklab(45.06% 0.1507 -0.1156)
OKLCHoklch(45.06% 0.19 322.5)
XYZxyz(14.8856, 7.7010, 27.4850)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C91 #2A911C
analogous
#491C91 #831C91 #911C65
triadic
#831C91 #91831C #1C9183
tetradic
#831C91 #91491C #2A911C #1C6591
square
#831C91 #91491C #2A911C #1C6591
split-complementary
#831C91 #65911C #1C9149
monochromatic
#26082A #55125E #831C91 #B126C4 #CB4BDC

Accessibility & contrast

On white

8.27
#831C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#831C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C91
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C91#FFFFFF#000000##FFFFFF
##831C911.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#2F528E
Tritanopia (blue-blind)
#853457
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #831c91;
/* rgb */ color: rgb(131, 28, 145);
/* oklch */ color: oklch(45.1% 0.190 322.5);
Tailwind
colors: {
  custom: {
    50: '#ab66b2',
    500: '#831c91',
    950: '#000000',
  },
}
SCSS
$custom: #831c91;
$custom-light: #ab66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#831c91",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 292.821,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.18991,
    "h": 322.5
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#831C91
secondary
#58BE4A
accent
#EB3D52
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831C91

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

Preview Lab → · Contrast checker → · Palette generator →

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