#831E90#831E90

#831E90 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.187 H 322.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#831E90
RGBrgb(131, 30, 144)
HSLhsl(293, 66%, 34%)
HSVhsv(293, 79%, 56%)
CMYKcmyk(9%, 79.2%, 0%, 43.5%)
CIE-LABlab(33.50, 56.00, -40.46)
CIE-LCHlch(33.50, 69.09, 324.15°)
OKLaboklab(45.14% 0.1491 -0.1131)
OKLCHoklch(45.14% 0.187 322.8)
XYZxyz(14.8579, 7.7684, 27.0970)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E90 #2B901E
analogous
#4A1E90 #831E90 #901E64
triadic
#831E90 #90831E #1E9083
tetradic
#831E90 #904A1E #2B901E #1E6490
square
#831E90 #904A1E #2B901E #1E6490
split-complementary
#831E90 #64901E #1E904A
monochromatic
#27092B #55135D #831E90 #B129C3 #CA4EDA

Accessibility & contrast

On white

8.22
#831E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#831E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E90
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E90#FFFFFF#000000##FFFFFF
##831E901.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#31538D
Tritanopia (blue-blind)
#853557
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #831e90;
/* rgb */ color: rgb(131, 30, 144);
/* oklch */ color: oklch(45.1% 0.187 322.8);
Tailwind
colors: {
  custom: {
    50: '#ab67b1',
    500: '#831e90',
    950: '#000000',
  },
}
SCSS
$custom: #831e90;
$custom-light: #ab67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#831e90",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 293.158,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45143,
    "c": 0.1872,
    "h": 322.8
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#831E90
secondary
#5ABD4D
accent
#E83F53
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #831E90

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

Preview Lab → · Contrast checker → · Palette generator →

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