#831FA5#831FA5

#831FA5 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.7% C 0.204 H 315.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#831FA5
RGBrgb(131, 31, 165)
HSLhsl(285, 68%, 38%)
HSVhsv(285, 81%, 65%)
CMYKcmyk(20.6%, 81.2%, 0%, 35.3%)
CIE-LABlab(35.05, 59.68, -50.74)
CIE-LCHlch(35.05, 78.33, 319.63°)
OKLaboklab(46.7% 0.1453 -0.1433)
OKLCHoklch(46.7% 0.204 315.4)
XYZxyz(16.6405, 8.5225, 36.3585)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831FA5 #41A51F
analogous
#401FA5 #831FA5 #A51F84
triadic
#831FA5 #A5831F #1FA583
tetradic
#831FA5 #A5401F #41A51F #1F84A5
square
#831FA5 #A5401F #41A51F #1F84A5
split-complementary
#831FA5 #84A51F #1FA540
monochromatic
#310C3E #5A1571 #831FA5 #AB2AD7 #BF5EE1

Accessibility & contrast

On white

7.77
#831FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#831FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831FA5
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831FA5#FFFFFF#000000##FFFFFF
##831FA51.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#1855A2
Tritanopia (blue-blind)
#804063
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #831fa5;
/* rgb */ color: rgb(131, 31, 165);
/* oklch */ color: oklch(46.7% 0.204 315.4);
Tailwind
colors: {
  custom: {
    50: '#ac68c0',
    500: '#831fa5',
    950: '#000000',
  },
}
SCSS
$custom: #831fa5;
$custom-light: #ac68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#831fa5",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 284.776,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.20403,
    "h": 315.4
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#831FA5
secondary
#76C55B
accent
#EB3D69
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #831FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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