#831868#831868

#831868 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.163 H 340.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#831868
RGBrgb(131, 24, 104)
HSLhsl(315, 69%, 30%)
HSVhsv(315, 82%, 51%)
CMYKcmyk(0%, 81.7%, 20.6%, 48.6%)
CIE-LABlab(30.59, 51.30, -19.90)
CIE-LCHlch(30.59, 55.02, 338.80°)
OKLaboklab(42.33% 0.1537 -0.0537)
OKLCHoklch(42.33% 0.163 340.7)
XYZxyz(12.1858, 6.4793, 13.7029)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831868 #188333
analogous
#681883 #831868 #831833
triadic
#831868 #688318 #186883
tetradic
#831868 #836818 #188333 #183383
square
#831868 #836818 #188333 #183383
split-complementary
#831868 #338318 #188368
monochromatic
#1C0516 #4F0F3F #831868 #B72191 #DB3AB2

Accessibility & contrast

On white

9.15
#831868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#831868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831868
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831868#FFFFFF#000000##FFFFFF
##8318681.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D6A
Deuteranopia (green-blind)
#454E66
Tritanopia (blue-blind)
#8B1B3F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831868;
/* rgb */ color: rgb(131, 24, 104);
/* oklch */ color: oklch(42.3% 0.163 340.7);
Tailwind
colors: {
  custom: {
    50: '#ab6393',
    500: '#831868',
    950: '#000000',
  },
}
SCSS
$custom: #831868;
$custom-light: #ab6393;
$custom-dark: #000000;
JSON
{
  "hex": "#831868",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 315.14,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42331,
    "c": 0.16279,
    "h": 340.7
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#831868
secondary
#40B75E
accent
#EC683C
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #831868

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

Preview Lab → · Contrast checker → · Palette generator →

#831868 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva