#831884#831884

#831884 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.183 H 327.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#831884
RGBrgb(131, 24, 132)
HSLhsl(299, 69%, 31%)
HSVhsv(299, 82%, 52%)
CMYKcmyk(0.8%, 81.8%, 0%, 48.2%)
CIE-LABlab(32.14, 55.64, -35.20)
CIE-LCHlch(32.14, 65.84, 327.68°)
OKLaboklab(43.94% 0.1548 -0.0978)
OKLCHoklch(43.94% 0.183 327.7)
XYZxyz(13.8514, 7.1455, 22.4750)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831884 #198418
analogous
#4D1884 #831884 #84184F
triadic
#831884 #848318 #188483
tetradic
#831884 #844D18 #198418 #184F84
square
#831884 #844D18 #198418 #184F84
split-complementary
#831884 #4F8418 #18844D
monochromatic
#1C051C #500F50 #831884 #B621B8 #DA3BDB

Accessibility & contrast

On white

8.65
#831884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#831884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831884
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831884#FFFFFF#000000##FFFFFF
##8318841.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#872C4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831884;
/* rgb */ color: rgb(131, 24, 132);
/* oklch */ color: oklch(43.9% 0.183 327.7);
Tailwind
colors: {
  custom: {
    50: '#ab64a8',
    500: '#831884',
    950: '#000000',
  },
}
SCSS
$custom: #831884;
$custom-light: #ab64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#831884",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 299.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43935,
    "c": 0.18311,
    "h": 327.7
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#831884
secondary
#41B840
accent
#EC3C3D
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831884

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

Preview Lab → · Contrast checker → · Palette generator →

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