#831E8D#831E8D

#831E8D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.185 H 324.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#831E8D
RGBrgb(131, 30, 141)
HSLhsl(295, 65%, 34%)
HSVhsv(295, 79%, 55%)
CMYKcmyk(7.1%, 78.7%, 0%, 44.7%)
CIE-LABlab(33.30, 55.46, -38.92)
CIE-LCHlch(33.30, 67.76, 324.94°)
OKLaboklab(44.94% 0.1494 -0.1086)
OKLCHoklch(44.94% 0.185 324)
XYZxyz(14.6316, 7.6779, 25.9054)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E8D #288D1E
analogous
#4B1E8D #831E8D #8D1E5F
triadic
#831E8D #8D831E #1E8D83
tetradic
#831E8D #8D4B1E #288D1E #1E5F8D
square
#831E8D #8D4B1E #288D1E #1E5F8D
split-complementary
#831E8D #5F8D1E #1E8D4B
monochromatic
#250928 #54135B #831E8D #B229BF #CC4CD9

Accessibility & contrast

On white

8.28
#831E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#831E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E8D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E8D#FFFFFF#000000##FFFFFF
##831E8D1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#34528A
Tritanopia (blue-blind)
#853355
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #831e8d;
/* rgb */ color: rgb(131, 30, 141);
/* oklch */ color: oklch(44.9% 0.185 324.0);
Tailwind
colors: {
  custom: {
    50: '#ab67af',
    500: '#831e8d',
    950: '#000000',
  },
}
SCSS
$custom: #831e8d;
$custom-light: #ab67af;
$custom-dark: #000000;
JSON
{
  "hex": "#831e8d",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 294.595,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.18472,
    "h": 324
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#831E8D
secondary
#55BC4B
accent
#E8404F
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #831E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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