#831AC9#831AC9

#831AC9 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 49.3% C 0.239 H 305.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#831AC9
RGBrgb(131, 26, 201)
HSLhsl(276, 77%, 45%)
HSVhsv(276, 87%, 79%)
CMYKcmyk(34.8%, 87.1%, 0%, 21.2%)
CIE-LABlab(37.45, 68.35, -68.15)
CIE-LCHlch(37.45, 96.52, 315.08°)
OKLaboklab(49.25% 0.1386 -0.1944)
OKLCHoklch(49.25% 0.239 305.5)
XYZxyz(20.2697, 9.7813, 56.0671)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831AC9 #60C91A
analogous
#2B1AC9 #831AC9 #C91AB8
triadic
#831AC9 #C9831A #1AC983
tetradic
#831AC9 #C92B1A #60C91A #1AB8C9
square
#831AC9 #C92B1A #60C91A #1AB8C9
split-complementary
#831AC9 #B8C91A #1AC92B
monochromatic
#3C0C5D #601393 #831AC9 #A13BE6 #BB71ED

Accessibility & contrast

On white

7.10
#831AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#831AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831AC9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831AC9#FFFFFF#000000##FFFFFF
##831AC91.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#764F77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #831ac9;
/* rgb */ color: rgb(131, 26, 201);
/* oklch */ color: oklch(49.3% 0.239 305.5);
Tailwind
colors: {
  custom: {
    50: '#ae69db',
    500: '#831ac9',
    950: '#000000',
  },
}
SCSS
$custom: #831ac9;
$custom-light: #ae69db;
$custom-dark: #000000;
JSON
{
  "hex": "#831ac9",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 201
  },
  "hsl": {
    "h": 276,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4925,
    "c": 0.23875,
    "h": 305.5
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#831AC9
secondary
#95D36C
accent
#F43481
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #831AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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