#8A98F0#8A98F0
#8A98F0 is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.5% C 0.130 H 275.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8A98F0 |
|---|---|
| RGB | rgb(138, 152, 240) |
| HSL | hsl(232, 77%, 74%) |
| HSV | hsv(232, 43%, 94%) |
| CMYK | cmyk(42.5%, 36.7%, 0%, 5.9%) |
| CIE-LAB | lab(65.08, 17.01, -45.82) |
| CIE-LCH | lch(65.08, 48.88, 290.37°) |
| OKLab | oklab(70.53% 0.0129 -0.1289) |
| OKLCH | oklch(70.53% 0.13 275.7) |
| XYZ | xyz(37.4329, 34.1492, 87.0402) |
| Luminance | 0.3415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 1.63
Perrywinkle
#8F8CE7
ΔE00 4.61
Lavender Blue
#8B88F8
ΔE00 5.30
Soft Blue
#6488EA
ΔE00 7.24
Cornflowerblue
#6495ED
ΔE00 7.31
Periwinkle (survey)
#8E82FE
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A98F0 #F0E28A
analogous
#8ACBF0 #8A98F0 #AF8AF0
triadic
#8A98F0 #F08A98 #98F08A
tetradic
#8A98F0 #F08ACB #F0E28A #8AF0AF
square
#8A98F0 #F08ACB #F0E28A #8AF0AF
split-complementary
#8A98F0 #F0AF8A #CBF08A
monochromatic
#1E38E2 #5468E9 #8A98F0 #C0C8F7 #E4E7FC
Accessibility & contrast
On white
2.68
#8A98F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#8A98F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A98F0
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A98F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A98F0 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A2F4
Deuteranopia (green-blind)
#719AEE
Tritanopia (blue-blind)
#68AAB9
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #8a98f0; /* rgb */ color: rgb(138, 152, 240); /* oklch */ color: oklch(70.5% 0.130 275.7);
Tailwind
colors: {
custom: {
50: '#b0b6f5',
500: '#8a98f0',
950: '#000000',
},
}SCSS
$custom: #8a98f0; $custom-light: #b0b6f5; $custom-dark: #000000;
JSON
{
"hex": "#8a98f0",
"rgb": {
"r": 138,
"g": 152,
"b": 240
},
"hsl": {
"h": 231.765,
"s": 77.273,
"l": 74.118
},
"oklch": {
"l": 0.70528,
"c": 0.12953,
"h": 275.7
},
"luminance": 0.34151
}Semantic roles & 50–950 ramp
primary
#8A98F0
secondary
#F3F0D8
accent
#BD0CDA
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085