#8C4EB7
Closest named color: Purply (#983FB2). oklch(54.4% 0.165 309.2), rgb(140, 78, 183).
Aa
White text reads best on this color (5.40:1).
About this color
#8C4EB7 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.165 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.035 away. White text reads best on it, at 5.40:1.
| Hue family | Purples |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.165) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.88:1 |
| White text | 5.40:1 |
Values
| HEX | #8C4EB7 |
| RGB | rgb(140, 78, 183) |
| HSL | hsl(275, 42%, 51%) |
| OKLCH | oklch(54.4% 0.165 309.2) |
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 #8C4EB7 | 5.40:1 | AA | Lc -81.8 | Fine for body text |
| Black text on #8C4EB7 | 3.88:1 | AA large text | Lc 27.6 | Dividers and decoration only |
| #8C4EB7 text on white | 5.40:1 | AA | Lc 76.5 | Fine for body text |
| #8C4EB7 text on black | 3.88:1 | AA large text | Lc -25.2 | 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
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#EEE6F5
oklch(93.6% 0.022 309.6)
-
Step 200
200
#E1D2EE
oklch(88.4% 0.041 309.4)
-
Step 300
300
#CFB4E6
oklch(80.9% 0.075 309.2)
-
Step 400
400
#B68BD9
oklch(70.6% 0.12 308.9)
-
Step 500
500
#A56CCE
oklch(63.1% 0.152 309.5)
-
Step 600
600 (this color)
#8C4EB7
oklch(54.4% 0.165 309.2)
-
Step 700
700
#7A42A1
oklch(49.1% 0.153 309.1)
-
Step 800
800
#633783
oklch(42.7% 0.127 308.7)
-
Step 900
900
#513069
oklch(37.7% 0.1 309.1)
-
Step 950
950
#2F1D3D
oklch(27% 0.062 308.8)
#8C4EB7 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) | #2A67BA | 0.140 |
| Deuteranopia (no green cones) | #426BB4 | 0.124 |
| Tritanopia (no blue cones) | #86617B | 0.116 |
| Achromatopsia (no color) | #6A6A6A | 0.167 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8C4EB7
#8C4EB7
oklch(54.4% 0.165 309.2)
- #547F00
#547F00
oklch(54.4% 0.145 129.3)
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 #8C4EB7, closest first.
No curated palette has a color within ΔE 0.04 of #8C4EB7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.035
- Deep Lavender #8D5EB7 ΔE 0.037
- Amethyst #9B5FC0 ΔE 0.050
- Dark Orchid #9932CC ΔE 0.062
- Light Indigo #6D5ACF ΔE 0.067
- Slate Blue #6A5ACD ΔE 0.069
- Purpley #8756E4 ΔE 0.070
- Iris #6258C4 ΔE 0.075
Use #8C4EB7 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.