#8137AC#8137AC

#8137AC is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.183 H 310.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8137AC
RGBrgb(129, 55, 172)
HSLhsl(278, 52%, 45%)
HSVhsv(278, 68%, 67%)
CMYKcmyk(25%, 68%, 0%, 32.5%)
CIE-LABlab(38.51, 51.44, -49.35)
CIE-LCHlch(38.51, 71.28, 316.19°)
OKLaboklab(49.25% 0.1187 -0.1394)
OKLCHoklch(49.25% 0.183 310.4)
XYZxyz(17.8644, 10.3784, 40.0839)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8137AC #62AC37
analogous
#4737AC #8137AC #AC379D
triadic
#8137AC #AC8137 #37AC81
tetradic
#8137AC #AC4737 #62AC37 #379DAC
square
#8137AC #AC4737 #62AC37 #379DAC
split-complementary
#8137AC #9DAC37 #37AC47
monochromatic
#3B194F #5E287E #8137AC #9F57C9 #BA85D8

Accessibility & contrast

On white

6.83
#8137AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8137AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8137AC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8137AC#FFFFFF#000000##FFFFFF
##8137AC1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#265CA9
Tritanopia (blue-blind)
#7B506D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8137ac;
/* rgb */ color: rgb(129, 55, 172);
/* oklch */ color: oklch(49.2% 0.183 310.4);
Tailwind
colors: {
  custom: {
    50: '#a973c5',
    500: '#8137ac',
    950: '#000000',
  },
}
SCSS
$custom: #8137ac;
$custom-light: #a973c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8137ac",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 277.949,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49248,
    "c": 0.1831,
    "h": 310.4
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#8137AC
secondary
#96C27D
accent
#DB4D81
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8137AC

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

Preview Lab → · Contrast checker → · Palette generator →

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