#831C97#831C97

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

Color values

HEX#831C97
RGBrgb(131, 28, 151)
HSLhsl(290, 69%, 35%)
HSVhsv(290, 81%, 59%)
CMYKcmyk(13.2%, 81.5%, 0%, 40.8%)
CIE-LABlab(33.75, 57.89, -44.34)
CIE-LCHlch(33.75, 72.92, 322.55°)
OKLaboklab(45.47% 0.1499 -0.1245)
OKLCHoklch(45.47% 0.195 320.3)
XYZxyz(15.3606, 7.8910, 29.9862)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C97 #30971C
analogous
#461C97 #831C97 #971C6D
triadic
#831C97 #97831C #1C9783
tetradic
#831C97 #97461C #30971C #1C6D97
square
#831C97 #97461C #30971C #1C6D97
split-complementary
#831C97 #6D971C #1C9746
monochromatic
#290930 #561263 #831C97 #B026CB #C74FDE

Accessibility & contrast

On white

8.15
#831C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C97
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C97#FFFFFF#000000##FFFFFF
##831C971.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#2A5394
Tritanopia (blue-blind)
#83375A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #831c97;
/* rgb */ color: rgb(131, 28, 151);
/* oklch */ color: oklch(45.5% 0.195 320.3);
Tailwind
colors: {
  custom: {
    50: '#ab66b6',
    500: '#831c97',
    950: '#000000',
  },
}
SCSS
$custom: #831c97;
$custom-light: #ab66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#831c97",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 290.244,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45474,
    "c": 0.19485,
    "h": 320.3
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#831C97
secondary
#61C14E
accent
#EC3C59
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831C97

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

Preview Lab → · Contrast checker → · Palette generator →

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