#A7AFF2#A7AFF2
#A7AFF2 is a light, moderate blue. Relative luminance 0.453; OKLCH L 77.2% C 0.096 H 278.6°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AFF2 |
|---|---|
| RGB | rgb(167, 175, 242) |
| HSL | hsl(234, 74%, 80%) |
| HSV | hsv(234, 31%, 95%) |
| CMYK | cmyk(31%, 27.7%, 0%, 5.1%) |
| CIE-LAB | lab(73.08, 12.23, -34.28) |
| CIE-LCH | lch(73.08, 36.39, 289.64°) |
| OKLab | oklab(77.24% 0.0144 -0.095) |
| OKLCH | oklch(77.24% 0.096 278.6) |
| XYZ | xyz(47.2889, 45.2848, 90.2365) |
| Luminance | 0.4529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Pastel Blue
#A2BFFE
ΔE00 6.13
Light Periwinkle
#C1C6FC
ΔE00 6.53
Periwinkle Blue
#8F99FB
ΔE00 7.27
Periwinkle
#CCCCFF
ΔE00 8.80
Lightsteelblue
#B0C4DE
ΔE00 9.00
Lavender
#B39DDB
ΔE00 9.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AFF2 #F2EAA7
analogous
#A7D4F2 #A7AFF2 #C4A7F2
triadic
#A7AFF2 #F2A7AF #AFF2A7
tetradic
#A7AFF2 #F2A7D4 #F2EAA7 #A7F2C4
square
#A7AFF2 #F2A7D4 #F2EAA7 #A7F2C4
split-complementary
#A7AFF2 #F2C4A7 #D4F2A7
monochromatic
#3C4EE2 #727FEA #A7AFF2 #DCDFFA #E4E7FB
Accessibility & contrast
On white
2.09
#A7AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.06
#A7AFF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AFF2
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AFF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AFF2 | 1.00 | 2.09 | 10.06 | 10.06 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9BB6F5
Deuteranopia (green-blind)
#97B1F0
Tritanopia (blue-blind)
#93BBC7
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #a7aff2; /* rgb */ color: rgb(167, 175, 242); /* oklch */ color: oklch(77.2% 0.096 278.6);
Tailwind
colors: {
custom: {
50: '#c3c6f6',
500: '#a7aff2',
950: '#000000',
},
}SCSS
$custom: #a7aff2; $custom-light: #c3c6f6; $custom-dark: #000000;
JSON
{
"hex": "#a7aff2",
"rgb": {
"r": 167,
"g": 175,
"b": 242
},
"hsl": {
"h": 233.6,
"s": 74.257,
"l": 80.196
},
"oklch": {
"l": 0.77243,
"c": 0.09614,
"h": 278.6
},
"luminance": 0.45286
}Semantic roles & 50–950 ramp
primary
#A7AFF2
secondary
#F3F0D8
accent
#C10FD6
background
#FCFCFF
surface
#F8F8FE
border
#D1D1D6
text
#131317
muted
#828285