#831C85#831C85

#831C85 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.180 H 327.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#831C85
RGBrgb(131, 28, 133)
HSLhsl(299, 65%, 32%)
HSVhsv(299, 79%, 52%)
CMYKcmyk(1.5%, 78.9%, 0%, 47.8%)
CIE-LABlab(32.59, 54.67, -35.10)
CIE-LCHlch(32.59, 64.97, 327.30°)
OKLaboklab(44.28% 0.1516 -0.0975)
OKLCHoklch(44.28% 0.18 327.3)
XYZxyz(14.0088, 7.3503, 22.8667)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C85 #1E851C
analogous
#4F1C85 #831C85 #851C53
triadic
#831C85 #85831C #1C8583
tetradic
#831C85 #854F1C #1E851C #1C5385
square
#831C85 #854F1C #1E851C #1C5385
split-complementary
#831C85 #53851C #1C854F
monochromatic
#1F0720 #511152 #831C85 #B527B8 #D544D8

Accessibility & contrast

On white

8.50
#831C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C85
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C85#FFFFFF#000000##FFFFFF
##831C851.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#385182
Tritanopia (blue-blind)
#872E50
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831c85;
/* rgb */ color: rgb(131, 28, 133);
/* oklch */ color: oklch(44.3% 0.180 327.3);
Tailwind
colors: {
  custom: {
    50: '#ab65a9',
    500: '#831c85',
    950: '#000000',
  },
}
SCSS
$custom: #831c85;
$custom-light: #ab65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#831c85",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 298.857,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44279,
    "c": 0.18022,
    "h": 327.3
  },
  "luminance": 0.07349
}

Semantic roles & 50–950 ramp

primary
#831C85
secondary
#47B845
accent
#E84043
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831C85

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

Preview Lab → · Contrast checker → · Palette generator →

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