#7A77E2#7A77E2
#7A77E2 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.2% C 0.158 H 282.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7A77E2 |
|---|---|
| RGB | rgb(122, 119, 226) |
| HSL | hsl(242, 65%, 68%) |
| HSV | hsv(242, 47%, 89%) |
| CMYK | cmyk(46%, 47.3%, 0%, 11.4%) |
| CIE-LAB | lab(54.89, 28.51, -54.29) |
| CIE-LCH | lch(54.89, 61.32, 297.71°) |
| OKLab | oklab(62.23% 0.0329 -0.1541) |
| OKLCH | oklch(62.23% 0.158 282.1) |
| XYZ | xyz(28.3462, 22.8208, 74.8480) |
| Luminance | 0.2282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.17
Mediumslateblue
#7B68EE
ΔE00 4.94
Periwinkle (survey)
#8E82FE
ΔE00 5.66
Lavender Blue
#8B88F8
ΔE00 6.04
Mediumpurple
#9370DB
ΔE00 6.29
Perrywinkle
#8F8CE7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A77E2 #DFE277
analogous
#77AAE2 #7A77E2 #AF77E2
triadic
#7A77E2 #E27A77 #77E27A
tetradic
#7A77E2 #E277AA #DFE277 #77E2AF
square
#7A77E2 #E277AA #DFE277 #77E2AF
split-complementary
#7A77E2 #E2AF77 #AAE277
monochromatic
#2B27B7 #4945D7 #7A77E2 #ABA9ED #DDDCF8
Accessibility & contrast
On white
3.77
#7A77E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#7A77E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A77E2
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A77E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A77E2 | 1.00 | 3.77 | 5.56 | 5.56 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A87E6
Deuteranopia (green-blind)
#4380E0
Tritanopia (blue-blind)
#578EA2
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7a77e2; /* rgb */ color: rgb(122, 119, 226); /* oklch */ color: oklch(62.2% 0.158 282.1);
Tailwind
colors: {
custom: {
50: '#a69eec',
500: '#7a77e2',
950: '#000000',
},
}SCSS
$custom: #7a77e2; $custom-light: #a69eec; $custom-dark: #000000;
JSON
{
"hex": "#7a77e2",
"rgb": {
"r": 122,
"g": 119,
"b": 226
},
"hsl": {
"h": 241.682,
"s": 64.848,
"l": 67.647
},
"oklch": {
"l": 0.62232,
"c": 0.15763,
"h": 282.1
},
"luminance": 0.22822
}Semantic roles & 50–950 ramp
primary
#7A77E2
secondary
#EAEBCA
accent
#CD19C8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84