#831CA1#831CA1

#831CA1 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.2% C 0.203 H 316.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#831CA1
RGBrgb(131, 28, 161)
HSLhsl(286, 70%, 37%)
HSVhsv(286, 83%, 63%)
CMYKcmyk(18.6%, 82.6%, 0%, 36.9%)
CIE-LABlab(34.46, 59.78, -49.28)
CIE-LCHlch(34.46, 77.47, 320.50°)
OKLaboklab(46.19% 0.1482 -0.139)
OKLCHoklch(46.19% 0.203 316.8)
XYZxyz(16.2074, 8.2297, 34.4461)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831CA1 #3AA11C
analogous
#411CA1 #831CA1 #A11C7D
triadic
#831CA1 #A1831C #1CA183
tetradic
#831CA1 #A1411C #3AA11C #1C7DA1
square
#831CA1 #A1411C #3AA11C #1C7DA1
split-complementary
#831CA1 #7DA11C #1CA141
monochromatic
#2E0A39 #59136D #831CA1 #AD25D5 #C256E2

Accessibility & contrast

On white

7.94
#831CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#831CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831CA1
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831CA1#FFFFFF#000000##FFFFFF
##831CA11.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#1D549E
Tritanopia (blue-blind)
#813C60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #831ca1;
/* rgb */ color: rgb(131, 28, 161);
/* oklch */ color: oklch(46.2% 0.203 316.8);
Tailwind
colors: {
  custom: {
    50: '#ab67be',
    500: '#831ca1',
    950: '#000000',
  },
}
SCSS
$custom: #831ca1;
$custom-light: #ab67be;
$custom-dark: #000000;
JSON
{
  "hex": "#831ca1",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 286.466,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4619,
    "c": 0.20321,
    "h": 316.8
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#831CA1
secondary
#6DC554
accent
#ED3B63
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #831CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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