#A6A5FA#A6A5FA
#A6A5FA is a light, vivid blue. Relative luminance 0.419; OKLCH L 75.6% C 0.121 H 283.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A5FA |
|---|---|
| RGB | rgb(166, 165, 250) |
| HSL | hsl(241, 89%, 81%) |
| HSV | hsv(241, 34%, 98%) |
| CMYK | cmyk(33.6%, 34%, 0%, 2%) |
| CIE-LAB | lab(70.81, 19.59, -42.14) |
| CIE-LCH | lch(70.81, 46.47, 294.93°) |
| OKLab | oklab(75.59% 0.0286 -0.1177) |
| OKLCH | oklch(75.59% 0.121 283.7) |
| XYZ | xyz(46.4316, 41.9180, 96.0685) |
| Luminance | 0.4192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.08
Perrywinkle
#8F8CE7
ΔE00 7.26
Lavender
#B39DDB
ΔE00 8.39
Pastel Blue
#A2BFFE
ΔE00 8.47
Lavender Blue
#8B88F8
ΔE00 8.59
Pastel Purple
#CAA0FF
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A5FA #F9FAA5
analogous
#A5CFFA #A6A5FA #D1A5FA
triadic
#A6A5FA #FAA6A5 #A5FAA6
tetradic
#A6A5FA #FAA5CF #F9FAA5 #A5FAD1
square
#A6A5FA #FAA5CF #F9FAA5 #A5FAD1
split-complementary
#A6A5FA #FAD1A5 #CFFAA5
monochromatic
#3331F4 #6D6BF7 #A6A5FA #DFDFFD #E2E2FD
Accessibility & contrast
On white
2.24
#A6A5FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#A6A5FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A5FA
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A5FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A5FA | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BB0FD
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#90B5C4
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a6a5fa; /* rgb */ color: rgb(166, 165, 250); /* oklch */ color: oklch(75.6% 0.121 283.7);
Tailwind
colors: {
custom: {
50: '#c3bffc',
500: '#a6a5fa',
950: '#000000',
},
}SCSS
$custom: #a6a5fa; $custom-light: #c3bffc; $custom-dark: #000000;
JSON
{
"hex": "#a6a5fa",
"rgb": {
"r": 166,
"g": 165,
"b": 250
},
"hsl": {
"h": 240.706,
"s": 89.474,
"l": 81.373
},
"oklch": {
"l": 0.75586,
"c": 0.1211,
"h": 283.7
},
"luminance": 0.41919
}Semantic roles & 50–950 ramp
primary
#A6A5FA
secondary
#F5F5D6
accent
#E600E3
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185