#8F40AD
Closest named color: Purply (#983FB2). oklch(52.2% 0.177 315.5), rgb(143, 64, 173).
Aa
White text reads best on this color (5.99:1).
About this color
#8F40AD is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.177 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.018 away. White text reads best on it, at 5.99:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.177) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.50:1 |
| White text | 5.99:1 |
Values
| HEX | #8F40AD |
| RGB | rgb(143, 64, 173) |
| HSL | hsl(283, 46%, 46%) |
| OKLCH | oklch(52.2% 0.177 315.5) |
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 #8F40AD | 5.99:1 | AA | Lc -84.6 | Fine for body text |
| Black text on #8F40AD | 3.50:1 | AA large text | Lc 24.7 | Dividers and decoration only |
| #8F40AD text on white | 5.99:1 | AA | Lc 79.3 | Fine for body text |
| #8F40AD text on black | 3.50:1 | AA large text | Lc -22.5 | 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 700.
-
Step 50
50
#F8F3FB
oklch(97% 0.012 313.2)
-
Step 100
100
#F0E5F5
oklch(93.5% 0.024 315.5)
-
Step 200
200
#E5D0EF
oklch(88.4% 0.048 315)
-
Step 300
300
#D6B0E7
oklch(80.9% 0.086 315.3)
-
Step 400
400
#C185DA
oklch(70.8% 0.136 315.5)
-
Step 500
500
#B163D0
oklch(63.2% 0.174 315.5)
-
Step 600
600
#9C46BD
oklch(55.6% 0.19 315.4)
-
Step 700
700 (this color)
#8F40AD
oklch(52.2% 0.177 315.5)
-
Step 800
800
#6C2E84
oklch(42.6% 0.146 315.3)
-
Step 900
900
#582A6A
oklch(37.7% 0.115 315.5)
-
Step 950
950
#341A3E
oklch(27.1% 0.072 315.9)
#8F40AD 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) | #1A5FB0 | 0.166 |
| Deuteranopia (no green cones) | #3F65AA | 0.144 |
| Tritanopia (no blue cones) | #8D5471 | 0.115 |
| Achromatopsia (no color) | #636363 | 0.178 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8F40AD
#8F40AD
oklch(52.2% 0.177 315.5)
- #3C7C00
#3C7C00
oklch(52.3% 0.154 135.6)
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 #8F40AD, closest first.
No curated palette has a color within ΔE 0.04 of #8F40AD.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.018
- Warm Purple #952E8F ΔE 0.055
- Dark Orchid #9932CC ΔE 0.056
- Deep Lavender #8D5EB7 ΔE 0.065
- Light Eggplant #894585 ΔE 0.067
- Amethyst #9B5FC0 ΔE 0.075
- Dark Violet #9400D3 ΔE 0.087
- Blue Violet #8A2BE2 ΔE 0.091
Use #8F40AD 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.