#831EAE#831EAE

#831EAE is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.3% C 0.213 H 312.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#831EAE
RGBrgb(131, 30, 174)
HSLhsl(282, 71%, 40%)
HSVhsv(282, 83%, 68%)
CMYKcmyk(24.7%, 82.8%, 0%, 31.8%)
CIE-LABlab(35.62, 61.76, -55.21)
CIE-LCHlch(35.62, 82.84, 318.20°)
OKLaboklab(47.3% 0.144 -0.1564)
OKLCHoklch(47.3% 0.213 312.6)
XYZxyz(17.4629, 8.8104, 40.8169)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831EAE #49AE1E
analogous
#3B1EAE #831EAE #AE1E91
triadic
#831EAE #AE831E #1EAE83
tetradic
#831EAE #AE3B1E #49AE1E #1E91AE
square
#831EAE #AE3B1E #49AE1E #1E91AE
split-complementary
#831EAE #91AE1E #1EAE3B
monochromatic
#340C46 #5C157A #831EAE #A72EDB #BD62E4

Accessibility & contrast

On white

7.60
#831EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#831EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831EAE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831EAE#FFFFFF#000000##FFFFFF
##831EAE1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831eae;
/* rgb */ color: rgb(131, 30, 174);
/* oklch */ color: oklch(47.3% 0.213 312.6);
Tailwind
colors: {
  custom: {
    50: '#ac68c7',
    500: '#831eae',
    950: '#000000',
  },
}
SCSS
$custom: #831eae;
$custom-light: #ac68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#831eae",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 174
  },
  "hsl": {
    "h": 282.083,
    "s": 70.588,
    "l": 40
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.21264,
    "h": 312.6
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

primary
#831EAE
secondary
#7FC95F
accent
#ED3A70
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #831EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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