#9842A5
Closest named color: Purply (#983FB2). oklch(53.2% 0.17 322.2), rgb(152, 66, 165).
Aa
White text reads best on this color (5.74:1).
About this color
#9842A5 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.170 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.022 away. White text reads best on it, at 5.74:1.
| Hue family | Purples |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.170) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.65:1 |
| White text | 5.74:1 |
Values
| HEX | #9842A5 |
| RGB | rgb(152, 66, 165) |
| HSL | hsl(292, 43%, 45%) |
| OKLCH | oklch(53.2% 0.17 322.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 #9842A5 | 5.74:1 | AA | Lc -83.4 | Fine for body text |
| Black text on #9842A5 | 3.65:1 | AA large text | Lc 26.0 | Dividers and decoration only |
| #9842A5 text on white | 5.74:1 | AA | Lc 78.1 | Fine for body text |
| #9842A5 text on black | 3.65:1 | AA large text | Lc -23.7 | 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
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F1E5F3
oklch(93.5% 0.023 321.4)
-
Step 200
200
#E7D0EA
oklch(88.4% 0.043 322.3)
-
Step 300
300
#D9B1DE
oklch(81% 0.076 322.6)
-
Step 400
400
#C486CE
oklch(70.7% 0.122 321.8)
-
Step 500
500
#B565C1
oklch(63.2% 0.157 322.2)
-
Step 600
600 (this color)
#9842A5
oklch(53.2% 0.17 322.2)
-
Step 700
700
#893A94
oklch(49.1% 0.158 322.6)
-
Step 800
800
#6F3178
oklch(42.7% 0.13 322.4)
-
Step 900
900
#5A2C61
oklch(37.7% 0.102 322.2)
-
Step 950
950
#351A39
oklch(27% 0.066 322.3)
#9842A5 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) | #2F60A8 | 0.167 |
| Deuteranopia (no green cones) | #4E69A2 | 0.145 |
| Tritanopia (no blue cones) | #9A516D | 0.104 |
| Achromatopsia (no color) | #666666 | 0.171 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9842A5
#9842A5
oklch(53.2% 0.17 322.2)
- #198312
#198312
oklch(53.2% 0.17 142.2)
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 #9842A5, closest first.
No curated palette has a color within ΔE 0.04 of #9842A5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.022
- Warm Purple #952E8F ΔE 0.047
- Light Eggplant #894585 ΔE 0.058
- Deep Lavender #8D5EB7 ΔE 0.064
- Dark Orchid #9932CC ΔE 0.069
- Amethyst #9B5FC0 ΔE 0.070
- Light Plum #9D5783 ΔE 0.082
- Muted Purple #805B87 ΔE 0.090
Use #9842A5 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.