#7A66E5#7A66E5
#7A66E5 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.4% C 0.185 H 286.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7A66E5 |
|---|---|
| RGB | rgb(122, 102, 229) |
| HSL | hsl(249, 71%, 65%) |
| HSV | hsv(249, 55%, 90%) |
| CMYK | cmyk(46.7%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(51.03, 39.41, -62.16) |
| CIE-LCH | lch(51.03, 73.61, 302.37°) |
| OKLab | oklab(59.41% 0.0527 -0.1774) |
| OKLCH | oklch(59.41% 0.185 286.6) |
| XYZ | xyz(26.9162, 19.2963, 76.4199) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.44
Dark Periwinkle
#665FD1
ΔE00 5.02
Purpley
#8756E4
ΔE00 5.04
Light Indigo
#6D5ACF
ΔE00 5.38
Slate Blue
#6A5ACD
ΔE00 5.78
Mediumpurple
#9370DB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A66E5 #D1E566
analogous
#6691E5 #7A66E5 #BA66E5
triadic
#7A66E5 #E57A66 #66E57A
tetradic
#7A66E5 #E56691 #D1E566 #66E5BA
square
#7A66E5 #E56691 #D1E566 #66E5BA
split-complementary
#7A66E5 #E5BA66 #91E566
monochromatic
#361EB2 #4D32DC #7A66E5 #A79AEE #D5CFF7
Accessibility & contrast
On white
4.32
#7A66E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#7A66E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A66E5
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A66E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A66E5 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#187DE9
Deuteranopia (green-blind)
#1476E2
Tritanopia (blue-blind)
#56829C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7a66e5; /* rgb */ color: rgb(122, 102, 229); /* oklch */ color: oklch(59.4% 0.185 286.6);
Tailwind
colors: {
custom: {
50: '#a792ee',
500: '#7a66e5',
950: '#000000',
},
}SCSS
$custom: #7a66e5; $custom-light: #a792ee; $custom-dark: #000000;
JSON
{
"hex": "#7a66e5",
"rgb": {
"r": 122,
"g": 102,
"b": 229
},
"hsl": {
"h": 249.449,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.59408,
"c": 0.18504,
"h": 286.6
},
"luminance": 0.19297
}Semantic roles & 50–950 ramp
primary
#7A66E5
secondary
#E2E9BE
accent
#D313B5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84