#831FA0#831FA0

#831FA0 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.200 H 317.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#831FA0
RGBrgb(131, 31, 160)
HSLhsl(287, 68%, 37%)
HSVhsv(287, 81%, 63%)
CMYKcmyk(18.1%, 80.6%, 0%, 37.3%)
CIE-LABlab(34.69, 58.70, -48.30)
CIE-LCHlch(34.69, 76.02, 320.55°)
OKLaboklab(46.33% 0.1462 -0.1361)
OKLCHoklch(46.33% 0.2 317)
XYZxyz(16.1943, 8.3440, 34.0084)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831FA0 #3CA01F
analogous
#431FA0 #831FA0 #A01F7C
triadic
#831FA0 #A0831F #1FA083
tetradic
#831FA0 #A0431F #3CA01F #1F7CA0
square
#831FA0 #A0431F #3CA01F #1F7CA0
split-complementary
#831FA0 #7CA01F #1FA043
monochromatic
#2F0B39 #59156D #831FA0 #AD29D3 #C15ADF

Accessibility & contrast

On white

7.87
#831FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831FA0
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831FA0#FFFFFF#000000##FFFFFF
##831FA01.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#21549D
Tritanopia (blue-blind)
#813D60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #831fa0;
/* rgb */ color: rgb(131, 31, 160);
/* oklch */ color: oklch(46.3% 0.200 317.0);
Tailwind
colors: {
  custom: {
    50: '#ab68bd',
    500: '#831fa0',
    950: '#000000',
  },
}
SCSS
$custom: #831fa0;
$custom-light: #ab68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#831fa0",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 286.512,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46331,
    "c": 0.19974,
    "h": 317
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#831FA0
secondary
#70C358
accent
#EA3D64
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #831FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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