#831A8F#831A8F

#831A8F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.8% C 0.190 H 323.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#831A8F
RGBrgb(131, 26, 143)
HSLhsl(294, 69%, 33%)
HSVhsv(294, 82%, 56%)
CMYKcmyk(8.4%, 81.8%, 0%, 43.9%)
CIE-LABlab(33.02, 57.00, -40.60)
CIE-LCHlch(33.02, 69.98, 324.54°)
OKLaboklab(44.79% 0.1524 -0.1135)
OKLCHoklch(44.79% 0.19 323.3)
XYZxyz(14.6869, 7.5482, 26.6646)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A8F #268F1A
analogous
#481A8F #831A8F #8F1A60
triadic
#831A8F #8F831A #1A8F83
tetradic
#831A8F #8F481A #268F1A #1A608F
square
#831A8F #8F481A #268F1A #1A608F
split-complementary
#831A8F #608F1A #1A8F48
monochromatic
#240727 #54115B #831A8F #B223C3 #CE46DD

Accessibility & contrast

On white

8.37
#831A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#831A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A8F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A8F#FFFFFF#000000##FFFFFF
##831A8F1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#30528C
Tritanopia (blue-blind)
#853255
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #831a8f;
/* rgb */ color: rgb(131, 26, 143);
/* oklch */ color: oklch(44.8% 0.190 323.3);
Tailwind
colors: {
  custom: {
    50: '#ab65b0',
    500: '#831a8f',
    950: '#000000',
  },
}
SCSS
$custom: #831a8f;
$custom-light: #ab65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#831a8f",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 293.846,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44788,
    "c": 0.19007,
    "h": 323.3
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#831A8F
secondary
#52BF46
accent
#EC3C4E
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #831A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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