#831D85#831D85

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

Color values

HEX#831D85
RGBrgb(131, 29, 133)
HSLhsl(299, 64%, 32%)
HSVhsv(299, 78%, 52%)
CMYKcmyk(1.5%, 78.2%, 0%, 47.8%)
CIE-LABlab(32.70, 54.36, -34.93)
CIE-LCHlch(32.70, 64.62, 327.28°)
OKLaboklab(44.35% 0.1507 -0.097)
OKLCHoklch(44.35% 0.179 327.2)
XYZxyz(14.0329, 7.3985, 22.8747)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D85 #1F851D
analogous
#4F1D85 #831D85 #851D53
triadic
#831D85 #85831D #1D8583
tetradic
#831D85 #854F1D #1F851D #1D5385
square
#831D85 #854F1D #1F851D #1D5385
split-complementary
#831D85 #53851D #1D854F
monochromatic
#200721 #521253 #831D85 #B428B7 #D446D7

Accessibility & contrast

On white

8.47
#831D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#831D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D85
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D85#FFFFFF#000000##FFFFFF
##831D851.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#395183
Tritanopia (blue-blind)
#872F50
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831d85;
/* rgb */ color: rgb(131, 29, 133);
/* oklch */ color: oklch(44.4% 0.179 327.2);
Tailwind
colors: {
  custom: {
    50: '#ab66a9',
    500: '#831d85',
    950: '#000000',
  },
}
SCSS
$custom: #831d85;
$custom-light: #ab66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#831d85",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 298.846,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44354,
    "c": 0.17923,
    "h": 327.2
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#831D85
secondary
#48B846
accent
#E74144
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831D85

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

Preview Lab → · Contrast checker → · Palette generator →

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