#7126C7#7126C7
#7126C7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.7% C 0.225 H 298.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7126C7 |
|---|---|
| RGB | rgb(113, 38, 199) |
| HSL | hsl(268, 68%, 46%) |
| HSV | hsv(268, 81%, 78%) |
| CMYK | cmyk(43.2%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(36.02, 61.88, -69.42) |
| CIE-LCH | lch(36.02, 92.99, 311.71°) |
| OKLab | oklab(47.69% 0.1059 -0.1988) |
| OKLCH | oklch(47.69% 0.225 298) |
| XYZ | xyz(17.8093, 9.0201, 54.8245) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.31
Burple
#6832E3
ΔE00 4.60
Purply Blue
#661AEE
ΔE00 4.88
Blue Violet
#5D06E9
ΔE00 5.15
Blurple
#5539CC
ΔE00 5.31
Bluey Purple
#6241C7
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7126C7 #7CC726
analogous
#262CC7 #7126C7 #C226C7
triadic
#7126C7 #C77126 #26C771
tetradic
#7126C7 #C7262C #7CC726 #26C7C2
square
#7126C7 #C7262C #7CC726 #26C7C2
split-complementary
#7126C7 #C7C226 #2CC726
monochromatic
#371260 #541C94 #7126C7 #904DDD #B081E7
Accessibility & contrast
On white
7.49
#7126C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#7126C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7126C7
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7126C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7126C7 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#5B5478
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7126c7; /* rgb */ color: rgb(113, 38, 199); /* oklch */ color: oklch(47.7% 0.225 298.0);
Tailwind
colors: {
custom: {
50: '#a26bd9',
500: '#7126c7',
950: '#000000',
},
}SCSS
$custom: #7126c7; $custom-light: #a26bd9; $custom-dark: #000000;
JSON
{
"hex": "#7126c7",
"rgb": {
"r": 113,
"g": 38,
"b": 199
},
"hsl": {
"h": 267.95,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.47693,
"c": 0.22525,
"h": 298
},
"luminance": 0.0902
}Semantic roles & 50–950 ramp
primary
#7126C7
secondary
#A7CF79
accent
#EB3D9A
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83