#831F99#831F99

#831F99 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.194 H 319.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#831F99
RGBrgb(131, 31, 153)
HSLhsl(289, 66%, 36%)
HSVhsv(289, 80%, 60%)
CMYKcmyk(14.4%, 79.7%, 0%, 40%)
CIE-LABlab(34.20, 57.36, -44.84)
CIE-LCHlch(34.20, 72.81, 321.99°)
OKLaboklab(45.83% 0.1473 -0.126)
OKLCHoklch(45.83% 0.194 319.5)
XYZxyz(15.5991, 8.1060, 30.8738)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F99 #35991F
analogous
#461F99 #831F99 #991F72
triadic
#831F99 #99831F #1F9983
tetradic
#831F99 #99461F #35991F #1F7299
square
#831F99 #99461F #35991F #1F7299
split-complementary
#831F99 #72991F #1F9946
monochromatic
#2C0A33 #571566 #831F99 #AF29CC #C456DD

Accessibility & contrast

On white

8.01
#831F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#831F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F99
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F99#FFFFFF#000000##FFFFFF
##831F991.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#295496
Tritanopia (blue-blind)
#833A5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #831f99;
/* rgb */ color: rgb(131, 31, 153);
/* oklch */ color: oklch(45.8% 0.194 319.5);
Tailwind
colors: {
  custom: {
    50: '#ab68b8',
    500: '#831f99',
    950: '#000000',
  },
}
SCSS
$custom: #831f99;
$custom-light: #ab68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#831f99",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 289.18,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45833,
    "c": 0.19378,
    "h": 319.5
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#831F99
secondary
#67C054
accent
#E93F5D
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831F99

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

Preview Lab → · Contrast checker → · Palette generator →

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