#831E71#831E71

#831E71 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.3% C 0.163 H 336.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#831E71
RGBrgb(131, 30, 113)
HSLhsl(311, 63%, 32%)
HSVhsv(311, 77%, 51%)
CMYKcmyk(0%, 77.1%, 13.7%, 48.6%)
CIE-LABlab(31.69, 50.78, -23.95)
CIE-LCHlch(31.69, 56.14, 334.75°)
OKLaboklab(43.27% 0.1492 -0.0653)
OKLCHoklch(43.27% 0.163 336.4)
XYZxyz(12.8052, 6.9473, 16.2861)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E71 #1E8330
analogous
#631E83 #831E71 #831E3F
triadic
#831E71 #71831E #1E7183
tetradic
#831E71 #83631E #1E8330 #1E3F83
square
#831E71 #83631E #1E8330 #1E3F83
split-complementary
#831E71 #3F831E #1E8363
monochromatic
#1F071B #511346 #831E71 #B5299C #D547BB

Accessibility & contrast

On white

8.79
#831E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#831E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E71
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E71#FFFFFF#000000##FFFFFF
##831E711.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#8A2545
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831e71;
/* rgb */ color: rgb(131, 30, 113);
/* oklch */ color: oklch(43.3% 0.163 336.4);
Tailwind
colors: {
  custom: {
    50: '#aa659a',
    500: '#831e71',
    950: '#000000',
  },
}
SCSS
$custom: #831e71;
$custom-light: #aa659a;
$custom-dark: #000000;
JSON
{
  "hex": "#831e71",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 310.693,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43267,
    "c": 0.16283,
    "h": 336.4
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#831E71
secondary
#47B65B
accent
#E65F42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831E71

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

Preview Lab → · Contrast checker → · Palette generator →

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