#8B4DEF
Closest named color: Purpley (#8756E4). oklch(58% 0.229 296), rgb(139, 77, 239).
Aa
White text reads best on this color (4.76:1).
About this color
#8B4DEF is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.229 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.024 away. White text reads best on it, at 4.76:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.229) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.40:1 |
| White text | 4.76:1 |
Values
| HEX | #8B4DEF |
| RGB | rgb(139, 77, 239) |
| HSL | hsl(263, 84%, 62%) |
| OKLCH | oklch(58% 0.229 296) |
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 #8B4DEF | 4.76:1 | AA | Lc -77.8 | Fine for body text |
| Black text on #8B4DEF | 4.40:1 | AA large text | Lc 31.7 | Non-text elements, placeholder text |
| #8B4DEF text on white | 4.76:1 | AA | Lc 72.4 | Content text, not long reading |
| #8B4DEF text on black | 4.40:1 | AA large text | Lc -29.3 | Dividers and decoration only |
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
#EBE6FC
oklch(93.5% 0.03 296.2)
-
Step 200
200
#DCD2FC
oklch(88.5% 0.058 296.1)
-
Step 300
300
#C6B3FC
oklch(80.9% 0.103 296)
-
Step 400
400
#AB88FB
oklch(70.8% 0.165 295.9)
-
Step 500
500
#9864F8
oklch(63.1% 0.212 296)
-
Step 600
600 (this color)
#8B4DEF
oklch(58% 0.229 296)
-
Step 700
700
#7034C8
oklch(49.1% 0.213 296)
-
Step 800
800
#5B2DA2
oklch(42.7% 0.177 296)
-
Step 900
900
#4A2B81
oklch(37.8% 0.138 295.6)
-
Step 950
950
#2B1A4B
oklch(26.9% 0.087 296)
#8B4DEF 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) | #0074F4 | 0.146 |
| Deuteranopia (no green cones) | #0070EC | 0.146 |
| Tritanopia (no blue cones) | #717498 | 0.177 |
| Achromatopsia (no color) | #737373 | 0.231 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8B4DEF
#8B4DEF
oklch(58% 0.229 296)
- #778300
#778300
oklch(58% 0.133 116)
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 #8B4DEF, closest first.
No curated palette has a color within ΔE 0.04 of #8B4DEF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.024
- Lighter Purple #A55AF4 ΔE 0.055
- Blue Violet #8A2BE2 ΔE 0.056
- Medium Slate Blue #7B68EE ΔE 0.058
- Light Indigo #6D5ACF ΔE 0.072
- Dark Orchid #9932CC ΔE 0.073
- Vivid Purple #9900FA ΔE 0.074
- Electric Purple #AA23FF ΔE 0.075
Use #8B4DEF 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.