#9C27AB
Closest named color: Purply (#983FB2). oklch(51.4% 0.211 322.8), rgb(156, 39, 171).
Aa
White text reads best on this color (6.37:1).
About this color
#9C27AB is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.211 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.037 away. White text reads best on it, at 6.37:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | vivid (0.211) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.29:1 |
| White text | 6.37:1 |
Values
| HEX | #9C27AB |
| RGB | rgb(156, 39, 171) |
| HSL | hsl(293, 63%, 41%) |
| OKLCH | oklch(51.4% 0.211 322.8) |
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 #9C27AB | 6.37:1 | AA | Lc -85.6 | Fine for body text |
| Black text on #9C27AB | 3.29:1 | AA large text | Lc 23.6 | Dividers and decoration only |
| #9C27AB text on white | 6.37:1 | AA | Lc 80.5 | Fine for body text |
| #9C27AB text on black | 3.29:1 | AA large text | Lc -21.4 | 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
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F4E4F6
oklch(93.7% 0.029 322.4)
-
Step 200
200
#ECCDEF
oklch(88.5% 0.057 323.3)
-
Step 300
300
#E1AAE7
oklch(80.8% 0.103 323.2)
-
Step 400
400
#D07ADB
oklch(70.7% 0.164 322.9)
-
Step 500
500
#C252D1
oklch(63.1% 0.209 322.8)
-
Step 600
600
#AD2EBE
oklch(55.6% 0.227 322.7)
-
Step 700
700 (this color)
#9C27AB
oklch(51.4% 0.211 322.8)
-
Step 800
800
#791D85
oklch(42.8% 0.175 322.8)
-
Step 900
900
#62206A
oklch(37.8% 0.136 323.2)
-
Step 950
950
#39143E
oklch(26.9% 0.086 322.8)
#9C27AB 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) | #0057AF | 0.214 |
| Deuteranopia (no green cones) | #3D63A8 | 0.186 |
| Tritanopia (no blue cones) | #9E4168 | 0.125 |
| Achromatopsia (no color) | #5F5F5F | 0.213 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9C27AB
#9C27AB
oklch(51.4% 0.211 322.8)
- #007E07
#007E07
oklch(51.4% 0.173 142.9)
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 #9C27AB, closest first.
No curated palette has a color within ΔE 0.04 of #9C27AB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.037
- Warm Purple #952E8F ΔE 0.047
- Dark Orchid #9932CC ΔE 0.054
- Dark Magenta #8B008B ΔE 0.070
- Dark Violet #9400D3 ΔE 0.073
- Vibrant Purple #AD03DE ΔE 0.085
- Light Eggplant #894585 ΔE 0.089
- Purple #800080 ΔE 0.096
Use #9C27AB 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.