#831BAD#831BAD

#831BAD is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 47.0% C 0.214 H 313.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#831BAD
RGBrgb(131, 27, 173)
HSLhsl(283, 73%, 39%)
HSVhsv(283, 84%, 68%)
CMYKcmyk(24.3%, 84.4%, 0%, 32.2%)
CIE-LABlab(35.26, 62.40, -55.20)
CIE-LCHlch(35.26, 83.31, 318.50°)
OKLaboklab(47.03% 0.1463 -0.1564)
OKLCHoklch(47.03% 0.214 313.1)
XYZxyz(17.2935, 8.6268, 40.2812)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831BAD #45AD1B
analogous
#3A1BAD #831BAD #AD1B8E
triadic
#831BAD #AD831B #1BAD83
tetradic
#831BAD #AD3A1B #45AD1B #1B8EAD
square
#831BAD #AD3A1B #45AD1B #1B8EAD
split-complementary
#831BAD #8EAD1B #1BAD3A
monochromatic
#330A43 #5B1378 #831BAD #A928DD #BE5DE6

Accessibility & contrast

On white

7.71
#831BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#831BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831BAD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831BAD#FFFFFF#000000##FFFFFF
##831BAD1.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#7E4267
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #831bad;
/* rgb */ color: rgb(131, 27, 173);
/* oklch */ color: oklch(47.0% 0.214 313.1);
Tailwind
colors: {
  custom: {
    50: '#ac67c6',
    500: '#831bad',
    950: '#000000',
  },
}
SCSS
$custom: #831bad;
$custom-light: #ac67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#831bad",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 173
  },
  "hsl": {
    "h": 282.74,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47029,
    "c": 0.21413,
    "h": 313.1
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#831BAD
secondary
#7ACA5A
accent
#F0386D
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #831BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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