#8126A5#8126A5

#8126A5 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.197 H 314.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8126A5
RGBrgb(129, 38, 165)
HSLhsl(283, 63%, 40%)
HSVhsv(283, 77%, 65%)
CMYKcmyk(21.8%, 77%, 0%, 35.3%)
CIE-LABlab(35.54, 56.98, -49.96)
CIE-LCHlch(35.54, 75.78, 318.76°)
OKLaboklab(46.98% 0.1369 -0.1411)
OKLCHoklch(46.98% 0.197 314.1)
XYZxyz(16.5367, 8.7705, 36.4118)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126A5 #4AA526
analogous
#4126A5 #8126A5 #A5268A
triadic
#8126A5 #A58126 #26A581
tetradic
#8126A5 #A54126 #4AA526 #268AA5
square
#8126A5 #A54126 #4AA526 #268AA5
split-complementary
#8126A5 #8AA526 #26A541
monochromatic
#330F42 #5A1B73 #8126A5 #A537D1 #BC69DC

Accessibility & contrast

On white

7.63
#8126A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8126A5
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126A5#FFFFFF#000000##FFFFFF
##8126A51.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#1C56A2
Tritanopia (blue-blind)
#7E4365
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8126a5;
/* rgb */ color: rgb(129, 38, 165);
/* oklch */ color: oklch(47.0% 0.197 314.1);
Tailwind
colors: {
  custom: {
    50: '#aa6bc0',
    500: '#8126a5',
    950: '#000000',
  },
}
SCSS
$custom: #8126a5;
$custom-light: #aa6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8126a5",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 282.992,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46978,
    "c": 0.19659,
    "h": 314.1
  },
  "luminance": 0.0877
}

Semantic roles & 50–950 ramp

primary
#8126A5
secondary
#7FC364
accent
#E64271
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8126A5

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

Preview Lab → · Contrast checker → · Palette generator →

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