#9F2D7E
Closest named color: Warm Purple (#952E8F). oklch(49.8% 0.172 341.7), rgb(159, 45, 126).
Aa
White text reads best on this color (6.66:1).
About this color
#9F2D7E is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.172 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.036 away. White text reads best on it, at 6.66:1.
| Hue family | Purples |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.172) |
| Temperature | warm |
| Nearest name | Warm Purple (#952E8F) |
| Black text | 3.15:1 |
| White text | 6.66:1 |
Values
| HEX | #9F2D7E |
| RGB | rgb(159, 45, 126) |
| HSL | hsl(317, 56%, 40%) |
| OKLCH | oklch(49.8% 0.172 341.7) |
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 #9F2D7E | 6.66:1 | AA | Lc -87.0 | Fine for body text |
| Black text on #9F2D7E | 3.15:1 | AA large text | Lc 22.2 | Dividers and decoration only |
| #9F2D7E text on white | 6.66:1 | AA | Lc 81.9 | Fine for body text |
| #9F2D7E text on black | 3.15:1 | AA large text | Lc -20.0 | 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
#FBF3F8
oklch(97.2% 0.011 339.3)
-
Step 100
100
#F6E4EE
oklch(93.6% 0.024 342.9)
-
Step 200
200
#F0CEE2
oklch(88.6% 0.046 341.9)
-
Step 300
300
#E7ACD0
oklch(81% 0.083 341.9)
-
Step 400
400
#D87DB8
oklch(70.6% 0.134 341.7)
-
Step 500
500
#CB59A6
oklch(63.1% 0.169 341.9)
-
Step 600
600
#B63A91
oklch(55.6% 0.184 341.9)
-
Step 700
700 (this color)
#9F2D7E
oklch(49.8% 0.172 341.7)
-
Step 800
800
#7F2565
oklch(42.7% 0.143 341.4)
-
Step 900
900
#672452
oklch(37.7% 0.112 341.9)
-
Step 950
950
#3C1630
oklch(26.9% 0.07 341.3)
#9F2D7E 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) | #375080 | 0.188 |
| Deuteranopia (no green cones) | #5A637B | 0.165 |
| Tritanopia (no blue cones) | #A92F51 | 0.078 |
| Achromatopsia (no color) | #5C5C5C | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9F2D7E
#9F2D7E
oklch(49.8% 0.172 341.7)
- #00754F
#00754F
oklch(49.7% 0.109 162.1)
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 #9F2D7E, closest first.
No curated palette has a color within ΔE 0.04 of #9F2D7E.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Purple #952E8F ΔE 0.036
- Red Violet #9E0168 ΔE 0.049
- Light Eggplant #894585 ΔE 0.056
- Deep Magenta #A0025C ΔE 0.060
- Dark Fuchsia #9D0759 ΔE 0.063
- Violet Red #A50055 ΔE 0.068
- Dark Magenta #8B008B ΔE 0.075
- Medium Violet Red #C71585 ΔE 0.079
Use #9F2D7E 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.