#8131C5#8131C5

#8131C5 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.215 H 304.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8131C5
RGBrgb(129, 49, 197)
HSLhsl(272, 60%, 48%)
HSVhsv(272, 75%, 77%)
CMYKcmyk(34.5%, 75.1%, 0%, 22.7%)
CIE-LABlab(39.40, 59.71, -62.64)
CIE-LCHlch(39.40, 86.54, 313.63°)
OKLaboklab(50.45% 0.1208 -0.1784)
OKLCHoklch(50.45% 0.215 304.1)
XYZxyz(20.2273, 10.8950, 53.8498)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131C5 #75C531
analogous
#3731C5 #8131C5 #C531BF
triadic
#8131C5 #C58131 #31C581
tetradic
#8131C5 #C53731 #75C531 #31BFC5
square
#8131C5 #C53731 #75C531 #31BFC5
split-complementary
#8131C5 #BFC531 #31C537
monochromatic
#411963 #612594 #8131C5 #9F5DD7 #BC8EE3

Accessibility & contrast

On white

6.61
#8131C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8131C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8131C5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131C5#FFFFFF#000000##FFFFFF
##8131C51.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#745679
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8131c5;
/* rgb */ color: rgb(129, 49, 197);
/* oklch */ color: oklch(50.5% 0.215 304.1);
Tailwind
colors: {
  custom: {
    50: '#ab71d8',
    500: '#8131c5',
    950: '#000000',
  },
}
SCSS
$custom: #8131c5;
$custom-light: #ab71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8131c5",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 272.432,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50452,
    "c": 0.21546,
    "h": 304.1
  },
  "luminance": 0.10895
}

Semantic roles & 50–950 ramp

primary
#8131C5
secondary
#A6CD85
accent
#E3448D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #8131C5

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

Preview Lab → · Contrast checker → · Palette generator →

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