#8126B9#8126B9

#8126B9 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.215 H 308.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8126B9
RGBrgb(129, 38, 185)
HSLhsl(277, 66%, 44%)
HSVhsv(277, 79%, 73%)
CMYKcmyk(30.3%, 79.5%, 0%, 27.5%)
CIE-LABlab(37.03, 61.18, -59.45)
CIE-LCHlch(37.03, 85.31, 315.82°)
OKLaboklab(48.5% 0.1328 -0.169)
OKLCHoklch(48.5% 0.215 308.1)
XYZxyz(18.5015, 9.5564, 46.7594)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126B9 #5EB926
analogous
#3726B9 #8126B9 #B926A7
triadic
#8126B9 #B98126 #26B981
tetradic
#8126B9 #B93726 #5EB926 #26A7B9
square
#8126B9 #B93726 #5EB926 #26A7B9
split-complementary
#8126B9 #A7B926 #26B937
monochromatic
#3A1153 #5E1C86 #8126B9 #A044D9 #BA76E3

Accessibility & contrast

On white

7.21
#8126B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8126B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8126B9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126B9#FFFFFF#000000##FFFFFF
##8126B91.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#784C70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8126b9;
/* rgb */ color: rgb(129, 38, 185);
/* oklch */ color: oklch(48.5% 0.215 308.1);
Tailwind
colors: {
  custom: {
    50: '#ab6ccf',
    500: '#8126b9',
    950: '#000000',
  },
}
SCSS
$custom: #8126b9;
$custom-light: #ab6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8126b9",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 277.143,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48499,
    "c": 0.21491,
    "h": 308.1
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#8126B9
secondary
#93CA70
accent
#E93F80
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8126B9

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

Preview Lab → · Contrast checker → · Palette generator →

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