#8126AA#8126AA

#8126AA is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.3% C 0.201 H 312.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8126AA
RGBrgb(129, 38, 170)
HSLhsl(281, 63%, 41%)
HSVhsv(281, 78%, 67%)
CMYKcmyk(24.1%, 77.6%, 0%, 33.3%)
CIE-LABlab(35.90, 58.01, -52.38)
CIE-LCHlch(35.90, 78.16, 317.92°)
OKLaboklab(47.35% 0.136 -0.1482)
OKLCHoklch(47.35% 0.201 312.5)
XYZxyz(17.0008, 8.9561, 38.8556)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126AA #4FAA26
analogous
#3F26AA #8126AA #AA2691
triadic
#8126AA #AA8126 #26AA81
tetradic
#8126AA #AA3F26 #4FAA26 #2691AA
square
#8126AA #AA3F26 #4FAA26 #2691AA
split-complementary
#8126AA #91AA26 #26AA3F
monochromatic
#351046 #5B1B78 #8126AA #A43AD3 #BB6CDE

Accessibility & contrast

On white

7.52
#8126AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8126AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8126AA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126AA#FFFFFF#000000##FFFFFF
##8126AA1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#1156A7
Tritanopia (blue-blind)
#7C4567
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8126aa;
/* rgb */ color: rgb(129, 38, 170);
/* oklch */ color: oklch(47.3% 0.201 312.5);
Tailwind
colors: {
  custom: {
    50: '#aa6bc4',
    500: '#8126aa',
    950: '#000000',
  },
}
SCSS
$custom: #8126aa;
$custom-light: #aa6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8126aa",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 281.364,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47347,
    "c": 0.20115,
    "h": 312.5
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#8126AA
secondary
#84C567
accent
#E64175
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8126AA

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

Preview Lab → · Contrast checker → · Palette generator →

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