#8137AB#8137AB

#8137AB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.182 H 310.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8137AB
RGBrgb(129, 55, 171)
HSLhsl(278, 51%, 44%)
HSVhsv(278, 68%, 67%)
CMYKcmyk(24.6%, 67.8%, 0%, 32.9%)
CIE-LABlab(38.45, 51.21, -48.86)
CIE-LCHlch(38.45, 70.79, 316.35°)
OKLaboklab(49.18% 0.1188 -0.138)
OKLCHoklch(49.18% 0.182 310.7)
XYZxyz(17.7687, 10.3402, 39.5800)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137AB #61AB37
analogous
#4737AB #8137AB #AB379B
triadic
#8137AB #AB8137 #37AB81
tetradic
#8137AB #AB4737 #61AB37 #379BAB
square
#8137AB #AB4737 #61AB37 #379BAB
split-complementary
#8137AB #9BAB37 #37AB47
monochromatic
#3B194E #5E287D #8137AB #9F56C9 #BA85D8

Accessibility & contrast

On white

6.84
#8137AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8137AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137AB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137AB#FFFFFF#000000##FFFFFF
##8137AB1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#275CA8
Tritanopia (blue-blind)
#7C4F6C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8137ab;
/* rgb */ color: rgb(129, 55, 171);
/* oklch */ color: oklch(49.2% 0.182 310.7);
Tailwind
colors: {
  custom: {
    50: '#a973c5',
    500: '#8137ab',
    950: '#000000',
  },
}
SCSS
$custom: #8137ab;
$custom-light: #a973c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8137ab",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 278.276,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.18207,
    "h": 310.7
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#8137AB
secondary
#95C17C
accent
#DB4D80
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8137AB

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

Preview Lab → · Contrast checker → · Palette generator →

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