#8126C5#8126C5
#8126C5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.5% C 0.226 H 305.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8126C5 |
|---|---|
| RGB | rgb(129, 38, 197) |
| HSL | hsl(274, 68%, 46%) |
| HSV | hsv(274, 81%, 77%) |
| CMYK | cmyk(34.5%, 80.7%, 0%, 22.7%) |
| CIE-LAB | lab(37.99, 63.78, -64.94) |
| CIE-LCH | lch(37.99, 91.02, 314.48°) |
| OKLab | oklab(49.47% 0.1296 -0.1851) |
| OKLCH | oklch(49.47% 0.226 305) |
| XYZ | xyz(19.8221, 10.0847, 53.7148) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.36
Blueviolet
#8A2BE2
ΔE00 4.45
Darkorchid
#9932CC
ΔE00 5.23
Violet (survey)
#9A0EEA
ΔE00 5.77
Burple
#6832E3
ΔE00 5.96
Purple Blue
#5D21D0
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8126C5 #6AC526
analogous
#3226C5 #8126C5 #C526B9
triadic
#8126C5 #C58126 #26C581
tetradic
#8126C5 #C53226 #6AC526 #26B9C5
square
#8126C5 #C53226 #6AC526 #26B9C5
split-complementary
#8126C5 #B9C526 #26C532
monochromatic
#3E125E #5F1C92 #8126C5 #9F4CDC #BA7FE6
Accessibility & contrast
On white
6.96
#8126C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#8126C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8126C5
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8126C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8126C5 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#745177
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8126c5; /* rgb */ color: rgb(129, 38, 197); /* oklch */ color: oklch(49.5% 0.226 305.0);
Tailwind
colors: {
custom: {
50: '#ac6cd8',
500: '#8126c5',
950: '#000000',
},
}SCSS
$custom: #8126c5; $custom-light: #ac6cd8; $custom-dark: #000000;
JSON
{
"hex": "#8126c5",
"rgb": {
"r": 129,
"g": 38,
"b": 197
},
"hsl": {
"h": 274.34,
"s": 67.66,
"l": 46.078
},
"oklch": {
"l": 0.49466,
"c": 0.22598,
"h": 305
},
"luminance": 0.10085
}Semantic roles & 50–950 ramp
primary
#8126C5
secondary
#9DCF78
accent
#EB3D87
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110815
muted
#807A83