#8A8EE2
Closest named color: Perrywinkle (#8F8CE7). oklch(67.8% 0.123 280.5), rgb(138, 142, 226).
Aa
Black text reads best on this color (7.04:1).
About this color
#8A8EE2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.123 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.012 away. Black text reads best on it, at 7.04:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.123) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.04:1 |
| White text | 2.97:1 |
Values
| HEX | #8A8EE2 |
| RGB | rgb(138, 142, 226) |
| HSL | hsl(237, 60%, 71%) |
| OKLCH | oklch(67.8% 0.123 280.5) |
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 #8A8EE2 | 2.97:1 | Fails | Lc -61.7 | Content text, not long reading |
| Black text on #8A8EE2 | 7.04:1 | AAA | Lc 47.7 | Large or bold text, headings |
| #8A8EE2 text on white | 2.97:1 | Fails | Lc 56.3 | Large or bold text, headings |
| #8A8EE2 text on black | 7.04:1 | AAA | Lc -45.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
#F4F5FC
oklch(97.1% 0.009 279.7)
-
Step 100
100
#E7E9F9
oklch(93.7% 0.022 280.3)
-
Step 200
200
#D3D7F6
oklch(88.6% 0.043 279.7)
-
Step 300
300
#B7BCF2
oklch(81% 0.076 280.4)
-
Step 400
400 (this color)
#8A8EE2
oklch(67.8% 0.123 280.5)
-
Step 500
500
#7A7BE5
oklch(63.2% 0.156 280.5)
-
Step 600
600
#6461D4
oklch(55.6% 0.172 280.4)
-
Step 700
700
#534FB7
oklch(49% 0.16 280.5)
-
Step 800
800
#444294
oklch(42.7% 0.131 280.4)
-
Step 900
900
#393976
oklch(37.8% 0.102 280.4)
-
Step 950
950
#212245
oklch(27.1% 0.064 280)
#8A8EE2 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) | #7299E5 | 0.038 |
| Deuteranopia (no green cones) | #6D92E0 | 0.037 |
| Tritanopia (no blue cones) | #709EAD | 0.108 |
| Achromatopsia (no color) | #959595 | 0.124 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A8EE2
#8A8EE2
oklch(67.8% 0.123 280.5)
- #A99930
#A99930
oklch(67.8% 0.123 100.4)
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 #8A8EE2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.012
- Lavender Blue #8B88F8 ΔE 0.039
- Periwinkle Blue #8F99FB ΔE 0.043
- Cornflower Blue #6495ED ΔE 0.048
- Soft Blue #6488EA ΔE 0.054
- Periwinkle #8E82FE ΔE 0.056
- Wisteria #A87DC2 ΔE 0.068
- Pale Purple #B790D4 ΔE 0.071
Use #8A8EE2 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.