#831FA8#831FA8

#831FA8 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.9% C 0.207 H 314.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#831FA8
RGBrgb(131, 31, 168)
HSLhsl(284, 69%, 39%)
HSVhsv(284, 82%, 66%)
CMYKcmyk(22%, 81.5%, 0%, 34.1%)
CIE-LABlab(35.27, 60.27, -52.19)
CIE-LCHlch(35.27, 79.72, 319.11°)
OKLaboklab(46.92% 0.1446 -0.1475)
OKLCHoklch(46.92% 0.207 314.4)
XYZxyz(16.9167, 8.6330, 37.8134)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831FA8 #44A81F
analogous
#3F1FA8 #831FA8 #A81F89
triadic
#831FA8 #A8831F #1FA883
tetradic
#831FA8 #A83F1F #44A81F #1F89A8
square
#831FA8 #A83F1F #44A81F #1F89A8
split-complementary
#831FA8 #89A81F #1FA83F
monochromatic
#320C41 #5B1574 #831FA8 #AA2CD8 #BF60E2

Accessibility & contrast

On white

7.70
#831FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831FA8
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831FA8#FFFFFF#000000##FFFFFF
##831FA81.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#1255A5
Tritanopia (blue-blind)
#7F4165
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #831fa8;
/* rgb */ color: rgb(131, 31, 168);
/* oklch */ color: oklch(46.9% 0.207 314.4);
Tailwind
colors: {
  custom: {
    50: '#ac68c3',
    500: '#831fa8',
    950: '#000000',
  },
}
SCSS
$custom: #831fa8;
$custom-light: #ac68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#831fa8",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 283.796,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.20661,
    "h": 314.4
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#831FA8
secondary
#79C65D
accent
#EC3C6C
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #831FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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