#7A76C7#7A76C7
#7A76C7 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.5% C 0.121 H 284.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7A76C7 |
|---|---|
| RGB | rgb(122, 118, 199) |
| HSL | hsl(243, 42%, 62%) |
| HSV | hsv(243, 41%, 78%) |
| CMYK | cmyk(38.7%, 40.7%, 0%, 22%) |
| CIE-LAB | lab(53.19, 21.33, -41.72) |
| CIE-LCH | lch(53.19, 46.86, 297.08°) |
| OKLab | oklab(60.47% 0.0302 -0.1174) |
| OKLCH | oklch(60.47% 0.121 284.4) |
| XYZ | xyz(24.8104, 21.2171, 56.8098) |
| Luminance | 0.2122 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumpurple
#9370DB
ΔE00 6.57
Mediumslateblue
#7B68EE
ΔE00 7.48
Cornflower
#6A79F7
ΔE00 7.96
Perrywinkle
#8F8CE7
ΔE00 8.15
Deep Lilac
#966EBD
ΔE00 8.44
Cornflower Blue
#5170D7
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A76C7 #C3C776
analogous
#769BC7 #7A76C7 #A376C7
triadic
#7A76C7 #C77A76 #76C77A
tetradic
#7A76C7 #C7769B #C3C776 #76C7A3
square
#7A76C7 #C7769B #C3C776 #76C7A3
split-complementary
#7A76C7 #C7A376 #9BC776
monochromatic
#3C388A #504BB5 #7A76C7 #A4A1D9 #CECDEB
Accessibility & contrast
On white
4.00
#7A76C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#7A76C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A76C7
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A76C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A76C7 | 1.00 | 4.00 | 5.24 | 5.24 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A82CA
Deuteranopia (green-blind)
#587DC5
Tritanopia (blue-blind)
#648695
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7a76c7; /* rgb */ color: rgb(122, 118, 199); /* oklch */ color: oklch(60.5% 0.121 284.4);
Tailwind
colors: {
custom: {
50: '#a39dd8',
500: '#7a76c7',
950: '#000000',
},
}SCSS
$custom: #7a76c7; $custom-light: #a39dd8; $custom-dark: #000000;
JSON
{
"hex": "#7a76c7",
"rgb": {
"r": 122,
"g": 118,
"b": 199
},
"hsl": {
"h": 242.963,
"s": 41.969,
"l": 62.157
},
"oklch": {
"l": 0.60471,
"c": 0.1212,
"h": 284.4
},
"luminance": 0.21218
}Semantic roles & 50–950 ramp
primary
#7A76C7
secondary
#DADBBE
accent
#B530AE
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0E14
muted
#7F7E83