#8131BA#8131BA

#8131BA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.205 H 306.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8131BA
RGBrgb(129, 49, 186)
HSLhsl(275, 58%, 46%)
HSVhsv(275, 74%, 73%)
CMYKcmyk(30.6%, 73.7%, 0%, 27.1%)
CIE-LABlab(38.57, 57.22, -57.55)
CIE-LCHlch(38.57, 81.15, 314.83°)
OKLaboklab(49.6% 0.123 -0.1635)
OKLCHoklch(49.6% 0.205 306.9)
XYZxyz(19.0126, 10.4091, 47.4524)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131BA #6ABA31
analogous
#3C31BA #8131BA #BA31AE
triadic
#8131BA #BA8131 #31BA81
tetradic
#8131BA #BA3C31 #6ABA31 #31AEBA
square
#8131BA #BA3C31 #6ABA31 #31AEBA
split-complementary
#8131BA #AEBA31 #31BA3C
monochromatic
#3E1759 #5F248A #8131BA #9F56D2 #BA86DF

Accessibility & contrast

On white

6.81
#8131BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8131BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8131BA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131BA#FFFFFF#000000##FFFFFF
##8131BA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#775273
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8131ba;
/* rgb */ color: rgb(129, 49, 186);
/* oklch */ color: oklch(49.6% 0.205 306.9);
Tailwind
colors: {
  custom: {
    50: '#ab71d0',
    500: '#8131ba',
    950: '#000000',
  },
}
SCSS
$custom: #8131ba;
$custom-light: #ab71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8131ba",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 275.036,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.496,
    "c": 0.20457,
    "h": 306.9
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#8131BA
secondary
#9DC97E
accent
#E24687
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8131BA

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

Preview Lab → · Contrast checker → · Palette generator →

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