#8A8DEC
Closest named color: Perrywinkle (#8F8CE7). oklch(68.2% 0.139 280.7), rgb(138, 141, 236).
Aa
Black text reads best on this color (7.10:1).
About this color
#8A8DEC is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.139 and its hue 281°. 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.10:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.139) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.10:1 |
| White text | 2.95:1 |
Values
| HEX | #8A8DEC |
| RGB | rgb(138, 141, 236) |
| HSL | hsl(238, 72%, 73%) |
| OKLCH | oklch(68.2% 0.139 280.7) |
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 #8A8DEC | 2.95:1 | Fails | Lc -61.3 | Content text, not long reading |
| Black text on #8A8DEC | 7.10:1 | AAA | Lc 48.1 | Large or bold text, headings |
| #8A8DEC text on white | 2.95:1 | Fails | Lc 56.0 | Large or bold text, headings |
| #8A8DEC text on black | 7.10:1 | AAA | Lc -45.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
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E6E8FB
oklch(93.5% 0.026 281.1)
-
Step 200
200
#D3D6F9
oklch(88.5% 0.048 281.5)
-
Step 300
300
#B6BBF8
oklch(81% 0.086 280.6)
-
Step 400
400 (this color)
#8A8DEC
oklch(68.2% 0.139 280.7)
-
Step 500
500
#7977F0
oklch(63% 0.177 280.8)
-
Step 600
600
#645CDF
oklch(55.5% 0.193 280.8)
-
Step 700
700
#534BC2
oklch(49.1% 0.18 280.5)
-
Step 800
800
#443E9D
oklch(42.7% 0.149 280.8)
-
Step 900
900
#38367C
oklch(37.6% 0.115 280.6)
-
Step 950
950
#212049
oklch(26.9% 0.074 281.3)
#8A8DEC 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) | #6B9AF0 | 0.046 |
| Deuteranopia (no green cones) | #6593EA | 0.046 |
| Tritanopia (no blue cones) | #6CA0B1 | 0.121 |
| Achromatopsia (no color) | #969696 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A8DEC
#8A8DEC
oklch(68.2% 0.139 280.7)
- #AC9A11
#AC9A11
oklch(68.1% 0.138 100.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 #8A8DEC, 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.024
- Periwinkle Blue #8F99FB ΔE 0.036
- Periwinkle #8E82FE ΔE 0.042
- Cornflower Blue #6495ED ΔE 0.048
- Soft Blue #6488EA ΔE 0.052
- Medium Purple #9370DB ΔE 0.071
- Chefchaouen Blue #4895EF ΔE 0.071
Use #8A8DEC 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.