#9A8CFB#9A8CFB
#9A8CFB is a light, vivid blue. Relative luminance 0.326; OKLCH L 70.0% C 0.159 H 287.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8CFB |
|---|---|
| RGB | rgb(154, 140, 251) |
| HSL | hsl(248, 93%, 77%) |
| HSV | hsv(248, 44%, 98%) |
| CMYK | cmyk(38.6%, 44.2%, 0%, 1.6%) |
| CIE-LAB | lab(63.83, 30.96, -53.76) |
| CIE-LCH | lch(63.83, 62.04, 299.94°) |
| OKLab | oklab(70.04% 0.0474 -0.1517) |
| OKLCH | oklch(70.04% 0.159 287.3) |
| XYZ | xyz(40.1123, 32.5899, 95.4251) |
| Luminance | 0.3259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 2.88
Periwinkle (survey)
#8E82FE
ΔE00 3.34
Perrywinkle
#8F8CE7
ΔE00 3.43
Periwinkle Blue
#8F99FB
ΔE00 5.26
Liliac
#C48EFD
ΔE00 8.48
Mediumpurple
#9370DB
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8CFB #EDFB8C
analogous
#8CB6FB #9A8CFB #D28CFB
triadic
#9A8CFB #FB9A8C #8CFB9A
tetradic
#9A8CFB #FB8CB6 #EDFB8C #8CFBD2
square
#9A8CFB #FB8CB6 #EDFB8C #8CFBD2
split-complementary
#9A8CFB #FBD28C #B6FB8C
monochromatic
#3216F7 #6651F9 #9A8CFB #CEC7FD #E5E1FE
Accessibility & contrast
On white
2.79
#9A8CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#9A8CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9A8CFB
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8CFB | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#6398F8
Tritanopia (blue-blind)
#7FA2B7
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9a8cfb; /* rgb */ color: rgb(154, 140, 251); /* oklch */ color: oklch(70.0% 0.159 287.3);
Tailwind
colors: {
custom: {
50: '#bcadfd',
500: '#9a8cfb',
950: '#000000',
},
}SCSS
$custom: #9a8cfb; $custom-light: #bcadfd; $custom-dark: #000000;
JSON
{
"hex": "#9a8cfb",
"rgb": {
"r": 154,
"g": 140,
"b": 251
},
"hsl": {
"h": 247.568,
"s": 93.277,
"l": 76.667
},
"oklch": {
"l": 0.70044,
"c": 0.15896,
"h": 287.3
},
"luminance": 0.32591
}Semantic roles & 50–950 ramp
primary
#9A8CFB
secondary
#F2F6D5
accent
#E600C9
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86