#A5A5F7#A5A5F7
#A5A5F7 is a light, moderate blue. Relative luminance 0.416; OKLCH L 75.4% C 0.117 H 283.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A5F7 |
|---|---|
| RGB | rgb(165, 165, 247) |
| HSL | hsl(240, 84%, 81%) |
| HSV | hsv(240, 33%, 97%) |
| CMYK | cmyk(33.2%, 33.2%, 0%, 3.1%) |
| CIE-LAB | lab(70.61, 18.55, -40.84) |
| CIE-LCH | lch(70.61, 44.85, 294.42°) |
| OKLab | oklab(75.37% 0.0268 -0.1139) |
| OKLCH | oklch(75.37% 0.117 283.2) |
| XYZ | xyz(45.7561, 41.6236, 93.6010) |
| Luminance | 0.4163 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.12
Perrywinkle
#8F8CE7
ΔE00 7.21
Lavender
#B39DDB
ΔE00 8.18
Pastel Blue
#A2BFFE
ΔE00 8.41
Lavender Blue
#8B88F8
ΔE00 8.67
Pastel Purple
#CAA0FF
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A5F7 #F7F7A5
analogous
#A5CEF7 #A5A5F7 #CEA5F7
triadic
#A5A5F7 #F7A5A5 #A5F7A5
tetradic
#A5A5F7 #F7A5CE #F7F7A5 #A5F7CE
square
#A5A5F7 #F7A5CE #F7F7A5 #A5F7CE
split-complementary
#A5A5F7 #F7CEA5 #CEF7A5
monochromatic
#3535ED #6D6DF2 #A5A5F7 #DDDDFC #E3E3FD
Accessibility & contrast
On white
2.25
#A5A5F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#A5A5F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A5F7
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A5F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A5F7 | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CAFFA
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#90B4C3
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a5a5f7; /* rgb */ color: rgb(165, 165, 247); /* oklch */ color: oklch(75.4% 0.117 283.2);
Tailwind
colors: {
custom: {
50: '#c2bffa',
500: '#a5a5f7',
950: '#000000',
},
}SCSS
$custom: #a5a5f7; $custom-light: #c2bffa; $custom-dark: #000000;
JSON
{
"hex": "#a5a5f7",
"rgb": {
"r": 165,
"g": 165,
"b": 247
},
"hsl": {
"h": 240,
"s": 83.673,
"l": 80.784
},
"oklch": {
"l": 0.75368,
"c": 0.11704,
"h": 283.2
},
"luminance": 0.41625
}Semantic roles & 50–950 ramp
primary
#A5A5F7
secondary
#F4F4D7
accent
#E005E0
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185