#8A8FEC
Closest named color: Perrywinkle (#8F8CE7). oklch(68.6% 0.136 279.8), rgb(138, 143, 236).
Aa
Black text reads best on this color (7.22:1).
About this color
#8A8FEC is a medium-light, moderately saturated blue. In OKLCH its lightness is 69%, its chroma 0.136 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.011 away. Black text reads best on it, at 7.22:1.
| Hue family | Blues |
| Lightness | medium-light (69%) |
| Chroma | moderately saturated (0.136) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.22:1 |
| White text | 2.90:1 |
Values
| HEX | #8A8FEC |
| RGB | rgb(138, 143, 236) |
| HSL | hsl(237, 72%, 73%) |
| OKLCH | oklch(68.6% 0.136 279.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 #8A8FEC | 2.90:1 | Fails | Lc -60.6 | Content text, not long reading |
| Black text on #8A8FEC | 7.22:1 | AAA | Lc 48.7 | Large or bold text, headings |
| #8A8FEC text on white | 2.90:1 | Fails | Lc 55.3 | Large or bold text, headings |
| #8A8FEC text on black | 7.22:1 | AAA | Lc -46.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
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E6E8FB
oklch(93.5% 0.026 281.1)
-
Step 200
200
#D2D6F9
oklch(88.4% 0.048 280.2)
-
Step 300
300
#B5BBF7
oklch(80.9% 0.085 279.9)
-
Step 400
400 (this color)
#8A8FEC
oklch(68.6% 0.136 279.8)
-
Step 500
500
#7778EF
oklch(63% 0.174 279.8)
-
Step 600
600
#625EDD
oklch(55.6% 0.188 279.7)
-
Step 700
700
#524CC0
oklch(49% 0.176 280)
-
Step 800
800
#433F9B
oklch(42.6% 0.145 280.2)
-
Step 900
900
#38377C
oklch(37.8% 0.114 280.1)
-
Step 950
950
#202148
oklch(27% 0.071 279.4)
#8A8FEC 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) | #6E9BF0 | 0.042 |
| Deuteranopia (no green cones) | #6894EA | 0.042 |
| Tritanopia (no blue cones) | #6BA2B2 | 0.120 |
| Achromatopsia (no color) | #979797 | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A8FEC
#8A8FEC
oklch(68.6% 0.136 279.8)
- #AE9B1B
#AE9B1B
oklch(68.6% 0.136 100)
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 #8A8FEC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.011
- Lavender Blue #8B88F8 ΔE 0.027
- Periwinkle Blue #8F99FB ΔE 0.032
- Periwinkle #8E82FE ΔE 0.045
- Cornflower Blue #6495ED ΔE 0.046
- Soft Blue #6488EA ΔE 0.054
- Chefchaouen Blue #4895EF ΔE 0.071
- Pale Purple #B790D4 ΔE 0.075
Use #8A8FEC 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.