#831E72#831E72

#831E72 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.164 H 335.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#831E72
RGBrgb(131, 30, 114)
HSLhsl(310, 63%, 32%)
HSVhsv(310, 77%, 51%)
CMYKcmyk(0%, 77.1%, 13%, 48.6%)
CIE-LABlab(31.74, 50.93, -24.50)
CIE-LCHlch(31.74, 56.52, 334.31°)
OKLaboklab(43.32% 0.1493 -0.0669)
OKLCHoklch(43.32% 0.164 335.9)
XYZxyz(12.8618, 6.9699, 16.5843)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E72 #1E832F
analogous
#621E83 #831E72 #831E40
triadic
#831E72 #72831E #1E7283
tetradic
#831E72 #83621E #1E832F #1E4083
square
#831E72 #83621E #1E832F #1E4083
split-complementary
#831E72 #40831E #1E8362
monochromatic
#1F071B #511347 #831E72 #B5299D #D547BD

Accessibility & contrast

On white

8.77
#831E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831E72
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E72#FFFFFF#000000##FFFFFF
##831E721.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#8A2646
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831e72;
/* rgb */ color: rgb(131, 30, 114);
/* oklch */ color: oklch(43.3% 0.164 335.9);
Tailwind
colors: {
  custom: {
    50: '#aa659b',
    500: '#831e72',
    950: '#000000',
  },
}
SCSS
$custom: #831e72;
$custom-light: #aa659b;
$custom-dark: #000000;
JSON
{
  "hex": "#831e72",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 310.099,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43321,
    "c": 0.16356,
    "h": 335.9
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#831E72
secondary
#47B65A
accent
#E65E42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831E72

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

Preview Lab → · Contrast checker → · Palette generator →

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