#8A8FEB
Closest named color: Perrywinkle (#8F8CE7). oklch(68.5% 0.135 279.9), rgb(138, 143, 235).
Aa
Black text reads best on this color (7.20:1).
About this color
#8A8FEB is a medium-light, moderately saturated blue. In OKLCH its lightness is 69%, its chroma 0.135 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.010 away. Black text reads best on it, at 7.20:1.
| Hue family | Blues |
| Lightness | medium-light (69%) |
| Chroma | moderately saturated (0.135) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.20:1 |
| White text | 2.91:1 |
Values
| HEX | #8A8FEB |
| RGB | rgb(138, 143, 235) |
| HSL | hsl(237, 71%, 73%) |
| OKLCH | oklch(68.5% 0.135 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 #8A8FEB | 2.91:1 | Fails | Lc -60.7 | Content text, not long reading |
| Black text on #8A8FEB | 7.20:1 | AAA | Lc 48.7 | Large or bold text, headings |
| #8A8FEB text on white | 2.91:1 | Fails | Lc 55.4 | Large or bold text, headings |
| #8A8FEB text on black | 7.20:1 | AAA | Lc -46.4 | 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
#D2D6F8
oklch(88.4% 0.047 280.1)
-
Step 300
300
#B5BBF7
oklch(80.9% 0.085 279.9)
-
Step 400
400 (this color)
#8A8FEB
oklch(68.5% 0.135 279.9)
-
Step 500
500
#7879EE
oklch(63.2% 0.172 279.9)
-
Step 600
600
#625EDC
oklch(55.5% 0.187 279.8)
-
Step 700
700
#524DBF
oklch(49.1% 0.173 279.9)
-
Step 800
800
#43409B
oklch(42.8% 0.144 279.9)
-
Step 900
900
#38377B
oklch(37.7% 0.113 280.2)
-
Step 950
950
#202148
oklch(27% 0.071 279.4)
#8A8FEB 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) | #6F9BEF | 0.042 |
| Deuteranopia (no green cones) | #6994E9 | 0.041 |
| Tritanopia (no blue cones) | #6CA1B2 | 0.117 |
| Achromatopsia (no color) | #979797 | 0.135 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A8FEB
#8A8FEB
oklch(68.5% 0.135 279.9)
- #AE9B1E
#AE9B1E
oklch(68.6% 0.135 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 #8A8FEB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.010
- Lavender Blue #8B88F8 ΔE 0.029
- Periwinkle Blue #8F99FB ΔE 0.033
- Cornflower Blue #6495ED ΔE 0.046
- Periwinkle #8E82FE ΔE 0.047
- Soft Blue #6488EA ΔE 0.054
- Chefchaouen Blue #4895EF ΔE 0.071
- Pale Purple #B790D4 ΔE 0.074
Use #8A8FEB 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.