#831F95#831F95

#831F95 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.190 H 320.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#831F95
RGBrgb(131, 31, 149)
HSLhsl(291, 66%, 35%)
HSVhsv(291, 79%, 58%)
CMYKcmyk(12.1%, 79.2%, 0%, 41.6%)
CIE-LABlab(33.93, 56.61, -42.83)
CIE-LCHlch(33.93, 70.99, 322.89°)
OKLaboklab(45.56% 0.1478 -0.1201)
OKLCHoklch(45.56% 0.19 320.9)
XYZxyz(15.2742, 7.9760, 29.1629)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F95 #31951F
analogous
#481F95 #831F95 #951F6C
triadic
#831F95 #95831F #1F9583
tetradic
#831F95 #95481F #31951F #1F6C95
square
#831F95 #95481F #31951F #1F6C95
split-complementary
#831F95 #6C951F #1F9548
monochromatic
#2A0A30 #561462 #831F95 #B02AC8 #C653DB

Accessibility & contrast

On white

8.09
#831F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#831F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F95
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F95#FFFFFF#000000##FFFFFF
##831F951.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#2D5392
Tritanopia (blue-blind)
#84385A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #831f95;
/* rgb */ color: rgb(131, 31, 149);
/* oklch */ color: oklch(45.6% 0.190 320.9);
Tailwind
colors: {
  custom: {
    50: '#ab67b5',
    500: '#831f95',
    950: '#000000',
  },
}
SCSS
$custom: #831f95;
$custom-light: #ab67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#831f95",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 290.847,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45557,
    "c": 0.1904,
    "h": 320.9
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#831F95
secondary
#62BF51
accent
#E93F59
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831F95

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

Preview Lab → · Contrast checker → · Palette generator →

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