#8131B7#8131B7

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

Color values

HEX#8131B7
RGBrgb(129, 49, 183)
HSLhsl(276, 58%, 45%)
HSVhsv(276, 73%, 72%)
CMYKcmyk(29.5%, 73.2%, 0%, 28.2%)
CIE-LABlab(38.35, 56.54, -56.14)
CIE-LCHlch(38.35, 79.68, 315.20°)
OKLaboklab(49.37% 0.1235 -0.1593)
OKLCHoklch(49.37% 0.202 307.8)
XYZxyz(18.6970, 10.2829, 45.7904)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8131B7 #67B731
analogous
#3E31B7 #8131B7 #B731AA
triadic
#8131B7 #B78131 #31B781
tetradic
#8131B7 #B73E31 #67B731 #31AAB7
square
#8131B7 #B73E31 #67B731 #31AAB7
split-complementary
#8131B7 #AAB731 #31B73E
monochromatic
#3D1756 #5F2487 #8131B7 #9F54D1 #BA84DE

Accessibility & contrast

On white

6.87
#8131B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8131B7
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8131B7#FFFFFF#000000##FFFFFF
##8131B71.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#785171
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8131b7;
/* rgb */ color: rgb(129, 49, 183);
/* oklch */ color: oklch(49.4% 0.202 307.8);
Tailwind
colors: {
  custom: {
    50: '#aa71cd',
    500: '#8131b7',
    950: '#000000',
  },
}
SCSS
$custom: #8131b7;
$custom-light: #aa71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8131b7",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 275.821,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49374,
    "c": 0.20161,
    "h": 307.8
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#8131B7
secondary
#9BC87C
accent
#E14785
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8131B7

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

Preview Lab → · Contrast checker → · Palette generator →

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