#7A6BF7#7A6BF7
#7A6BF7 is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.5% C 0.202 H 283.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7A6BF7 |
|---|---|
| RGB | rgb(122, 107, 247) |
| HSL | hsl(246, 90%, 69%) |
| HSV | hsv(246, 57%, 97%) |
| CMYK | cmyk(50.6%, 56.7%, 0%, 3.1%) |
| CIE-LAB | lab(53.35, 41.77, -68.49) |
| CIE-LCH | lch(53.35, 80.22, 301.38°) |
| OKLab | oklab(61.5% 0.0474 -0.196) |
| OKLCH | oklch(61.5% 0.202 283.6) |
| XYZ | xyz(30.0672, 21.3668, 90.5175) |
| Luminance | 0.2137 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.58
Cornflower
#6A79F7
ΔE00 5.51
Mediumpurple
#9370DB
ΔE00 6.71
Periwinkle (survey)
#8E82FE
ΔE00 7.10
Purpley
#8756E4
ΔE00 7.11
Dark Periwinkle
#665FD1
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A6BF7 #E8F76B
analogous
#6BA2F7 #7A6BF7 #C06BF7
triadic
#7A6BF7 #F77A6B #6BF77A
tetradic
#7A6BF7 #F76BA2 #E8F76B #6BF7C0
square
#7A6BF7 #F76BA2 #E8F76B #6BF7C0
split-complementary
#7A6BF7 #F7C06B #A2F76B
monochromatic
#220CDC #4631F4 #7A6BF7 #AEA5FA #E2DFFD
Accessibility & contrast
On white
3.98
#7A6BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#7A6BF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A6BF7
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A6BF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A6BF7 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#498BA7
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7a6bf7; /* rgb */ color: rgb(122, 107, 247); /* oklch */ color: oklch(61.5% 0.202 283.6);
Tailwind
colors: {
custom: {
50: '#a996fb',
500: '#7a6bf7',
950: '#000000',
},
}SCSS
$custom: #7a6bf7; $custom-light: #a996fb; $custom-dark: #000000;
JSON
{
"hex": "#7a6bf7",
"rgb": {
"r": 122,
"g": 107,
"b": 247
},
"hsl": {
"h": 246.429,
"s": 89.744,
"l": 69.412
},
"oklch": {
"l": 0.61498,
"c": 0.2016,
"h": 283.6
},
"luminance": 0.21368
}Semantic roles & 50–950 ramp
primary
#7A6BF7
secondary
#EFF3CB
accent
#E600CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85