#831C94#831C94

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

Color values

HEX#831C94
RGBrgb(131, 28, 148)
HSLhsl(292, 68%, 35%)
HSVhsv(292, 81%, 58%)
CMYKcmyk(11.5%, 81.1%, 0%, 42%)
CIE-LABlab(33.55, 57.33, -42.83)
CIE-LCHlch(33.55, 71.57, 323.24°)
OKLaboklab(45.27% 0.1503 -0.1201)
OKLCHoklch(45.27% 0.192 321.4)
XYZxyz(15.1200, 7.7948, 28.7194)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C94 #2D941C
analogous
#471C94 #831C94 #941C69
triadic
#831C94 #94831C #1C9483
tetradic
#831C94 #94471C #2D941C #1C6994
square
#831C94 #94471C #2D941C #1C6994
split-complementary
#831C94 #69941C #1C9447
monochromatic
#28092D #551261 #831C94 #B126C7 #C94DDD

Accessibility & contrast

On white

8.21
#831C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C94
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C94#FFFFFF#000000##FFFFFF
##831C941.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831c94;
/* rgb */ color: rgb(131, 28, 148);
/* oklch */ color: oklch(45.3% 0.192 321.4);
Tailwind
colors: {
  custom: {
    50: '#ab66b4',
    500: '#831c94',
    950: '#000000',
  },
}
SCSS
$custom: #831c94;
$custom-light: #ab66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#831c94",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 291.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.19237,
    "h": 321.4
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#831C94
secondary
#5CC04C
accent
#EB3D55
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #831C94

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

Preview Lab → · Contrast checker → · Palette generator →

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