#831F93#831F93

#831F93 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.189 H 321.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#831F93
RGBrgb(131, 31, 147)
HSLhsl(292, 65%, 35%)
HSVhsv(292, 79%, 58%)
CMYKcmyk(10.9%, 78.9%, 0%, 42.4%)
CIE-LABlab(33.80, 56.24, -41.82)
CIE-LCHlch(33.80, 70.08, 323.37°)
OKLaboklab(45.42% 0.148 -0.1171)
OKLCHoklch(45.42% 0.189 321.6)
XYZxyz(15.1159, 7.9127, 28.3292)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F93 #2F931F
analogous
#491F93 #831F93 #931F69
triadic
#831F93 #93831F #1F9383
tetradic
#831F93 #93491F #2F931F #1F6993
square
#831F93 #93491F #2F931F #1F6993
split-complementary
#831F93 #69931F #1F9349
monochromatic
#290A2E #561460 #831F93 #B02AC6 #C852DA

Accessibility & contrast

On white

8.13
#831F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#831F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F93
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F93#FFFFFF#000000##FFFFFF
##831F931.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#2F5390
Tritanopia (blue-blind)
#843759
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #831f93;
/* rgb */ color: rgb(131, 31, 147);
/* oklch */ color: oklch(45.4% 0.189 321.6);
Tailwind
colors: {
  custom: {
    50: '#ab67b3',
    500: '#831f93',
    950: '#000000',
  },
}
SCSS
$custom: #831f93;
$custom-light: #ab67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#831f93",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 291.724,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45421,
    "c": 0.18872,
    "h": 321.6
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#831F93
secondary
#5FBE50
accent
#E84057
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #831F93

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

Preview Lab → · Contrast checker → · Palette generator →

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