#8129AB#8129AB

#8129AB is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.199 H 312.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8129AB
RGBrgb(129, 41, 171)
HSLhsl(281, 61%, 42%)
HSVhsv(281, 76%, 67%)
CMYKcmyk(24.6%, 76%, 0%, 32.9%)
CIE-LABlab(36.35, 57.12, -52.24)
CIE-LCHlch(36.35, 77.41, 317.56°)
OKLaboklab(47.69% 0.1331 -0.1478)
OKLCHoklch(47.69% 0.199 312)
XYZxyz(17.1955, 9.1938, 39.3889)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8129AB #53AB29
analogous
#4029AB #8129AB #AB2994
triadic
#8129AB #AB8129 #29AB81
tetradic
#8129AB #AB4029 #53AB29 #2994AB
square
#8129AB #AB4029 #53AB29 #2994AB
split-complementary
#8129AB #94AB29 #29AB40
monochromatic
#371148 #5C1D7A #8129AB #A240D1 #BA71DD

Accessibility & contrast

On white

7.40
#8129AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8129AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8129AB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8129AB#FFFFFF#000000##FFFFFF
##8129AB1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#1457A8
Tritanopia (blue-blind)
#7C4769
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8129ab;
/* rgb */ color: rgb(129, 41, 171);
/* oklch */ color: oklch(47.7% 0.199 312.0);
Tailwind
colors: {
  custom: {
    50: '#aa6cc5',
    500: '#8129ab',
    950: '#000000',
  },
}
SCSS
$custom: #8129ab;
$custom-light: #aa6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8129ab",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 280.615,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47691,
    "c": 0.19895,
    "h": 312
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#8129AB
secondary
#88C46C
accent
#E44377
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8129AB

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

Preview Lab → · Contrast checker → · Palette generator →

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