#8CA7FD
Closest named color: Periwinkle Blue (#8F99FB). oklch(74.3% 0.128 269.8), rgb(140, 167, 253).
Aa
Black text reads best on this color (9.06:1).
About this color
#8CA7FD is a medium-light, moderately saturated blue. In OKLCH its lightness is 74%, its chroma 0.128 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.035 away. Black text reads best on it, at 9.06:1.
| Hue family | Blues |
| Lightness | medium-light (74%) |
| Chroma | moderately saturated (0.128) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 9.06:1 |
| White text | 2.31:1 |
Values
| HEX | #8CA7FD |
| RGB | rgb(140, 167, 253) |
| HSL | hsl(226, 97%, 77%) |
| OKLCH | oklch(74.3% 0.128 269.8) |
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 #8CA7FD | 2.31:1 | Fails | Lc -50.5 | Large or bold text, headings |
| Black text on #8CA7FD | 9.06:1 | AAA | Lc 58.4 | Large or bold text, headings |
| #8CA7FD text on white | 2.31:1 | Fails | Lc 45.6 | Large or bold text, headings |
| #8CA7FD text on black | 9.06:1 | AAA | Lc -56.5 | 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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E4EAFA
oklch(93.7% 0.023 269.4)
-
Step 200
200
#CDD8F8
oklch(88.4% 0.046 270.4)
-
Step 300
300
#ACBFF5
oklch(80.9% 0.079 269.5)
-
Step 400
400 (this color)
#8CA7FD
oklch(74.3% 0.128 269.8)
-
Step 500
500
#6380EC
oklch(63% 0.165 269.9)
-
Step 600
600
#4C67DA
oklch(55.6% 0.178 269.8)
-
Step 700
700
#3E55BD
oklch(49.2% 0.165 269.9)
-
Step 800
800
#334699
oklch(42.7% 0.137 270)
-
Step 900
900
#2C3C7A
oklch(37.8% 0.107 269.8)
-
Step 950
950
#1A2347
oklch(26.9% 0.068 270.7)
#8CA7FD 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) | #88AFFF | 0.020 |
| Deuteranopia (no green cones) | #7DA6FB | 0.019 |
| Tritanopia (no blue cones) | #63B9C6 | 0.116 |
| Achromatopsia (no color) | #AAAAAA | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8CA7FD
#8CA7FD
oklch(74.3% 0.128 269.8)
- #CBA73E
#CBA73E
oklch(74.2% 0.128 89.7)
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 #8CA7FD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.035
- Carolina Blue #8AB8FE ΔE 0.044
- Perrywinkle #8F8CE7 ΔE 0.070
- Pastel Blue #A2BFFE ΔE 0.072
- Cornflower Blue #6495ED ΔE 0.072
- Lavender Blue #8B88F8 ΔE 0.078
- Pastel Purple #CAA0FF ΔE 0.086
- Baby Purple #CA9BF7 ΔE 0.088
Use #8CA7FD 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.