#8A8DFB#8A8DFB
#8A8DFB is a light, vivid blue. Relative luminance 0.314; OKLCH L 69.0% C 0.159 H 280.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8DFB |
|---|---|
| RGB | rgb(138, 141, 251) |
| HSL | hsl(238, 93%, 76%) |
| HSV | hsv(238, 45%, 98%) |
| CMYK | cmyk(45%, 43.8%, 0%, 1.6%) |
| CIE-LAB | lab(62.86, 26.53, -55.38) |
| CIE-LCH | lch(62.86, 61.41, 295.60°) |
| OKLab | oklab(69.01% 0.0282 -0.1568) |
| OKLCH | oklch(69.01% 0.159 280.2) |
| XYZ | xyz(37.4135, 31.4162, 95.3407) |
| Luminance | 0.3142 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 1.65
Perrywinkle
#8F8CE7
ΔE00 3.36
Periwinkle Blue
#8F99FB
ΔE00 3.46
Periwinkle (survey)
#8E82FE
ΔE00 3.65
Cornflower
#6A79F7
ΔE00 7.11
Soft Blue
#6488EA
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8DFB #FBF88A
analogous
#8AC6FB #8A8DFB #C08AFB
triadic
#8A8DFB #FB8A8D #8DFB8A
tetradic
#8A8DFB #FB8AC6 #FBF88A #8AFBC0
square
#8A8DFB #FB8AC6 #FBF88A #8AFBC0
split-complementary
#8A8DFB #FBC08A #C6FB8A
monochromatic
#141AF7 #4F53F9 #8A8DFB #C5C7FD #E1E2FE
Accessibility & contrast
On white
2.88
#8A8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#8A8DFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A8DFB
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8DFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8DFB | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#5A94F9
Tritanopia (blue-blind)
#64A4B8
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #8a8dfb; /* rgb */ color: rgb(138, 141, 251); /* oklch */ color: oklch(69.0% 0.159 280.2);
Tailwind
colors: {
custom: {
50: '#b1aefd',
500: '#8a8dfb',
950: '#000000',
},
}SCSS
$custom: #8a8dfb; $custom-light: #b1aefd; $custom-dark: #000000;
JSON
{
"hex": "#8a8dfb",
"rgb": {
"r": 138,
"g": 141,
"b": 251
},
"hsl": {
"h": 238.407,
"s": 93.388,
"l": 76.275
},
"oklch": {
"l": 0.69007,
"c": 0.15935,
"h": 280.2
},
"luminance": 0.31418
}Semantic roles & 50–950 ramp
primary
#8A8DFB
secondary
#F6F5D5
accent
#DF00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86