#9D42A4
Closest named color: Purply (#983FB2). oklch(53.8% 0.172 324.8), rgb(157, 66, 164).
Aa
White text reads best on this color (5.60:1).
About this color
#9D42A4 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.172 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.027 away. White text reads best on it, at 5.60:1.
| Hue family | Purples |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.172) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.74:1 |
| White text | 5.60:1 |
Values
| HEX | #9D42A4 |
| RGB | rgb(157, 66, 164) |
| HSL | hsl(296, 43%, 45%) |
| OKLCH | oklch(53.8% 0.172 324.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 #9D42A4 | 5.60:1 | AA | Lc -82.7 | Fine for body text |
| Black text on #9D42A4 | 3.74:1 | AA large text | Lc 26.7 | Dividers and decoration only |
| #9D42A4 text on white | 5.60:1 | AA | Lc 77.4 | Fine for body text |
| #9D42A4 text on black | 3.74:1 | AA large text | Lc -24.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 600.
-
Step 50
50
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F2E5F2
oklch(93.6% 0.022 325.8)
-
Step 200
200
#E8D0E9
oklch(88.5% 0.043 324.7)
-
Step 300
300
#DBB0DD
oklch(81% 0.078 324.8)
-
Step 400
400
#C785CB
oklch(70.7% 0.123 324.8)
-
Step 500
500
#B863BE
oklch(63.1% 0.159 324.8)
-
Step 600
600 (this color)
#9D42A4
oklch(53.8% 0.172 324.8)
-
Step 700
700
#8B3892
oklch(49.1% 0.16 324.5)
-
Step 800
800
#712F76
oklch(42.6% 0.133 324.8)
-
Step 900
900
#5C2B5F
oklch(37.7% 0.103 325.2)
-
Step 950
950
#361A38
oklch(27.1% 0.065 324.7)
#9D42A4 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) | #3361A7 | 0.171 |
| Deuteranopia (no green cones) | #536CA1 | 0.150 |
| Tritanopia (no blue cones) | #A04F6D | 0.100 |
| Achromatopsia (no color) | #686868 | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9D42A4
#9D42A4
oklch(53.8% 0.172 324.8)
- #008620
#008620
oklch(53.9% 0.171 144.8)
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 #9D42A4, closest first.
No curated palette has a color within ΔE 0.04 of #9D42A4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.027
- Warm Purple #952E8F ΔE 0.049
- Light Eggplant #894585 ΔE 0.062
- Deep Lavender #8D5EB7 ΔE 0.066
- Amethyst #9B5FC0 ΔE 0.069
- Dark Orchid #9932CC ΔE 0.072
- Light Plum #9D5783 ΔE 0.078
- Purpley Pink #C83CB9 ΔE 0.086
Use #9D42A4 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.