#8126B0#8126B0

#8126B0 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.207 H 310.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8126B0
RGBrgb(129, 38, 176)
HSLhsl(280, 64%, 42%)
HSVhsv(280, 78%, 69%)
CMYKcmyk(26.7%, 78.4%, 0%, 31%)
CIE-LABlab(36.34, 59.27, -55.24)
CIE-LCHlch(36.34, 81.02, 317.01°)
OKLaboklab(47.8% 0.1348 -0.1566)
OKLCHoklch(47.8% 0.207 310.7)
XYZxyz(17.5813, 9.1884, 41.9133)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8126B0 #55B026
analogous
#3C26B0 #8126B0 #B0269A
triadic
#8126B0 #B08126 #26B081
tetradic
#8126B0 #B03C26 #55B026 #269AB0
square
#8126B0 #B03C26 #55B026 #269AB0
split-complementary
#8126B0 #9AB026 #26B03C
monochromatic
#37104B #5C1B7E #8126B0 #A23ED5 #BA70E0

Accessibility & contrast

On white

7.40
#8126B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8126B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8126B0
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8126B0#FFFFFF#000000##FFFFFF
##8126B01.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#7B486B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8126b0;
/* rgb */ color: rgb(129, 38, 176);
/* oklch */ color: oklch(47.8% 0.207 310.7);
Tailwind
colors: {
  custom: {
    50: '#aa6bc8',
    500: '#8126b0',
    950: '#000000',
  },
}
SCSS
$custom: #8126b0;
$custom-light: #aa6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8126b0",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 279.565,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47799,
    "c": 0.20664,
    "h": 310.7
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#8126B0
secondary
#8AC76B
accent
#E74079
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8126B0

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

Preview Lab → · Contrast checker → · Palette generator →

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