#8A51F9
Closest named color: Purpley (#8756E4). oklch(59.2% 0.236 293.4), rgb(138, 81, 249).
Aa
Black text reads best on this color (4.62:1).
About this color
#8A51F9 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.236 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.033 away. Black text reads best on it, at 4.62:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.236) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.62:1 |
| White text | 4.54:1 |
Values
| HEX | #8A51F9 |
| RGB | rgb(138, 81, 249) |
| HSL | hsl(260, 93%, 65%) |
| OKLCH | oklch(59.2% 0.236 293.4) |
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 #8A51F9 | 4.54:1 | AA | Lc -76.3 | Fine for body text |
| Black text on #8A51F9 | 4.62:1 | AA | Lc 33.2 | Non-text elements, placeholder text |
| #8A51F9 text on white | 4.54:1 | AA | Lc 70.8 | Content text, not long reading |
| #8A51F9 text on black | 4.62:1 | AA | Lc -30.8 | 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 600.
-
Step 50
50
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#EAE6FD
oklch(93.5% 0.031 293.8)
-
Step 200
200
#DAD2FD
oklch(88.4% 0.059 293.7)
-
Step 300
300
#C3B4FF
oklch(80.9% 0.105 293.1)
-
Step 400
400
#A788FF
oklch(70.7% 0.17 293.6)
-
Step 500
500
#9464FD
oklch(63.1% 0.217 293.7)
-
Step 600
600 (this color)
#8A51F9
oklch(59.2% 0.236 293.4)
-
Step 700
700
#6C33CE
oklch(49% 0.22 293.2)
-
Step 800
800
#582DA6
oklch(42.7% 0.181 293.4)
-
Step 900
900
#482B84
oklch(37.8% 0.142 293.4)
-
Step 950
950
#2A1A4D
oklch(27% 0.09 294)
#8A51F9 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) | #0078FE | 0.140 |
| Deuteranopia (no green cones) | #0073F6 | 0.139 |
| Tritanopia (no blue cones) | #6A7B9F | 0.186 |
| Achromatopsia (no color) | #767676 | 0.237 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A51F9
#8A51F9
oklch(59.2% 0.236 293.4)
- #7E8500
#7E8500
oklch(59.1% 0.132 113.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 #8A51F9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.033
- Medium Slate Blue #7B68EE ΔE 0.053
- Lighter Purple #A55AF4 ΔE 0.054
- Blue Violet #8A2BE2 ΔE 0.069
- Electric Purple #AA23FF ΔE 0.077
- Vivid Purple #9900FA ΔE 0.080
- Light Indigo #6D5ACF ΔE 0.080
- Slate Blue #6A5ACD ΔE 0.085
Use #8A51F9 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.