#8A6AFF
Closest named color: Medium Slate Blue (#7B68EE). oklch(63.2% 0.212 288.7), rgb(138, 106, 255).
Aa
Black text reads best on this color (5.58:1).
About this color
#8A6AFF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.212 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.035 away. Black text reads best on it, at 5.58:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.212) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 5.58:1 |
| White text | 3.75:1 |
Values
| HEX | #8A6AFF |
| RGB | rgb(138, 106, 255) |
| HSL | hsl(253, 100%, 71%) |
| OKLCH | oklch(63.2% 0.212 288.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 #8A6AFF | 3.75:1 | AA large text | Lc -70.2 | Content text, not long reading |
| Black text on #8A6AFF | 5.58:1 | AA | Lc 39.3 | Non-text elements, placeholder text |
| #8A6AFF text on white | 3.75:1 | AA large text | Lc 64.7 | Content text, not long reading |
| #8A6AFF text on black | 5.58:1 | AA | Lc -36.9 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F5F4FF
oklch(97.1% 0.015 290.3)
-
Step 100
100
#E9E7FD
oklch(93.6% 0.03 290)
-
Step 200
200
#D7D4FE
oklch(88.6% 0.058 288.4)
-
Step 300
300
#BEB6FF
oklch(80.9% 0.102 288.9)
-
Step 400
400
#9E8CFF
oklch(70.6% 0.164 288.7)
-
Step 500
500 (this color)
#8A6AFF
oklch(63.2% 0.212 288.7)
-
Step 600
600
#764BEE
oklch(55.7% 0.23 288.7)
-
Step 700
700
#643ACF
oklch(49.1% 0.214 288.9)
-
Step 800
800
#5132A7
oklch(42.7% 0.176 288.8)
-
Step 900
900
#422E85
oklch(37.7% 0.139 288.5)
-
Step 950
950
#261C4E
oklch(27% 0.088 288.2)
#8A6AFF 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) | #0087FF | 0.123 |
| Deuteranopia (no green cones) | #0080FC | 0.121 |
| Tritanopia (no blue cones) | #658CAB | 0.174 |
| Achromatopsia (no color) | #848484 | 0.213 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A6AFF
#8A6AFF
oklch(63.2% 0.212 288.7)
- #918F00
#918F00
oklch(63.1% 0.137 108.8)
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 #8A6AFF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.035
- Lighter Purple #A55AF4 ΔE 0.055
- Cornflower #6A79F7 ΔE 0.055
- Periwinkle #8E82FE ΔE 0.056
- Purpley #8756E4 ΔE 0.057
- Medium Purple #9370DB ΔE 0.060
- Lavender Blue #8B88F8 ΔE 0.072
- Light Urple #B36FF6 ΔE 0.072
Use #8A6AFF 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.