#9B8EF5#9B8EF5
#9B8EF5 is a light, vivid blue. Relative luminance 0.329; OKLCH L 70.2% C 0.148 H 287.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8EF5 |
|---|---|
| RGB | rgb(155, 142, 245) |
| HSL | hsl(248, 84%, 76%) |
| HSV | hsv(248, 42%, 96%) |
| CMYK | cmyk(36.7%, 42%, 0%, 3.9%) |
| CIE-LAB | lab(64.08, 28.46, -50.06) |
| CIE-LCH | lch(64.08, 57.58, 299.62°) |
| OKLab | oklab(70.16% 0.0451 -0.1409) |
| OKLCH | oklch(70.16% 0.148 287.7) |
| XYZ | xyz(39.6675, 32.9060, 90.6300) |
| Luminance | 0.3291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 2.85
Lavender Blue
#8B88F8
ΔE00 3.43
Periwinkle (survey)
#8E82FE
ΔE00 4.24
Periwinkle Blue
#8F99FB
ΔE00 5.09
Liliac
#C48EFD
ΔE00 8.29
Mediumpurple
#9370DB
ΔE00 9.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8EF5 #E8F58E
analogous
#8EB4F5 #9B8EF5 #CE8EF5
triadic
#9B8EF5 #F59B8E #8EF59B
tetradic
#9B8EF5 #F58EB4 #E8F58E #8EF5CE
square
#9B8EF5 #F58EB4 #E8F58E #8EF5CE
split-complementary
#9B8EF5 #F5CE8E #B4F58E
monochromatic
#371EEB #6956F0 #9B8EF5 #CDC6FA #E6E3FD
Accessibility & contrast
On white
2.77
#9B8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#9B8EF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B8EF5
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8EF5 | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9EF9
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#83A2B6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9b8ef5; /* rgb */ color: rgb(155, 142, 245); /* oklch */ color: oklch(70.2% 0.148 287.7);
Tailwind
colors: {
custom: {
50: '#bcaff9',
500: '#9b8ef5',
950: '#000000',
},
}SCSS
$custom: #9b8ef5; $custom-light: #bcaff9; $custom-dark: #000000;
JSON
{
"hex": "#9b8ef5",
"rgb": {
"r": 155,
"g": 142,
"b": 245
},
"hsl": {
"h": 247.573,
"s": 83.74,
"l": 75.882
},
"oklch": {
"l": 0.7016,
"c": 0.14794,
"h": 287.7
},
"luminance": 0.32907
}Semantic roles & 50–950 ramp
primary
#9B8EF5
secondary
#F1F4D7
accent
#E005C5
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85