#A6A7FE#A6A7FE
#A6A7FE is a light, vivid blue. Relative luminance 0.429; OKLCH L 76.2% C 0.124 H 282.5°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A7FE |
|---|---|
| RGB | rgb(166, 167, 254) |
| HSL | hsl(239, 98%, 82%) |
| HSV | hsv(239, 35%, 100%) |
| CMYK | cmyk(34.6%, 34.3%, 0%, 0.4%) |
| CIE-LAB | lab(71.49, 19.49, -43.26) |
| CIE-LCH | lch(71.49, 47.45, 294.25°) |
| OKLab | oklab(76.16% 0.0269 -0.1209) |
| OKLCH | oklch(76.16% 0.124 282.5) |
| XYZ | xyz(47.4290, 42.8986, 99.5280) |
| Luminance | 0.4290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.06
Perrywinkle
#8F8CE7
ΔE00 7.77
Pastel Blue
#A2BFFE
ΔE00 7.81
Lavender Blue
#8B88F8
ΔE00 8.89
Light Periwinkle
#C1C6FC
ΔE00 9.04
Pastel Purple
#CAA0FF
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A7FE #FEFDA6
analogous
#A6D3FE #A6A7FE #D1A6FE
triadic
#A6A7FE #FEA6A7 #A7FEA6
tetradic
#A6A7FE #FEA6D3 #FEFDA6 #A6FED1
square
#A6A7FE #FEA6D3 #FEFDA6 #A6FED1
split-complementary
#A6A7FE #FED1A6 #D3FEA6
monochromatic
#2D2FFD #696BFD #A6A7FE #E1E1FF #E1E1FF
Accessibility & contrast
On white
2.19
#A6A7FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#A6A7FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A7FE
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A7FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A7FE | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#8EB7C7
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a6a7fe; /* rgb */ color: rgb(166, 167, 254); /* oklch */ color: oklch(76.2% 0.124 282.5);
Tailwind
colors: {
custom: {
50: '#c3c1ff',
500: '#a6a7fe',
950: '#000000',
},
}SCSS
$custom: #a6a7fe; $custom-light: #c3c1ff; $custom-dark: #000000;
JSON
{
"hex": "#a6a7fe",
"rgb": {
"r": 166,
"g": 167,
"b": 254
},
"hsl": {
"h": 239.318,
"s": 97.778,
"l": 82.353
},
"oklch": {
"l": 0.76159,
"c": 0.12387,
"h": 282.5
},
"luminance": 0.429
}Semantic roles & 50–950 ramp
primary
#A6A7FE
secondary
#F7F7D4
accent
#E300E6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186