#A2A7FF#A2A7FF
#A2A7FF is a light, vivid blue. Relative luminance 0.425; OKLCH L 75.9% C 0.126 H 280.5°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A7FF |
|---|---|
| RGB | rgb(162, 167, 255) |
| HSL | hsl(237, 100%, 82%) |
| HSV | hsv(237, 36%, 100%) |
| CMYK | cmyk(36.5%, 34.5%, 0%, 0%) |
| CIE-LAB | lab(71.24, 18.69, -44.21) |
| CIE-LCH | lch(71.24, 48.00, 292.92°) |
| OKLab | oklab(75.91% 0.0228 -0.1237) |
| OKLCH | oklch(75.91% 0.126 280.5) |
| XYZ | xyz(46.7639, 42.5371, 100.3349) |
| Luminance | 0.4254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 4.45
Pastel Blue
#A2BFFE
ΔE00 7.27
Perrywinkle
#8F8CE7
ΔE00 7.75
Lavender Blue
#8B88F8
ΔE00 8.69
Carolina Blue
#8AB8FE
ΔE00 9.39
Light Periwinkle
#C1C6FC
ΔE00 9.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A7FF #FFFAA2
analogous
#A2D6FF #A2A7FF #CCA2FF
triadic
#A2A7FF #FFA2A7 #A7FFA2
tetradic
#A2A7FF #FFA2D6 #FFFAA2 #A2FFCC
square
#A2A7FF #FFA2D6 #FFFAA2 #A2FFCC
split-complementary
#A2A7FF #FFCCA2 #D6FFA2
monochromatic
#2833FF #656DFF #A2A7FF #DFE1FF #E0E2FF
Accessibility & contrast
On white
2.21
#A2A7FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#A2A7FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A7FF
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A7FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A7FF | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#86ABFD
Tritanopia (blue-blind)
#88B8C7
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a2a7ff; /* rgb */ color: rgb(162, 167, 255); /* oklch */ color: oklch(75.9% 0.126 280.5);
Tailwind
colors: {
custom: {
50: '#c0c1ff',
500: '#a2a7ff',
950: '#000000',
},
}SCSS
$custom: #a2a7ff; $custom-light: #c0c1ff; $custom-dark: #000000;
JSON
{
"hex": "#a2a7ff",
"rgb": {
"r": 162,
"g": 167,
"b": 255
},
"hsl": {
"h": 236.774,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.75911,
"c": 0.12582,
"h": 280.5
},
"luminance": 0.42539
}Semantic roles & 50–950 ramp
primary
#A2A7FF
secondary
#F7F5D4
accent
#D900E6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#121218
muted
#818186