#7A6FE5#7A6FE5
#7A6FE5 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.0% C 0.173 H 284.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7A6FE5 |
|---|---|
| RGB | rgb(122, 111, 229) |
| HSL | hsl(246, 69%, 67%) |
| HSV | hsv(246, 52%, 90%) |
| CMYK | cmyk(46.7%, 51.5%, 0%, 10.2%) |
| CIE-LAB | lab(53.13, 34.13, -58.79) |
| CIE-LCH | lch(53.13, 67.98, 300.14°) |
| OKLab | oklab(60.97% 0.0425 -0.1674) |
| OKLCH | oklch(60.97% 0.173 284.3) |
| XYZ | xyz(27.8492, 21.1623, 76.7309) |
| Luminance | 0.2116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.42
Cornflower
#6A79F7
ΔE00 5.30
Mediumpurple
#9370DB
ΔE00 5.56
Dark Periwinkle
#665FD1
ΔE00 6.67
Periwinkle (survey)
#8E82FE
ΔE00 6.96
Light Indigo
#6D5ACF
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A6FE5 #DAE56F
analogous
#6F9FE5 #7A6FE5 #B56FE5
triadic
#7A6FE5 #E57A6F #6FE57A
tetradic
#7A6FE5 #E56F9F #DAE56F #6FE5B5
square
#7A6FE5 #E56F9F #DAE56F #6FE5B5
split-complementary
#7A6FE5 #E5B56F #9FE56F
monochromatic
#2F21B8 #4A3BDC #7A6FE5 #AAA3EE #DAD7F8
Accessibility & contrast
On white
4.01
#7A6FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#7A6FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A6FE5
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A6FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A6FE5 | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3682E9
Deuteranopia (green-blind)
#307BE2
Tritanopia (blue-blind)
#56899F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7a6fe5; /* rgb */ color: rgb(122, 111, 229); /* oklch */ color: oklch(61.0% 0.173 284.3);
Tailwind
colors: {
custom: {
50: '#a798ee',
500: '#7a6fe5',
950: '#000000',
},
}SCSS
$custom: #7a6fe5; $custom-light: #a798ee; $custom-dark: #000000;
JSON
{
"hex": "#7a6fe5",
"rgb": {
"r": 122,
"g": 111,
"b": 229
},
"hsl": {
"h": 245.593,
"s": 69.412,
"l": 66.667
},
"oklch": {
"l": 0.60967,
"c": 0.17274,
"h": 284.3
},
"luminance": 0.21164
}Semantic roles & 50–950 ramp
primary
#7A6FE5
secondary
#E7EBC5
accent
#D114C0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84