#831FAE#831FAE

#831FAE is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.212 H 312.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#831FAE
RGBrgb(131, 31, 174)
HSLhsl(282, 70%, 40%)
HSVhsv(282, 82%, 68%)
CMYKcmyk(24.7%, 82.2%, 0%, 31.8%)
CIE-LABlab(35.72, 61.47, -55.05)
CIE-LCHlch(35.72, 82.52, 318.15°)
OKLaboklab(47.37% 0.1433 -0.1559)
OKLCHoklch(47.37% 0.212 312.6)
XYZxyz(17.4886, 8.8618, 40.8254)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831FAE #4AAE1F
analogous
#3B1FAE #831FAE #AE1F91
triadic
#831FAE #AE831F #1FAE83
tetradic
#831FAE #AE3B1F #4AAE1F #1F91AE
square
#831FAE #AE3B1F #4AAE1F #1F91AE
split-complementary
#831FAE #91AE1F #1FAE3B
monochromatic
#350C46 #5C167A #831FAE #A730DA #BD64E3

Accessibility & contrast

On white

7.58
#831FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#831FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831FAE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831FAE#FFFFFF#000000##FFFFFF
##831FAE1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#7E4468
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #831fae;
/* rgb */ color: rgb(131, 31, 174);
/* oklch */ color: oklch(47.4% 0.212 312.6);
Tailwind
colors: {
  custom: {
    50: '#ac69c7',
    500: '#831fae',
    950: '#000000',
  },
}
SCSS
$custom: #831fae;
$custom-light: #ac69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#831fae",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 281.958,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47374,
    "c": 0.21181,
    "h": 312.6
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#831FAE
secondary
#80C860
accent
#ED3B71
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #831FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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