#831C8F#831C8F

#831C8F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.188 H 323.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#831C8F
RGBrgb(131, 28, 143)
HSLhsl(294, 67%, 34%)
HSVhsv(294, 80%, 56%)
CMYKcmyk(8.4%, 80.4%, 0%, 43.9%)
CIE-LABlab(33.22, 56.43, -40.29)
CIE-LCHlch(33.22, 69.33, 324.47°)
OKLaboklab(44.93% 0.1509 -0.1126)
OKLCHoklch(44.93% 0.188 323.3)
XYZxyz(14.7328, 7.6399, 26.6799)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C8F #288F1C
analogous
#491C8F #831C8F #8F1C61
triadic
#831C8F #8F831C #1C8F83
tetradic
#831C8F #8F491C #288F1C #1C618F
square
#831C8F #8F491C #288F1C #1C618F
split-complementary
#831C8F #618F1C #1C8F49
monochromatic
#250829 #54125C #831C8F #B226C2 #CC4ADC

Accessibility & contrast

On white

8.31
#831C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#831C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C8F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C8F#FFFFFF#000000##FFFFFF
##831C8F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#31528C
Tritanopia (blue-blind)
#853356
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #831c8f;
/* rgb */ color: rgb(131, 28, 143);
/* oklch */ color: oklch(44.9% 0.188 323.3);
Tailwind
colors: {
  custom: {
    50: '#ab66b0',
    500: '#831c8f',
    950: '#000000',
  },
}
SCSS
$custom: #831c8f;
$custom-light: #ab66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#831c8f",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 293.739,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.18827,
    "h": 323.3
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#831C8F
secondary
#55BE49
accent
#EA3E50
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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