#8A8AEF#8A8AEF
#8A8AEF is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.8% C 0.147 H 281.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8AEF |
|---|---|
| RGB | rgb(138, 138, 239) |
| HSL | hsl(240, 76%, 74%) |
| HSV | hsv(240, 42%, 94%) |
| CMYK | cmyk(42.3%, 42.3%, 0%, 6.3%) |
| CIE-LAB | lab(61.49, 24.87, -50.94) |
| CIE-LCH | lch(61.49, 56.69, 296.02°) |
| OKLab | oklab(67.77% 0.0299 -0.1439) |
| OKLCH | oklch(67.77% 0.147 281.7) |
| XYZ | xyz(35.1451, 29.8107, 85.5468) |
| Luminance | 0.2981 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 1.48
Perrywinkle
#8F8CE7
ΔE00 1.85
Periwinkle (survey)
#8E82FE
ΔE00 3.49
Periwinkle Blue
#8F99FB
ΔE00 4.53
Cornflower
#6A79F7
ΔE00 6.87
Soft Blue
#6488EA
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8AEF #EFEF8A
analogous
#8ABDEF #8A8AEF #BD8AEF
triadic
#8A8AEF #EF8A8A #8AEF8A
tetradic
#8A8AEF #EF8ABD #EFEF8A #8AEFBD
square
#8A8AEF #EF8ABD #EFEF8A #8AEFBD
split-complementary
#8A8AEF #EFBD8A #BDEF8A
monochromatic
#1F1FE0 #5454E8 #8A8AEF #C0C0F6 #E4E4FB
Accessibility & contrast
On white
3.02
#8A8AEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#8A8AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8AEF
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8AEF | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#6A9EB1
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #8a8aef; /* rgb */ color: rgb(138, 138, 239); /* oklch */ color: oklch(67.8% 0.147 281.7);
Tailwind
colors: {
custom: {
50: '#b0acf5',
500: '#8a8aef',
950: '#000000',
},
}SCSS
$custom: #8a8aef; $custom-light: #b0acf5; $custom-dark: #000000;
JSON
{
"hex": "#8a8aef",
"rgb": {
"r": 138,
"g": 138,
"b": 239
},
"hsl": {
"h": 240,
"s": 75.94,
"l": 73.922
},
"oklch": {
"l": 0.67765,
"c": 0.14696,
"h": 281.7
},
"luminance": 0.29812
}Semantic roles & 50–950 ramp
primary
#8A8AEF
secondary
#F3F3D8
accent
#D80DD8
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85