#8131C6#8131C6

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

Color values

HEX#8131C6
RGBrgb(129, 49, 198)
HSLhsl(272, 60%, 48%)
HSVhsv(272, 75%, 78%)
CMYKcmyk(34.8%, 75.3%, 0%, 22.4%)
CIE-LABlab(39.48, 59.94, -63.10)
CIE-LCHlch(39.48, 87.03, 313.53°)
OKLaboklab(50.53% 0.1205 -0.1798)
OKLCHoklch(50.53% 0.216 303.8)
XYZxyz(20.3423, 10.9410, 54.4553)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131C6 #76C631
analogous
#3731C6 #8131C6 #C631C0
triadic
#8131C6 #C68131 #31C681
tetradic
#8131C6 #C63731 #76C631 #31C0C6
square
#8131C6 #C63731 #76C631 #31C0C6
split-complementary
#8131C6 #C0C631 #31C637
monochromatic
#411964 #612595 #8131C6 #9F5DD7 #BC8EE3

Accessibility & contrast

On white

6.59
#8131C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8131C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8131C6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131C6#FFFFFF#000000##FFFFFF
##8131C61.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#73577A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8131c6;
/* rgb */ color: rgb(129, 49, 198);
/* oklch */ color: oklch(50.5% 0.216 303.8);
Tailwind
colors: {
  custom: {
    50: '#ac71d8',
    500: '#8131c6',
    950: '#000000',
  },
}
SCSS
$custom: #8131c6;
$custom-light: #ac71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8131c6",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 272.215,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.21645,
    "h": 303.8
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

primary
#8131C6
secondary
#A7CE85
accent
#E3448E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8131C6

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

Preview Lab → · Contrast checker → · Palette generator →

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