#8FA7FE
Closest named color: Periwinkle Blue (#8F99FB). oklch(74.6% 0.129 271.3), rgb(143, 167, 254).
Aa
Black text reads best on this color (9.12:1).
About this color
#8FA7FE is a medium-light, moderately saturated blue. In OKLCH its lightness is 75%, its chroma 0.129 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.036 away. Black text reads best on it, at 9.12:1.
| Hue family | Blues |
| Lightness | medium-light (75%) |
| Chroma | moderately saturated (0.129) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 9.12:1 |
| White text | 2.30:1 |
Values
| HEX | #8FA7FE |
| RGB | rgb(143, 167, 254) |
| HSL | hsl(227, 98%, 78%) |
| OKLCH | oklch(74.6% 0.129 271.3) |
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 #8FA7FE | 2.30:1 | Fails | Lc -50.2 | Large or bold text, headings |
| Black text on #8FA7FE | 9.12:1 | AAA | Lc 58.7 | Large or bold text, headings |
| #8FA7FE text on white | 2.30:1 | Fails | Lc 45.3 | Large or bold text, headings |
| #8FA7FE text on black | 9.12:1 | AAA | Lc -56.8 | 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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4E9FA
oklch(93.5% 0.024 272.8)
-
Step 200
200
#CED8F8
oklch(88.5% 0.045 271.7)
-
Step 300
300
#ADBEF5
oklch(80.8% 0.08 271.2)
-
Step 400
400 (this color)
#8FA7FE
oklch(74.6% 0.129 271.3)
-
Step 500
500
#667FEC
oklch(63% 0.165 271.2)
-
Step 600
600
#5066DA
oklch(55.7% 0.178 271.4)
-
Step 700
700
#4154BD
oklch(49.1% 0.166 271.3)
-
Step 800
800
#354599
oklch(42.6% 0.138 271.2)
-
Step 900
900
#2E3B7A
oklch(37.7% 0.108 271.6)
-
Step 950
950
#1B2347
oklch(27% 0.068 271.8)
#8FA7FE 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) | #88B0FF | 0.024 |
| Deuteranopia (no green cones) | #7EA6FC | 0.021 |
| Tritanopia (no blue cones) | #68B9C7 | 0.115 |
| Achromatopsia (no color) | #ABABAB | 0.129 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8FA7FE
#8FA7FE
oklch(74.6% 0.129 271.3)
- #CBA93E
#CBA93E
oklch(74.6% 0.129 91)
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 #8FA7FE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.036
- Carolina Blue #8AB8FE ΔE 0.045
- Pastel Blue #A2BFFE ΔE 0.070
- Perrywinkle #8F8CE7 ΔE 0.071
- Cornflower Blue #6495ED ΔE 0.076
- Lavender Blue #8B88F8 ΔE 0.079
- Pastel Purple #CAA0FF ΔE 0.082
- Baby Purple #CA9BF7 ΔE 0.084
Use #8FA7FE 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.