#831876#831876

#831876 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.173 H 333.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#831876
RGBrgb(131, 24, 118)
HSLhsl(307, 69%, 30%)
HSVhsv(307, 82%, 51%)
CMYKcmyk(0%, 81.7%, 9.9%, 48.6%)
CIE-LABlab(31.32, 53.37, -27.70)
CIE-LCHlch(31.32, 60.13, 332.57°)
OKLaboklab(43.09% 0.1549 -0.076)
OKLCHoklch(43.09% 0.173 333.9)
XYZxyz(12.9568, 6.7877, 17.7638)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831876 #188325
analogous
#5A1883 #831876 #831840
triadic
#831876 #768318 #187683
tetradic
#831876 #835A18 #188325 #184083
square
#831876 #835A18 #188325 #184083
split-complementary
#831876 #408318 #18835A
monochromatic
#1C0519 #4F0F47 #831876 #B721A5 #DB3AC7

Accessibility & contrast

On white

8.91
#831876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#831876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831876
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831876#FFFFFF#000000##FFFFFF
##8318761.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#3F4F74
Tritanopia (blue-blind)
#892447
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831876;
/* rgb */ color: rgb(131, 24, 118);
/* oklch */ color: oklch(43.1% 0.173 333.9);
Tailwind
colors: {
  custom: {
    50: '#ab639e',
    500: '#831876',
    950: '#000000',
  },
}
SCSS
$custom: #831876;
$custom-light: #ab639e;
$custom-dark: #000000;
JSON
{
  "hex": "#831876",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 307.29,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4309,
    "c": 0.17256,
    "h": 333.9
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#831876
secondary
#40B74E
accent
#EC513C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831876

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

Preview Lab → · Contrast checker → · Palette generator →

#831876 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva