#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 |
|---|---|
| RGB | rgb(129, 38, 176) |
| HSL | hsl(280, 64%, 42%) |
| HSV | hsv(280, 78%, 69%) |
| CMYK | cmyk(26.7%, 78.4%, 0%, 31%) |
| CIE-LAB | lab(36.34, 59.27, -55.24) |
| CIE-LCH | lch(36.34, 81.02, 317.01°) |
| OKLab | oklab(47.8% 0.1348 -0.1566) |
| OKLCH | oklch(47.8% 0.207 310.7) |
| XYZ | xyz(17.5813, 9.1884, 41.9133) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.43
Darkviolet
#9400D3
ΔE00 5.21
Rebeccapurple
#663399
ΔE00 5.65
Darkorchid
#9932CC
ΔE00 6.38
Purply
#983FB2
ΔE00 7.05
Blueviolet
#8A2BE2
ΔE00 7.32
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 |
|---|---|---|---|---|
| ##8126B0 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.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