#831C71#831C71

#831C71 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.1% C 0.165 H 336.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#831C71
RGBrgb(131, 28, 113)
HSLhsl(310, 65%, 31%)
HSVhsv(310, 79%, 51%)
CMYKcmyk(0%, 78.6%, 13.7%, 48.6%)
CIE-LABlab(31.46, 51.42, -24.30)
CIE-LCHlch(31.46, 56.87, 334.71°)
OKLaboklab(43.11% 0.1511 -0.0663)
OKLCHoklch(43.11% 0.165 336.3)
XYZxyz(12.7562, 6.8492, 16.2698)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C71 #1C832E
analogous
#611C83 #831C71 #831C3D
triadic
#831C71 #71831C #1C7183
tetradic
#831C71 #83611C #1C832E #1C3D83
square
#831C71 #83611C #1C832E #1C3D83
split-complementary
#831C71 #3D831C #1C8361
monochromatic
#1E061A #511146 #831C71 #B5279C #D743BD

Accessibility & contrast

On white

8.86
#831C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#831C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C71
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C71#FFFFFF#000000##FFFFFF
##831C711.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#8A2445
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831c71;
/* rgb */ color: rgb(131, 28, 113);
/* oklch */ color: oklch(43.1% 0.165 336.3);
Tailwind
colors: {
  custom: {
    50: '#ab659a',
    500: '#831c71',
    950: '#000000',
  },
}
SCSS
$custom: #831c71;
$custom-light: #ab659a;
$custom-dark: #000000;
JSON
{
  "hex": "#831c71",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 310.485,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43105,
    "c": 0.16499,
    "h": 336.3
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#831C71
secondary
#45B658
accent
#E85D40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831C71

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

Preview Lab → · Contrast checker → · Palette generator →

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