#8131AB#8131AB

#8131AB is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.190 H 311.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8131AB
RGBrgb(129, 49, 171)
HSLhsl(279, 55%, 43%)
HSVhsv(279, 71%, 67%)
CMYKcmyk(24.6%, 71.3%, 0%, 32.9%)
CIE-LABlab(37.49, 53.90, -50.41)
CIE-LCHlch(37.49, 73.79, 316.92°)
OKLaboklab(48.5% 0.1253 -0.1425)
OKLCHoklch(48.5% 0.19 311.3)
XYZxyz(17.5009, 9.8045, 39.4907)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131AB #5BAB31
analogous
#4431AB #8131AB #AB3198
triadic
#8131AB #AB8131 #31AB81
tetradic
#8131AB #AB4431 #5BAB31 #3198AB
square
#8131AB #AB4431 #5BAB31 #3198AB
split-complementary
#8131AB #98AB31 #31AB44
monochromatic
#39164C #5D237B #8131AB #A04DCC #BA7DDA

Accessibility & contrast

On white

7.09
#8131AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8131AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8131AB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131AB#FFFFFF#000000##FFFFFF
##8131AB1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#205AA8
Tritanopia (blue-blind)
#7C4C6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8131ab;
/* rgb */ color: rgb(129, 49, 171);
/* oklch */ color: oklch(48.5% 0.190 311.3);
Tailwind
colors: {
  custom: {
    50: '#aa70c5',
    500: '#8131ab',
    950: '#000000',
  },
}
SCSS
$custom: #8131ab;
$custom-light: #aa70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8131ab",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 279.344,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48495,
    "c": 0.18975,
    "h": 311.3
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#8131AB
secondary
#90C275
accent
#DF497D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8131AB

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

Preview Lab → · Contrast checker → · Palette generator →

#8131AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva