#8126AD#8126AD

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

Color values

HEX#8126AD
RGBrgb(129, 38, 173)
HSLhsl(280, 64%, 41%)
HSVhsv(280, 78%, 68%)
CMYKcmyk(25.4%, 78%, 0%, 32.2%)
CIE-LABlab(36.12, 58.64, -53.81)
CIE-LCHlch(36.12, 79.59, 317.46°)
OKLaboklab(47.57% 0.1354 -0.1524)
OKLCHoklch(47.57% 0.204 311.6)
XYZxyz(17.2878, 9.0709, 40.3672)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126AD #52AD26
analogous
#3D26AD #8126AD #AD2696
triadic
#8126AD #AD8126 #26AD81
tetradic
#8126AD #AD3D26 #52AD26 #2696AD
square
#8126AD #AD3D26 #52AD26 #2696AD
split-complementary
#8126AD #96AD26 #26AD3D
monochromatic
#361049 #5C1B7B #8126AD #A33CD4 #BA6EDF

Accessibility & contrast

On white

7.46
#8126AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##8126AD#FFFFFF#000000##FFFFFF
##8126AD1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0757AA
Tritanopia (blue-blind)
#7B4769
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8126ad;
/* rgb */ color: rgb(129, 38, 173);
/* oklch */ color: oklch(47.6% 0.204 311.6);
Tailwind
colors: {
  custom: {
    50: '#aa6bc6',
    500: '#8126ad',
    950: '#000000',
  },
}
SCSS
$custom: #8126ad;
$custom-light: #aa6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8126ad",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 280.444,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.20389,
    "h": 311.6
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#8126AD
secondary
#87C669
accent
#E74177
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8126AD

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

Preview Lab → · Contrast checker → · Palette generator →

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