#8137BA#8137BA

#8137BA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.3% C 0.198 H 306.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8137BA
RGBrgb(129, 55, 186)
HSLhsl(274, 54%, 47%)
HSVhsv(274, 70%, 73%)
CMYKcmyk(30.6%, 70.4%, 0%, 27.1%)
CIE-LABlab(39.49, 54.61, -56.06)
CIE-LCHlch(39.49, 78.27, 314.25°)
OKLaboklab(50.25% 0.117 -0.1592)
OKLCHoklch(50.25% 0.198 306.3)
XYZxyz(19.2805, 10.9449, 47.5417)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137BA #70BA37
analogous
#3F37BA #8137BA #BA37B2
triadic
#8137BA #BA8137 #37BA81
tetradic
#8137BA #BA3F37 #70BA37 #37B2BA
square
#8137BA #BA3F37 #70BA37 #37B2BA
split-complementary
#8137BA #B2BA37 #37BA3F
monochromatic
#3F1B5C #60298B #8137BA #9E5FD0 #BB8EDE

Accessibility & contrast

On white

6.59
#8137BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8137BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137BA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137BA#FFFFFF#000000##FFFFFF
##8137BA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#055DB7
Tritanopia (blue-blind)
#775575
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8137ba;
/* rgb */ color: rgb(129, 55, 186);
/* oklch */ color: oklch(50.3% 0.198 306.3);
Tailwind
colors: {
  custom: {
    50: '#aa74d0',
    500: '#8137ba',
    950: '#000000',
  },
}
SCSS
$custom: #8137ba;
$custom-light: #aa74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8137ba",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 273.893,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50253,
    "c": 0.19753,
    "h": 306.3
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#8137BA
secondary
#A2C885
accent
#DE4A8A
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8137BA

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

Preview Lab → · Contrast checker → · Palette generator →

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