#9FA2FE#9FA2FE
#9FA2FE is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.7% C 0.132 H 281.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA2FE |
|---|---|
| RGB | rgb(159, 162, 254) |
| HSL | hsl(238, 98%, 81%) |
| HSV | hsv(238, 37%, 100%) |
| CMYK | cmyk(37.4%, 36.2%, 0%, 0.4%) |
| CIE-LAB | lab(69.73, 20.47, -46.05) |
| CIE-LCH | lch(69.73, 50.40, 293.97°) |
| OKLab | oklab(74.68% 0.0258 -0.1291) |
| OKLCH | oklch(74.68% 0.132 281.3) |
| XYZ | xyz(45.1027, 40.3657, 99.1616) |
| Luminance | 0.4037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.38
Perrywinkle
#8F8CE7
ΔE00 6.52
Lavender Blue
#8B88F8
ΔE00 7.37
Pastel Blue
#A2BFFE
ΔE00 8.42
Periwinkle (survey)
#8E82FE
ΔE00 8.98
Lavender
#B39DDB
ΔE00 9.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA2FE #FEFB9F
analogous
#9FD1FE #9FA2FE #CB9FFE
triadic
#9FA2FE #FE9FA2 #A2FE9F
tetradic
#9FA2FE #FE9FD1 #FEFB9F #9FFECB
square
#9FA2FE #FE9FD1 #FEFB9F #9FFECB
split-complementary
#9FA2FE #FECB9F #D1FE9F
monochromatic
#262DFD #6267FD #9FA2FE #DCDDFF #E1E2FF
Accessibility & contrast
On white
2.31
#9FA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#9FA2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA2FE
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA2FE | 1.00 | 2.31 | 9.07 | 9.07 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#7FA7FC
Tritanopia (blue-blind)
#84B4C4
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #9fa2fe; /* rgb */ color: rgb(159, 162, 254); /* oklch */ color: oklch(74.7% 0.132 281.3);
Tailwind
colors: {
custom: {
50: '#bebdff',
500: '#9fa2fe',
950: '#000000',
},
}SCSS
$custom: #9fa2fe; $custom-light: #bebdff; $custom-dark: #000000;
JSON
{
"hex": "#9fa2fe",
"rgb": {
"r": 159,
"g": 162,
"b": 254
},
"hsl": {
"h": 238.105,
"s": 97.938,
"l": 80.98
},
"oklch": {
"l": 0.74682,
"c": 0.13168,
"h": 281.3
},
"luminance": 0.40367
}Semantic roles & 50–950 ramp
primary
#9FA2FE
secondary
#F7F6D4
accent
#DE00E6
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121218
muted
#818186