#831A89#831A89

#831A89 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.185 H 325.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#831A89
RGBrgb(131, 26, 137)
HSLhsl(297, 68%, 32%)
HSVhsv(297, 81%, 54%)
CMYKcmyk(4.4%, 81%, 0%, 46.3%)
CIE-LABlab(32.64, 55.94, -37.51)
CIE-LCHlch(32.64, 67.36, 326.15°)
OKLaboklab(44.39% 0.153 -0.1045)
OKLCHoklch(44.39% 0.185 325.7)
XYZxyz(14.2445, 7.3712, 24.3346)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A89 #20891A
analogous
#4C1A89 #831A89 #891A58
triadic
#831A89 #89831A #1A8983
tetradic
#831A89 #894C1A #20891A #1A5889
square
#831A89 #894C1A #20891A #1A5889
split-complementary
#831A89 #58891A #1A894C
monochromatic
#210622 #521056 #831A89 #B424BC #D342DB

Accessibility & contrast

On white

8.49
#831A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#831A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A89
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A89#FFFFFF#000000##FFFFFF
##831A891.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#862F52
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831a89;
/* rgb */ color: rgb(131, 26, 137);
/* oklch */ color: oklch(44.4% 0.185 325.7);
Tailwind
colors: {
  custom: {
    50: '#ab65ac',
    500: '#831a89',
    950: '#000000',
  },
}
SCSS
$custom: #831a89;
$custom-light: #ab65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#831a89",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 296.757,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44391,
    "c": 0.18526,
    "h": 325.7
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#831A89
secondary
#49BC43
accent
#EB3D46
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831A89

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

Preview Lab → · Contrast checker → · Palette generator →

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