#8138AA#8138AA

#8138AA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.180 H 310.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8138AA
RGBrgb(129, 56, 170)
HSLhsl(278, 50%, 44%)
HSVhsv(278, 67%, 67%)
CMYKcmyk(24.1%, 67.1%, 0%, 33.3%)
CIE-LABlab(38.55, 50.52, -48.10)
CIE-LCHlch(38.55, 69.76, 316.41°)
OKLaboklab(49.23% 0.1177 -0.1358)
OKLCHoklch(49.23% 0.18 310.9)
XYZxyz(17.7218, 10.3982, 39.0959)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138AA #61AA38
analogous
#4838AA #8138AA #AA389A
triadic
#8138AA #AA8138 #38AA81
tetradic
#8138AA #AA4838 #61AA38 #389AAA
square
#8138AA #AA4838 #61AA38 #389AAA
split-complementary
#8138AA #9AAA38 #38AA48
monochromatic
#3B1A4E #5E297C #8138AA #9F57C8 #BA85D7

Accessibility & contrast

On white

6.82
#8138AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8138AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8138AA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138AA#FFFFFF#000000##FFFFFF
##8138AA1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#2A5CA7
Tritanopia (blue-blind)
#7C4F6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8138aa;
/* rgb */ color: rgb(129, 56, 170);
/* oklch */ color: oklch(49.2% 0.180 310.9);
Tailwind
colors: {
  custom: {
    50: '#a974c4',
    500: '#8138aa',
    950: '#000000',
  },
}
SCSS
$custom: #8138aa;
$custom-light: #a974c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8138aa",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 278.421,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.1797,
    "h": 310.9
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#8138AA
secondary
#95C17D
accent
#DA4E80
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8138AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8138AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva