#8126AB#8126AB

#8126AB is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.4% C 0.202 H 312.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8126AB
RGBrgb(129, 38, 171)
HSLhsl(281, 64%, 41%)
HSVhsv(281, 78%, 67%)
CMYKcmyk(24.6%, 77.8%, 0%, 32.9%)
CIE-LABlab(35.97, 58.22, -52.86)
CIE-LCHlch(35.97, 78.63, 317.76°)
OKLaboklab(47.42% 0.1358 -0.1496)
OKLCHoklch(47.42% 0.202 312.2)
XYZxyz(17.0957, 8.9941, 39.3557)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126AB #50AB26
analogous
#3F26AB #8126AB #AB2692
triadic
#8126AB #AB8126 #26AB81
tetradic
#8126AB #AB3F26 #50AB26 #2692AB
square
#8126AB #AB3F26 #50AB26 #2692AB
split-complementary
#8126AB #92AB26 #26AB3F
monochromatic
#351047 #5B1B79 #8126AB #A33BD3 #BB6DDF

Accessibility & contrast

On white

7.50
#8126AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8126AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8126AB#FFFFFF#000000##FFFFFF
##8126AB1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0E56A8
Tritanopia (blue-blind)
#7C4668
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8126ab;
/* rgb */ color: rgb(129, 38, 171);
/* oklch */ color: oklch(47.4% 0.202 312.2);
Tailwind
colors: {
  custom: {
    50: '#aa6bc5',
    500: '#8126ab',
    950: '#000000',
  },
}
SCSS
$custom: #8126ab;
$custom-light: #aa6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8126ab",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 281.053,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47422,
    "c": 0.20206,
    "h": 312.2
  },
  "luminance": 0.08994
}

Semantic roles & 50–950 ramp

primary
#8126AB
secondary
#85C568
accent
#E74175
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8126AB

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

Preview Lab → · Contrast checker → · Palette generator →

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