#831D89#831D89

#831D89 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.182 H 325.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#831D89
RGBrgb(131, 29, 137)
HSLhsl(297, 65%, 33%)
HSVhsv(297, 79%, 54%)
CMYKcmyk(4.4%, 78.8%, 0%, 46.3%)
CIE-LABlab(32.94, 55.06, -37.03)
CIE-LCHlch(32.94, 66.35, 326.08°)
OKLaboklab(44.61% 0.1505 -0.1031)
OKLCHoklch(44.61% 0.182 325.6)
XYZxyz(14.3145, 7.5111, 24.3579)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D89 #23891D
analogous
#4D1D89 #831D89 #891D59
triadic
#831D89 #89831D #1D8983
tetradic
#831D89 #894D1D #23891D #1D5989
square
#831D89 #894D1D #23891D #1D5989
split-complementary
#831D89 #59891D #1D894D
monochromatic
#220824 #531256 #831D89 #B328BC #D048D8

Accessibility & contrast

On white

8.39
#831D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#831D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D89
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D89#FFFFFF#000000##FFFFFF
##831D891.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#365286
Tritanopia (blue-blind)
#863153
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831d89;
/* rgb */ color: rgb(131, 29, 137);
/* oklch */ color: oklch(44.6% 0.182 325.6);
Tailwind
colors: {
  custom: {
    50: '#ab66ac',
    500: '#831d89',
    950: '#000000',
  },
}
SCSS
$custom: #831d89;
$custom-light: #ab66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#831d89",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 296.667,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.18244,
    "h": 325.6
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#831D89
secondary
#4EBA47
accent
#E84049
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831D89

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

Preview Lab → · Contrast checker → · Palette generator →

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