#8131B8#8131B8

#8131B8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.203 H 307.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8131B8
RGBrgb(129, 49, 184)
HSLhsl(276, 58%, 46%)
HSVhsv(276, 73%, 72%)
CMYKcmyk(29.9%, 73.4%, 0%, 27.8%)
CIE-LABlab(38.42, 56.77, -56.61)
CIE-LCHlch(38.42, 80.17, 315.08°)
OKLaboklab(49.45% 0.1233 -0.1607)
OKLCHoklch(49.45% 0.203 307.5)
XYZxyz(18.8015, 10.3247, 46.3405)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131B8 #68B831
analogous
#3E31B8 #8131B8 #B831AB
triadic
#8131B8 #B88131 #31B881
tetradic
#8131B8 #B83E31 #68B831 #31ABB8
square
#8131B8 #B83E31 #68B831 #31ABB8
split-complementary
#8131B8 #ABB831 #31B83E
monochromatic
#3D1757 #5F2488 #8131B8 #9F55D2 #BA85DE

Accessibility & contrast

On white

6.85
#8131B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8131B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8131B8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131B8#FFFFFF#000000##FFFFFF
##8131B81.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#785172
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8131b8;
/* rgb */ color: rgb(129, 49, 184);
/* oklch */ color: oklch(49.4% 0.203 307.5);
Tailwind
colors: {
  custom: {
    50: '#aa71ce',
    500: '#8131b8',
    950: '#000000',
  },
}
SCSS
$custom: #8131b8;
$custom-light: #aa71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8131b8",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 275.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.2026,
    "h": 307.5
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

primary
#8131B8
secondary
#9BC87D
accent
#E14786
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8131B8

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

Preview Lab → · Contrast checker → · Palette generator →

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