#A6A6FA#A6A6FA
#A6A6FA is a light, moderate blue. Relative luminance 0.423; OKLCH L 75.8% C 0.120 H 283.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A6FA |
|---|---|
| RGB | rgb(166, 166, 250) |
| HSL | hsl(240, 89%, 82%) |
| HSV | hsv(240, 34%, 98%) |
| CMYK | cmyk(33.6%, 33.6%, 0%, 2%) |
| CIE-LAB | lab(71.06, 19.02, -41.75) |
| CIE-LCH | lch(71.06, 45.88, 294.50°) |
| OKLab | oklab(75.78% 0.0273 -0.1165) |
| OKLCH | oklch(75.78% 0.12 283.2) |
| XYZ | xyz(46.6127, 42.2801, 96.1289) |
| Luminance | 0.4228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.17
Perrywinkle
#8F8CE7
ΔE00 7.49
Pastel Blue
#A2BFFE
ΔE00 8.18
Lavender
#B39DDB
ΔE00 8.50
Lavender Blue
#8B88F8
ΔE00 8.82
Pastel Purple
#CAA0FF
ΔE00 8.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A6FA #FAFAA6
analogous
#A6D0FA #A6A6FA #D0A6FA
triadic
#A6A6FA #FAA6A6 #A6FAA6
tetradic
#A6A6FA #FAA6D0 #FAFAA6 #A6FAD0
square
#A6A6FA #FAA6D0 #FAFAA6 #A6FAD0
split-complementary
#A6A6FA #FAD0A6 #D0FAA6
monochromatic
#3232F3 #6C6CF7 #A6A6FA #E0E0FD #E2E2FD
Accessibility & contrast
On white
2.22
#A6A6FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#A6A6FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A6FA
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A6FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A6FA | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CB1FD
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#90B6C5
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a6a6fa; /* rgb */ color: rgb(166, 166, 250); /* oklch */ color: oklch(75.8% 0.120 283.2);
Tailwind
colors: {
custom: {
50: '#c3c0fc',
500: '#a6a6fa',
950: '#000000',
},
}SCSS
$custom: #a6a6fa; $custom-light: #c3c0fc; $custom-dark: #000000;
JSON
{
"hex": "#a6a6fa",
"rgb": {
"r": 166,
"g": 166,
"b": 250
},
"hsl": {
"h": 240,
"s": 89.362,
"l": 81.569
},
"oklch": {
"l": 0.75778,
"c": 0.1197,
"h": 283.2
},
"luminance": 0.42282
}Semantic roles & 50–950 ramp
primary
#A6A6FA
secondary
#F5F5D6
accent
#E600E5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185