#7A6AFF#7A6AFF
#7A6AFF is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.9% C 0.213 H 283.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7A6AFF |
|---|---|
| RGB | rgb(122, 106, 255) |
| HSL | hsl(246, 100%, 71%) |
| HSV | hsv(246, 58%, 100%) |
| CMYK | cmyk(52.2%, 58.4%, 0%, 0%) |
| CIE-LAB | lab(53.67, 44.71, -72.41) |
| CIE-LCH | lch(53.67, 85.10, 301.69°) |
| OKLab | oklab(61.91% 0.0483 -0.2075) |
| OKLCH | oklch(61.91% 0.213 283.1) |
| XYZ | xyz(31.2246, 21.6639, 97.1246) |
| Luminance | 0.2167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.37
Cornflower
#6A79F7
ΔE00 5.74
Periwinkle (survey)
#8E82FE
ΔE00 7.18
Mediumpurple
#9370DB
ΔE00 7.34
Purpley
#8756E4
ΔE00 7.36
Dark Periwinkle
#665FD1
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A6AFF #EFFF6A
analogous
#6AA4FF #7A6AFF #C46AFF
triadic
#7A6AFF #FF7A6A #6AFF7A
tetradic
#7A6AFF #FF6AA4 #EFFF6A #6AFFC4
square
#7A6AFF #FF6AA4 #EFFF6A #6AFFC4
split-complementary
#7A6AFF #FFC46A #A4FF6A
monochromatic
#1A00EF #432DFF #7A6AFF #B1A7FF #E4E0FF
Accessibility & contrast
On white
3.94
#7A6AFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#7A6AFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A6AFF
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A6AFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A6AFF | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BFC
Tritanopia (blue-blind)
#428DAA
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7a6aff; /* rgb */ color: rgb(122, 106, 255); /* oklch */ color: oklch(61.9% 0.213 283.1);
Tailwind
colors: {
custom: {
50: '#aa95ff',
500: '#7a6aff',
950: '#000000',
},
}SCSS
$custom: #7a6aff; $custom-light: #aa95ff; $custom-dark: #000000;
JSON
{
"hex": "#7a6aff",
"rgb": {
"r": 122,
"g": 106,
"b": 255
},
"hsl": {
"h": 246.443,
"s": 100,
"l": 70.784
},
"oklch": {
"l": 0.61906,
"c": 0.21302,
"h": 283.1
},
"luminance": 0.21666
}Semantic roles & 50–950 ramp
primary
#7A6AFF
secondary
#F2F6CE
accent
#E600CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86