#9F218F
Closest named color: Warm Purple (#952E8F). oklch(49.7% 0.197 334.1), rgb(159, 33, 143).
Aa
White text reads best on this color (6.79:1).
About this color
#9F218F is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.197 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.024 away. White text reads best on it, at 6.79:1.
| Hue family | Purples |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.197) |
| Temperature | in between |
| Nearest name | Warm Purple (#952E8F) |
| Black text | 3.08:1 |
| White text | 6.79:1 |
Values
| HEX | #9F218F |
| RGB | rgb(159, 33, 143) |
| HSL | hsl(308, 66%, 38%) |
| OKLCH | oklch(49.7% 0.197 334.1) |
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 #9F218F | 6.79:1 | AA | Lc -87.2 | Fine for body text |
| Black text on #9F218F | 3.08:1 | AA large text | Lc 22.0 | Dividers and decoration only |
| #9F218F text on white | 6.79:1 | AA | Lc 82.1 | Fine for body text |
| #9F218F text on black | 3.08:1 | AA large text | Lc -19.8 | 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
#FBF2F9
oklch(97% 0.013 333)
-
Step 100
100
#F6E3F2
oklch(93.5% 0.029 332.8)
-
Step 200
200
#F0CDE8
oklch(88.6% 0.053 334)
-
Step 300
300
#E7AADA
oklch(81% 0.095 334.2)
-
Step 400
400
#D879C7
oklch(70.6% 0.152 334)
-
Step 500
500
#CC51B9
oklch(63.1% 0.196 334.1)
-
Step 600
600
#B72EA5
oklch(55.6% 0.212 334.1)
-
Step 700
700 (this color)
#9F218F
oklch(49.7% 0.197 334.1)
-
Step 800
800
#801D73
oklch(42.8% 0.164 334.1)
-
Step 900
900
#67205D
oklch(37.8% 0.127 333.8)
-
Step 950
950
#3D1436
oklch(27.1% 0.081 334.7)
#9F218F 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) | #1D4F92 | 0.217 |
| Deuteranopia (no green cones) | #4F618C | 0.182 |
| Tritanopia (no blue cones) | #A72E57 | 0.101 |
| Achromatopsia (no color) | #5B5B5B | 0.199 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9F218F
#9F218F
oklch(49.7% 0.197 334.1)
- #007640
#007640
oklch(49.7% 0.125 154.3)
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 #9F218F, closest first.
No curated palette has a color within ΔE 0.04 of #9F218F.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Purple #952E8F ΔE 0.024
- Dark Magenta #8B008B ΔE 0.055
- Red Violet #9E0168 ΔE 0.063
- Purply #983FB2 ΔE 0.067
- Light Eggplant #894585 ΔE 0.073
- Purple #800080 ΔE 0.079
- Deep Magenta #A0025C ΔE 0.081
- Medium Violet Red #C71585 ΔE 0.084
Use #9F218F 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.