#8137B1#8137B1

#8137B1 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.188 H 308.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8137B1
RGBrgb(129, 55, 177)
HSLhsl(276, 53%, 45%)
HSVhsv(276, 69%, 69%)
CMYKcmyk(27.1%, 68.9%, 0%, 30.6%)
CIE-LABlab(38.85, 52.56, -51.77)
CIE-LCHlch(38.85, 73.78, 315.43°)
OKLaboklab(49.6% 0.1182 -0.1465)
OKLCHoklch(49.6% 0.188 308.9)
XYZxyz(18.3537, 10.5741, 42.6606)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137B1 #67B137
analogous
#4437B1 #8137B1 #B137A4
triadic
#8137B1 #B18137 #37B181
tetradic
#8137B1 #B14437 #67B137 #37A4B1
square
#8137B1 #B14437 #67B137 #37A4B1
split-complementary
#8137B1 #A4B137 #37B144
monochromatic
#3D1A54 #5F2882 #8137B1 #9F5ACC #BA88DA

Accessibility & contrast

On white

6.74
#8137B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8137B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137B1
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137B1#FFFFFF#000000##FFFFFF
##8137B11.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#1E5CAE
Tritanopia (blue-blind)
#7A5170
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8137b1;
/* rgb */ color: rgb(129, 55, 177);
/* oklch */ color: oklch(49.6% 0.188 308.9);
Tailwind
colors: {
  custom: {
    50: '#aa74c9',
    500: '#8137b1',
    950: '#000000',
  },
}
SCSS
$custom: #8137b1;
$custom-light: #aa74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8137b1",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 276.393,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.18825,
    "h": 308.9
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#8137B1
secondary
#9BC480
accent
#DC4C85
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8137B1

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

Preview Lab → · Contrast checker → · Palette generator →

#8137B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva