#8126AC#8126AC

#8126AC is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.5% C 0.203 H 311.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8126AC
RGBrgb(129, 38, 172)
HSLhsl(281, 64%, 41%)
HSVhsv(281, 78%, 67%)
CMYKcmyk(25%, 77.9%, 0%, 32.5%)
CIE-LABlab(36.05, 58.43, -53.34)
CIE-LCHlch(36.05, 79.11, 317.61°)
OKLaboklab(47.5% 0.1356 -0.151)
OKLCHoklch(47.5% 0.203 311.9)
XYZxyz(17.1914, 9.0324, 39.8595)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126AC #51AC26
analogous
#3E26AC #8126AC #AC2694
triadic
#8126AC #AC8126 #26AC81
tetradic
#8126AC #AC3E26 #51AC26 #2694AC
square
#8126AC #AC3E26 #51AC26 #2694AC
split-complementary
#8126AC #94AC26 #26AC3E
monochromatic
#361048 #5B1B7A #8126AC #A33BD4 #BA6EDF

Accessibility & contrast

On white

7.48
#8126AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8126AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8126AC#FFFFFF#000000##FFFFFF
##8126AC1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0B56A9
Tritanopia (blue-blind)
#7C4668
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8126ac;
/* rgb */ color: rgb(129, 38, 172);
/* oklch */ color: oklch(47.5% 0.203 311.9);
Tailwind
colors: {
  custom: {
    50: '#aa6bc6',
    500: '#8126ac',
    950: '#000000',
  },
}
SCSS
$custom: #8126ac;
$custom-light: #aa6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8126ac",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 280.746,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47497,
    "c": 0.20298,
    "h": 311.9
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#8126AC
secondary
#86C568
accent
#E74176
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8126AC

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

Preview Lab → · Contrast checker → · Palette generator →

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