#831EA6#831EA6

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

Color values

HEX#831EA6
RGBrgb(131, 30, 166)
HSLhsl(285, 69%, 38%)
HSVhsv(285, 82%, 65%)
CMYKcmyk(21.1%, 81.9%, 0%, 34.9%)
CIE-LABlab(35.02, 60.17, -51.39)
CIE-LCHlch(35.02, 79.13, 319.50°)
OKLaboklab(46.7% 0.1458 -0.1452)
OKLCHoklch(46.7% 0.206 315.1)
XYZxyz(16.7061, 8.5077, 36.8311)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831EA6 #41A61E
analogous
#3F1EA6 #831EA6 #A61E85
triadic
#831EA6 #A6831E #1EA683
tetradic
#831EA6 #A63F1E #41A61E #1E85A6
square
#831EA6 #A63F1E #41A61E #1E85A6
split-complementary
#831EA6 #85A61E #1EA63F
monochromatic
#310B3E #5A1572 #831EA6 #AB29D8 #BF5DE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831EA6#FFFFFF#000000##FFFFFF
##831EA61.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)
#004DAA
Deuteranopia (green-blind)
#1555A3
Tritanopia (blue-blind)
#804063
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #831ea6;
/* rgb */ color: rgb(131, 30, 166);
/* oklch */ color: oklch(46.7% 0.206 315.1);
Tailwind
colors: {
  custom: {
    50: '#ac68c1',
    500: '#831ea6',
    950: '#000000',
  },
}
SCSS
$custom: #831ea6;
$custom-light: #ac68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#831ea6",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 284.559,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46698,
    "c": 0.20576,
    "h": 315.1
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#831EA6
secondary
#76C65A
accent
#EC3C69
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #831EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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