#A7A8FB#A7A8FB
#A7A8FB is a light, moderate blue. Relative luminance 0.432; OKLCH L 76.3% C 0.118 H 282.7°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A8FB |
|---|---|
| RGB | rgb(167, 168, 251) |
| HSL | hsl(239, 91%, 82%) |
| HSV | hsv(239, 33%, 98%) |
| CMYK | cmyk(33.5%, 33.1%, 0%, 1.6%) |
| CIE-LAB | lab(71.68, 18.43, -41.33) |
| CIE-LCH | lch(71.68, 45.25, 294.03°) |
| OKLab | oklab(76.28% 0.026 -0.1153) |
| OKLCH | oklch(76.28% 0.118 282.7) |
| XYZ | xyz(47.3468, 43.1843, 97.0889) |
| Luminance | 0.4319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.50
Pastel Blue
#A2BFFE
ΔE00 7.73
Perrywinkle
#8F8CE7
ΔE00 7.99
Light Periwinkle
#C1C6FC
ΔE00 8.55
Lavender
#B39DDB
ΔE00 8.69
Pastel Purple
#CAA0FF
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A8FB #FBFAA7
analogous
#A7D2FB #A7A8FB #D0A7FB
triadic
#A7A8FB #FBA7A8 #A8FBA7
tetradic
#A7A8FB #FBA7D2 #FBFAA7 #A7FBD0
square
#A7A8FB #FBA7D2 #FBFAA7 #A7FBD0
split-complementary
#A7A8FB #FBD0A7 #D2FBA7
monochromatic
#3234F6 #6C6EF8 #A7A8FB #E2E2FE #E2E2FE
Accessibility & contrast
On white
2.18
#A7A8FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#A7A8FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A8FB
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A8FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A8FB | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FB2FE
Deuteranopia (green-blind)
#8BADF9
Tritanopia (blue-blind)
#91B8C6
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a7a8fb; /* rgb */ color: rgb(167, 168, 251); /* oklch */ color: oklch(76.3% 0.118 282.7);
Tailwind
colors: {
custom: {
50: '#c3c1fd',
500: '#a7a8fb',
950: '#000000',
},
}SCSS
$custom: #a7a8fb; $custom-light: #c3c1fd; $custom-dark: #000000;
JSON
{
"hex": "#a7a8fb",
"rgb": {
"r": 167,
"g": 168,
"b": 251
},
"hsl": {
"h": 239.286,
"s": 91.304,
"l": 81.961
},
"oklch": {
"l": 0.76284,
"c": 0.1182,
"h": 282.7
},
"luminance": 0.43186
}Semantic roles & 50–950 ramp
primary
#A7A8FB
secondary
#F6F5D5
accent
#E300E6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185