#831E93#831E93

#831E93 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.190 H 321.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#831E93
RGBrgb(131, 30, 147)
HSLhsl(292, 66%, 35%)
HSVhsv(292, 80%, 58%)
CMYKcmyk(10.9%, 79.6%, 0%, 42.4%)
CIE-LABlab(33.69, 56.55, -41.99)
CIE-LCHlch(33.69, 70.44, 323.41°)
OKLaboklab(45.35% 0.1488 -0.1176)
OKLCHoklch(45.35% 0.19 321.7)
XYZxyz(15.0902, 7.8613, 28.3206)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E93 #2E931E
analogous
#491E93 #831E93 #931E69
triadic
#831E93 #93831E #1E9383
tetradic
#831E93 #93491E #2E931E #1E6993
square
#831E93 #93491E #2E931E #1E6993
split-complementary
#831E93 #69931E #1E9349
monochromatic
#28092D #561460 #831E93 #B028C6 #C850DB

Accessibility & contrast

On white

8.16
#831E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#831E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E93
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E93#FFFFFF#000000##FFFFFF
##831E931.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#2F5390
Tritanopia (blue-blind)
#843658
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #831e93;
/* rgb */ color: rgb(131, 30, 147);
/* oklch */ color: oklch(45.3% 0.190 321.7);
Tailwind
colors: {
  custom: {
    50: '#ab67b3',
    500: '#831e93',
    950: '#000000',
  },
}
SCSS
$custom: #831e93;
$custom-light: #ab67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#831e93",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 291.795,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45345,
    "c": 0.18969,
    "h": 321.7
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#831E93
secondary
#5EBE4F
accent
#E93F56
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831E93

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

Preview Lab → · Contrast checker → · Palette generator →

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