#A098F9#A098F9
#A098F9 is a light, vivid blue. Relative luminance 0.368; OKLCH L 72.6% C 0.139 H 286.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A098F9 |
|---|---|
| RGB | rgb(160, 152, 249) |
| HSL | hsl(245, 89%, 79%) |
| HSV | hsv(245, 39%, 98%) |
| CMYK | cmyk(35.7%, 39%, 0%, 2.4%) |
| CIE-LAB | lab(67.10, 25.10, -47.46) |
| CIE-LCH | lch(67.10, 53.68, 297.87°) |
| OKLab | oklab(72.62% 0.0386 -0.1332) |
| OKLCH | oklch(72.62% 0.139 286.2) |
| XYZ | xyz(42.8196, 36.7683, 94.4451) |
| Luminance | 0.3677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.97
Perrywinkle
#8F8CE7
ΔE00 4.35
Lavender Blue
#8B88F8
ΔE00 5.36
Periwinkle (survey)
#8E82FE
ΔE00 6.63
Pastel Purple
#CAA0FF
ΔE00 8.61
Liliac
#C48EFD
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A098F9 #F1F998
analogous
#98C0F9 #A098F9 #D098F9
triadic
#A098F9 #F9A098 #98F9A0
tetradic
#A098F9 #F998C0 #F1F998 #98F9D0
square
#A098F9 #F998C0 #F1F998 #98F9D0
split-complementary
#A098F9 #F9D098 #C0F998
monochromatic
#3524F2 #6B5EF6 #A098F9 #D5D2FC #E4E2FD
Accessibility & contrast
On white
2.51
#A098F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#A098F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A098F9
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A098F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A098F9 | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A6FD
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#88AABD
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a098f9; /* rgb */ color: rgb(160, 152, 249); /* oklch */ color: oklch(72.6% 0.139 286.2);
Tailwind
colors: {
custom: {
50: '#bfb6fb',
500: '#a098f9',
950: '#000000',
},
}SCSS
$custom: #a098f9; $custom-light: #bfb6fb; $custom-dark: #000000;
JSON
{
"hex": "#a098f9",
"rgb": {
"r": 160,
"g": 152,
"b": 249
},
"hsl": {
"h": 244.948,
"s": 88.991,
"l": 78.627
},
"oklch": {
"l": 0.72616,
"c": 0.13869,
"h": 286.2
},
"luminance": 0.3677
}Semantic roles & 50–950 ramp
primary
#A098F9
secondary
#F3F5D6
accent
#E600D3
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121117
muted
#818085