#831CA5#831CA5

#831CA5 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.207 H 315.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#831CA5
RGBrgb(131, 28, 165)
HSLhsl(285, 71%, 38%)
HSVhsv(285, 83%, 65%)
CMYKcmyk(20.6%, 83%, 0%, 35.3%)
CIE-LABlab(34.75, 60.55, -51.23)
CIE-LCHlch(34.75, 79.31, 319.77°)
OKLaboklab(46.49% 0.1474 -0.1447)
OKLCHoklch(46.49% 0.207 315.5)
XYZxyz(16.5658, 8.3731, 36.3336)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831CA5 #3EA51C
analogous
#3E1CA5 #831CA5 #A51C83
triadic
#831CA5 #A5831C #1CA583
tetradic
#831CA5 #A53E1C #3EA51C #1C83A5
square
#831CA5 #A53E1C #3EA51C #1C83A5
split-complementary
#831CA5 #83A51C #1CA53E
monochromatic
#300A3C #591371 #831CA5 #AD25D9 #C059E3

Accessibility & contrast

On white

7.85
#831CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#831CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831CA5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831CA5#FFFFFF#000000##FFFFFF
##831CA51.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#1554A2
Tritanopia (blue-blind)
#803E62
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #831ca5;
/* rgb */ color: rgb(131, 28, 165);
/* oklch */ color: oklch(46.5% 0.207 315.5);
Tailwind
colors: {
  custom: {
    50: '#ac67c0',
    500: '#831ca5',
    950: '#000000',
  },
}
SCSS
$custom: #831ca5;
$custom-light: #ac67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#831ca5",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 165
  },
  "hsl": {
    "h": 285.109,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.20658,
    "h": 315.5
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#831CA5
secondary
#72C656
accent
#EE3A67
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #831CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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