#9FA5FF
Closest named color: Periwinkle Blue (#8F99FB). oklch(75.3% 0.129 279.9), rgb(159, 165, 255).
Aa
Black text reads best on this color (9.30:1).
About this color
#9FA5FF is a medium-light, moderately saturated blue. In OKLCH its lightness is 75%, its chroma 0.129 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.039 away. Black text reads best on it, at 9.30:1.
| Hue family | Blues |
| Lightness | medium-light (75%) |
| Chroma | moderately saturated (0.129) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 9.30:1 |
| White text | 2.25:1 |
Values
| HEX | #9FA5FF |
| RGB | rgb(159, 165, 255) |
| HSL | hsl(236, 100%, 81%) |
| OKLCH | oklch(75.3% 0.129 279.9) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #9FA5FF | 2.25:1 | Fails | Lc -49.3 | Large or bold text, headings |
| Black text on #9FA5FF | 9.30:1 | AAA | Lc 59.5 | Large or bold text, headings |
| #9FA5FF text on white | 2.25:1 | Fails | Lc 44.4 | Non-text elements, placeholder text |
| #9FA5FF text on black | 9.30:1 | AAA | Lc -57.7 | Large or bold text, headings |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E6E9FA
oklch(93.7% 0.023 277.9)
-
Step 200
200
#D3D7F7
oklch(88.6% 0.044 279.8)
-
Step 300
300
#B6BBF4
oklch(80.8% 0.081 280.5)
-
Step 400
400 (this color)
#9FA5FF
oklch(75.3% 0.129 279.9)
-
Step 500
500
#787AEA
oklch(63.1% 0.165 279.8)
-
Step 600
600
#6360D8
oklch(55.6% 0.179 280)
-
Step 700
700
#524EBB
oklch(49% 0.167 279.9)
-
Step 800
800
#434198
oklch(42.8% 0.138 279.8)
-
Step 900
900
#383879
oklch(37.7% 0.108 279.9)
-
Step 950
950
#212147
oklch(27% 0.069 280.7)
#9FA5FF with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #87B0FF | 0.038 |
| Deuteranopia (no green cones) | #82A9FD | 0.037 |
| Tritanopia (no blue cones) | #83B6C6 | 0.113 |
| Achromatopsia (no color) | #ACACAC | 0.129 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9FA5FF
#9FA5FF
oklch(75.3% 0.129 279.9)
- #C2B043
#C2B043
oklch(75.2% 0.129 99.9)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #9FA5FF, closest first.
No curated palette has a color within ΔE 0.04 of #9FA5FF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.039
- Carolina Blue #8AB8FE ΔE 0.053
- Pastel Purple #CAA0FF ΔE 0.062
- Baby Purple #CA9BF7 ΔE 0.064
- Lilac #CEA2FD ΔE 0.067
- Pastel Blue #A2BFFE ΔE 0.069
- Perrywinkle #8F8CE7 ΔE 0.073
- Liliac #C48EFD ΔE 0.073
Use #9FA5FF in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.