#8126A4#8126A4

#8126A4 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.196 H 314.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8126A4
RGBrgb(129, 38, 164)
HSLhsl(283, 62%, 40%)
HSVhsv(283, 77%, 64%)
CMYKcmyk(21.3%, 76.8%, 0%, 35.7%)
CIE-LABlab(35.47, 56.78, -49.47)
CIE-LCHlch(35.47, 75.31, 318.93°)
OKLaboklab(46.91% 0.137 -0.1397)
OKLCHoklch(46.91% 0.196 314.5)
XYZxyz(16.4461, 8.7343, 35.9343)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126A4 #49A426
analogous
#4226A4 #8126A4 #A42688
triadic
#8126A4 #A48126 #26A481
tetradic
#8126A4 #A44226 #49A426 #2688A4
square
#8126A4 #A44226 #49A426 #2688A4
split-complementary
#8126A4 #88A426 #26A442
monochromatic
#330F41 #5A1A72 #8126A4 #A637D1 #BC68DC

Accessibility & contrast

On white

7.65
#8126A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8126A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8126A4
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126A4#FFFFFF#000000##FFFFFF
##8126A41.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#1E56A1
Tritanopia (blue-blind)
#7E4364
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8126a4;
/* rgb */ color: rgb(129, 38, 164);
/* oklch */ color: oklch(46.9% 0.196 314.5);
Tailwind
colors: {
  custom: {
    50: '#aa6bc0',
    500: '#8126a4',
    950: '#000000',
  },
}
SCSS
$custom: #8126a4;
$custom-light: #aa6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8126a4",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 283.333,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.19569,
    "h": 314.5
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

primary
#8126A4
secondary
#7EC264
accent
#E54270
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8126A4

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

Preview Lab → · Contrast checker → · Palette generator →

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