#9B8EF6#9B8EF6
#9B8EF6 is a light, vivid blue. Relative luminance 0.330; OKLCH L 70.2% C 0.149 H 287.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8EF6 |
|---|---|
| RGB | rgb(155, 142, 246) |
| HSL | hsl(248, 85%, 76%) |
| HSV | hsv(248, 42%, 96%) |
| CMYK | cmyk(37%, 42.3%, 0%, 3.5%) |
| CIE-LAB | lab(64.13, 28.73, -50.53) |
| CIE-LCH | lch(64.13, 58.12, 299.62°) |
| OKLab | oklab(70.21% 0.0453 -0.1423) |
| OKLCH | oklch(70.21% 0.149 287.6) |
| XYZ | xyz(39.8206, 32.9672, 91.4361) |
| Luminance | 0.3297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 2.93
Lavender Blue
#8B88F8
ΔE00 3.37
Periwinkle (survey)
#8E82FE
ΔE00 4.16
Periwinkle Blue
#8F99FB
ΔE00 5.05
Liliac
#C48EFD
ΔE00 8.31
Mediumpurple
#9370DB
ΔE00 9.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8EF6 #E9F68E
analogous
#8EB5F6 #9B8EF6 #CF8EF6
triadic
#9B8EF6 #F69B8E #8EF69B
tetradic
#9B8EF6 #F68EB5 #E9F68E #8EF6CF
square
#9B8EF6 #F68EB5 #E9F68E #8EF6CF
split-complementary
#9B8EF6 #F6CF8E #B5F68E
monochromatic
#371DED #6955F1 #9B8EF6 #CDC7FB #E6E3FD
Accessibility & contrast
On white
2.77
#9B8EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#9B8EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B8EF6
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8EF6 | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9EFA
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#83A2B6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9b8ef6; /* rgb */ color: rgb(155, 142, 246); /* oklch */ color: oklch(70.2% 0.149 287.6);
Tailwind
colors: {
custom: {
50: '#bcaff9',
500: '#9b8ef6',
950: '#000000',
},
}SCSS
$custom: #9b8ef6; $custom-light: #bcaff9; $custom-dark: #000000;
JSON
{
"hex": "#9b8ef6",
"rgb": {
"r": 155,
"g": 142,
"b": 246
},
"hsl": {
"h": 247.5,
"s": 85.246,
"l": 76.078
},
"oklch": {
"l": 0.70214,
"c": 0.14929,
"h": 287.6
},
"luminance": 0.32968
}Semantic roles & 50–950 ramp
primary
#9B8EF6
secondary
#F1F5D6
accent
#E204C6
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85