#831D68#831D68

#831D68 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.158 H 341.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#831D68
RGBrgb(131, 29, 104)
HSLhsl(316, 64%, 31%)
HSVhsv(316, 78%, 51%)
CMYKcmyk(0%, 77.9%, 20.6%, 48.6%)
CIE-LABlab(31.13, 49.77, -19.07)
CIE-LCHlch(31.13, 53.30, 339.04°)
OKLaboklab(42.72% 0.149 -0.0514)
OKLCHoklch(42.72% 0.158 341)
XYZxyz(12.2985, 6.7048, 13.7405)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D68 #1D8338
analogous
#6B1D83 #831D68 #831D35
triadic
#831D68 #68831D #1D6883
tetradic
#831D68 #836B1D #1D8338 #1D3583
square
#831D68 #836B1D #1D8338 #1D3583
split-complementary
#831D68 #35831D #1D836B
monochromatic
#1F0718 #511240 #831D68 #B52890 #D645AF

Accessibility & contrast

On white

8.97
#831D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#831D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D68
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D68#FFFFFF#000000##FFFFFF
##831D681.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263F6A
Deuteranopia (green-blind)
#474F66
Tritanopia (blue-blind)
#8B2040
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831d68;
/* rgb */ color: rgb(131, 29, 104);
/* oklch */ color: oklch(42.7% 0.158 341.0);
Tailwind
colors: {
  custom: {
    50: '#ab6593',
    500: '#831d68',
    950: '#000000',
  },
}
SCSS
$custom: #831d68;
$custom-light: #ab6593;
$custom-dark: #000000;
JSON
{
  "hex": "#831d68",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 315.882,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42717,
    "c": 0.15764,
    "h": 341
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#831D68
secondary
#46B663
accent
#E76D41
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #831D68

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

Preview Lab → · Contrast checker → · Palette generator →

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