#9126C3#9126C3
#9126C3 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.4% C 0.228 H 311.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9126C3 |
|---|---|
| RGB | rgb(145, 38, 195) |
| HSL | hsl(281, 67%, 46%) |
| HSV | hsv(281, 81%, 76%) |
| CMYK | cmyk(25.6%, 80.5%, 0%, 23.5%) |
| CIE-LAB | lab(40.16, 65.95, -60.14) |
| CIE-LCH | lch(40.16, 89.25, 317.63°) |
| OKLab | oklab(51.4% 0.1517 -0.1705) |
| OKLCH | oklch(51.4% 0.228 311.7) |
| XYZ | xyz(22.2186, 11.3467, 52.6389) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkviolet
#9400D3
ΔE00 2.79
Darkorchid
#9932CC
ΔE00 2.92
Blueviolet
#8A2BE2
ΔE00 4.73
Violet (survey)
#9A0EEA
ΔE00 5.06
Vibrant Purple
#AD03DE
ΔE00 5.27
Purply
#983FB2
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9126C3 #58C326
analogous
#4326C3 #9126C3 #C326A6
triadic
#9126C3 #C39126 #26C391
tetradic
#9126C3 #C34326 #58C326 #26A6C3
square
#9126C3 #C34326 #58C326 #26A6C3
split-complementary
#9126C3 #A6C326 #26C343
monochromatic
#45125D #6B1C90 #9126C3 #AD4ADC #C57EE6
Accessibility & contrast
On white
6.42
#9126C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#9126C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9126C3
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9126C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9126C3 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#8B4E76
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9126c3; /* rgb */ color: rgb(145, 38, 195); /* oklch */ color: oklch(51.4% 0.228 311.7);
Tailwind
colors: {
custom: {
50: '#b66ed6',
500: '#9126c3',
950: '#000000',
},
}SCSS
$custom: #9126c3; $custom-light: #b66ed6; $custom-dark: #000000;
JSON
{
"hex": "#9126c3",
"rgb": {
"r": 145,
"g": 38,
"b": 195
},
"hsl": {
"h": 280.892,
"s": 67.382,
"l": 45.686
},
"oklch": {
"l": 0.51404,
"c": 0.22824,
"h": 311.7
},
"luminance": 0.11346
}Semantic roles & 50–950 ramp
primary
#9126C3
secondary
#93CE77
accent
#EA3E75
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83