#831E8F#831E8F

#831E8F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.186 H 323.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#831E8F
RGBrgb(131, 30, 143)
HSLhsl(294, 65%, 34%)
HSVhsv(294, 79%, 56%)
CMYKcmyk(8.4%, 79%, 0%, 43.9%)
CIE-LABlab(33.43, 55.82, -39.95)
CIE-LCHlch(33.43, 68.64, 324.41°)
OKLaboklab(45.08% 0.1492 -0.1117)
OKLCHoklch(45.08% 0.186 323.2)
XYZxyz(14.7818, 7.7379, 26.6963)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E8F #2A8F1E
analogous
#4B1E8F #831E8F #8F1E63
triadic
#831E8F #8F831E #1E8F83
tetradic
#831E8F #8F4B1E #2A8F1E #1E638F
square
#831E8F #8F4B1E #2A8F1E #1E638F
split-complementary
#831E8F #638F1E #1E8F4B
monochromatic
#26092A #55135C #831E8F #B129C2 #CB4EDA

Accessibility & contrast

On white

8.24
#831E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831E8F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E8F#FFFFFF#000000##FFFFFF
##831E8F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#32528C
Tritanopia (blue-blind)
#853456
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #831e8f;
/* rgb */ color: rgb(131, 30, 143);
/* oklch */ color: oklch(45.1% 0.186 323.2);
Tailwind
colors: {
  custom: {
    50: '#ab67b0',
    500: '#831e8f',
    950: '#000000',
  },
}
SCSS
$custom: #831e8f;
$custom-light: #ab67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#831e8f",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 293.628,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45076,
    "c": 0.18637,
    "h": 323.2
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#831E8F
secondary
#58BC4C
accent
#E84051
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #831E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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