#8126AE#8126AE

#8126AE is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.6% C 0.205 H 311.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8126AE
RGBrgb(129, 38, 174)
HSLhsl(280, 64%, 42%)
HSVhsv(280, 78%, 68%)
CMYKcmyk(25.9%, 78.2%, 0%, 31.8%)
CIE-LABlab(36.19, 58.85, -54.29)
CIE-LCHlch(36.19, 80.06, 317.31°)
OKLaboklab(47.65% 0.1352 -0.1538)
OKLCHoklch(47.65% 0.205 311.3)
XYZxyz(17.3849, 9.1098, 40.8788)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126AE #53AE26
analogous
#3D26AE #8126AE #AE2697
triadic
#8126AE #AE8126 #26AE81
tetradic
#8126AE #AE3D26 #53AE26 #2697AE
square
#8126AE #AE3D26 #53AE26 #2697AE
split-complementary
#8126AE #97AE26 #26AE3D
monochromatic
#37104A #5C1B7C #8126AE #A23DD5 #BA6FE0

Accessibility & contrast

On white

7.44
#8126AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8126AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8126AE#FFFFFF#000000##FFFFFF
##8126AE1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0357AB
Tritanopia (blue-blind)
#7B476A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8126ae;
/* rgb */ color: rgb(129, 38, 174);
/* oklch */ color: oklch(47.6% 0.205 311.3);
Tailwind
colors: {
  custom: {
    50: '#aa6bc7',
    500: '#8126ae',
    950: '#000000',
  },
}
SCSS
$custom: #8126ae;
$custom-light: #aa6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8126ae",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 280.147,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47647,
    "c": 0.20481,
    "h": 311.3
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#8126AE
secondary
#88C66A
accent
#E74178
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8126AE

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

Preview Lab → · Contrast checker → · Palette generator →

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