#831C95#831C95

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

Color values

HEX#831C95
RGBrgb(131, 28, 149)
HSLhsl(291, 68%, 35%)
HSVhsv(291, 81%, 58%)
CMYKcmyk(12.1%, 81.2%, 0%, 41.6%)
CIE-LABlab(33.62, 57.52, -43.33)
CIE-LCHlch(33.62, 72.01, 323.01°)
OKLaboklab(45.34% 0.1502 -0.1215)
OKLCHoklch(45.34% 0.193 321)
XYZxyz(15.1995, 7.8266, 29.1380)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C95 #2E951C
analogous
#461C95 #831C95 #951C6B
triadic
#831C95 #95831C #1C9583
tetradic
#831C95 #95461C #2E951C #1C6B95
square
#831C95 #95461C #2E951C #1C6B95
split-complementary
#831C95 #6B951C #1C9546
monochromatic
#28092E #561261 #831C95 #B026C9 #C84EDE

Accessibility & contrast

On white

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

On black

2.57
#831C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##831C95#FFFFFF#000000##FFFFFF
##831C951.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#2C5392
Tritanopia (blue-blind)
#843659
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #831c95;
/* rgb */ color: rgb(131, 28, 149);
/* oklch */ color: oklch(45.3% 0.193 321.0);
Tailwind
colors: {
  custom: {
    50: '#ab66b5',
    500: '#831c95',
    950: '#000000',
  },
}
SCSS
$custom: #831c95;
$custom-light: #ab66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#831c95",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 291.074,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.1932,
    "h": 321
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#831C95
secondary
#5EC04D
accent
#EB3D57
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831C95

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

Preview Lab → · Contrast checker → · Palette generator →

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