#831F90#831F90

#831F90 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.186 H 322.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#831F90
RGBrgb(131, 31, 144)
HSLhsl(293, 65%, 34%)
HSVhsv(293, 78%, 56%)
CMYKcmyk(9%, 78.5%, 0%, 43.5%)
CIE-LABlab(33.60, 55.69, -40.29)
CIE-LCHlch(33.60, 68.73, 324.11°)
OKLaboklab(45.22% 0.1483 -0.1126)
OKLCHoklch(45.22% 0.186 322.8)
XYZxyz(14.8836, 7.8198, 27.1056)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F90 #2C901F
analogous
#4B1F90 #831F90 #901F65
triadic
#831F90 #90831F #1F9083
tetradic
#831F90 #904B1F #2C901F #1F6590
square
#831F90 #904B1F #2C901F #1F6590
split-complementary
#831F90 #65901F #1F904B
monochromatic
#27092B #55145E #831F90 #B12AC2 #CA50D9

Accessibility & contrast

On white

8.19
#831F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#831F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F90
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F90#FFFFFF#000000##FFFFFF
##831F901.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#32538D
Tritanopia (blue-blind)
#853557
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #831f90;
/* rgb */ color: rgb(131, 31, 144);
/* oklch */ color: oklch(45.2% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#ab67b1',
    500: '#831f90',
    950: '#000000',
  },
}
SCSS
$custom: #831f90;
$custom-light: #ab67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#831f90",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 293.097,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.18622,
    "h": 322.8
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#831F90
secondary
#5BBC4E
accent
#E84053
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #831F90

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

Preview Lab → · Contrast checker → · Palette generator →

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