#8131AE#8131AE

#8131AE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.193 H 310.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8131AE
RGBrgb(129, 49, 174)
HSLhsl(278, 56%, 44%)
HSVhsv(278, 72%, 68%)
CMYKcmyk(25.9%, 71.8%, 0%, 31.8%)
CIE-LABlab(37.70, 54.55, -51.86)
CIE-LCHlch(37.70, 75.27, 316.45°)
OKLaboklab(48.71% 0.1249 -0.1467)
OKLCHoklch(48.71% 0.193 310.4)
XYZxyz(17.7901, 9.9201, 41.0138)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131AE #5EAE31
analogous
#4231AE #8131AE #AE319C
triadic
#8131AE #AE8131 #31AE81
tetradic
#8131AE #AE4231 #5EAE31 #319CAE
square
#8131AE #AE4231 #5EAE31 #319CAE
split-complementary
#8131AE #9CAE31 #31AE42
monochromatic
#3A164E #5E247E #8131AE #A04FCD #BA7FDB

Accessibility & contrast

On white

7.04
#8131AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8131AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8131AE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131AE#FFFFFF#000000##FFFFFF
##8131AE1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#1A5AAB
Tritanopia (blue-blind)
#7B4D6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8131ae;
/* rgb */ color: rgb(129, 49, 174);
/* oklch */ color: oklch(48.7% 0.193 310.4);
Tailwind
colors: {
  custom: {
    50: '#aa70c7',
    500: '#8131ae',
    950: '#000000',
  },
}
SCSS
$custom: #8131ae;
$custom-light: #aa70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8131ae",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 278.4,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.19271,
    "h": 310.4
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#8131AE
secondary
#93C477
accent
#DF487F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8131AE

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

Preview Lab → · Contrast checker → · Palette generator →

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