#A8AFF2#A8AFF2
#A8AFF2 is a light, moderate blue. Relative luminance 0.454; OKLCH L 77.3% C 0.096 H 279.3°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AFF2 |
|---|---|
| RGB | rgb(168, 175, 242) |
| HSL | hsl(234, 74%, 80%) |
| HSV | hsv(234, 31%, 95%) |
| CMYK | cmyk(30.6%, 27.7%, 0%, 5.1%) |
| CIE-LAB | lab(73.15, 12.52, -34.16) |
| CIE-LCH | lch(73.15, 36.38, 290.12°) |
| OKLab | oklab(77.32% 0.0155 -0.0947) |
| OKLCH | oklch(77.32% 0.096 279.3) |
| XYZ | xyz(47.5011, 45.3942, 90.2464) |
| Luminance | 0.4540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Pastel Blue
#A2BFFE
ΔE00 6.33
Light Periwinkle
#C1C6FC
ΔE00 6.42
Periwinkle Blue
#8F99FB
ΔE00 7.40
Periwinkle
#CCCCFF
ΔE00 8.66
Lavender
#B39DDB
ΔE00 8.83
Lightsteelblue
#B0C4DE
ΔE00 9.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AFF2 #F2EBA8
analogous
#A8D4F2 #A8AFF2 #C6A8F2
triadic
#A8AFF2 #F2A8AF #AFF2A8
tetradic
#A8AFF2 #F2A8D4 #F2EBA8 #A8F2C6
square
#A8AFF2 #F2A8D4 #F2EBA8 #A8F2C6
split-complementary
#A8AFF2 #F2C6A8 #D4F2A8
monochromatic
#3E4DE2 #737EEA #A8AFF2 #DDE0FA #E4E7FB
Accessibility & contrast
On white
2.08
#A8AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#A8AFF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AFF2
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AFF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AFF2 | 1.00 | 2.08 | 10.08 | 10.08 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9BB6F5
Deuteranopia (green-blind)
#97B1F0
Tritanopia (blue-blind)
#95BBC7
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #a8aff2; /* rgb */ color: rgb(168, 175, 242); /* oklch */ color: oklch(77.3% 0.096 279.3);
Tailwind
colors: {
custom: {
50: '#c3c6f6',
500: '#a8aff2',
950: '#000000',
},
}SCSS
$custom: #a8aff2; $custom-light: #c3c6f6; $custom-dark: #000000;
JSON
{
"hex": "#a8aff2",
"rgb": {
"r": 168,
"g": 175,
"b": 242
},
"hsl": {
"h": 234.324,
"s": 74,
"l": 80.392
},
"oklch": {
"l": 0.77317,
"c": 0.09596,
"h": 279.3
},
"luminance": 0.45396
}Semantic roles & 50–950 ramp
primary
#A8AFF2
secondary
#F3F0D8
accent
#C30FD6
background
#FCFCFF
surface
#F8F8FE
border
#D1D1D6
text
#131317
muted
#828285