#AA1F98
Closest named color: Warm Purple (#952E8F). oklch(51.8% 0.21 334.4), rgb(170, 31, 152).
Aa
White text reads best on this color (6.25:1).
About this color
#AA1F98 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.210 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.044 away. White text reads best on it, at 6.25:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.210) |
| Temperature | in between |
| Nearest name | Warm Purple (#952E8F) |
| Black text | 3.35:1 |
| White text | 6.25:1 |
Values
| HEX | #AA1F98 |
| RGB | rgb(170, 31, 152) |
| HSL | hsl(308, 69%, 39%) |
| OKLCH | oklch(51.8% 0.21 334.4) |
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 #AA1F98 | 6.25:1 | AA | Lc -84.8 | Fine for body text |
| Black text on #AA1F98 | 3.35:1 | AA large text | Lc 24.4 | Dividers and decoration only |
| #AA1F98 text on white | 6.25:1 | AA | Lc 79.6 | Fine for body text |
| #AA1F98 text on black | 3.35:1 | AA large text | Lc -22.2 | 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
#FCF2F9
oklch(97.1% 0.014 336.1)
-
Step 100
100
#F7E3F2
oklch(93.6% 0.029 334.4)
-
Step 200
200
#F1CCE9
oklch(88.5% 0.056 333.6)
-
Step 300
300
#EAA8DB
oklch(81% 0.101 334.9)
-
Step 400
400
#DC76C9
oklch(70.7% 0.162 334.5)
-
Step 500
500
#D04BBB
oklch(63.1% 0.208 334.6)
-
Step 600
600
#BB23A7
oklch(55.6% 0.226 334.5)
-
Step 700
700 (this color)
#AA1F98
oklch(51.8% 0.21 334.4)
-
Step 800
800
#831474
oklch(42.7% 0.175 334.8)
-
Step 900
900
#691B5E
oklch(37.6% 0.136 334.2)
-
Step 950
950
#3E1237
oklch(27% 0.086 334.5)
#AA1F98 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) | #1C549B | 0.233 |
| Deuteranopia (no green cones) | #546795 | 0.195 |
| Tritanopia (no blue cones) | #B22E5C | 0.106 |
| Achromatopsia (no color) | #606060 | 0.213 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AA1F98
#AA1F98
oklch(51.8% 0.21 334.4)
- #007D45
#007D45
oklch(51.8% 0.129 154.6)
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 #AA1F98, closest first.
No curated palette has a color within ΔE 0.04 of #AA1F98.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Purple #952E8F ΔE 0.044
- Purply #983FB2 ΔE 0.064
- Medium Violet Red #C71585 ΔE 0.068
- Dark Magenta #8B008B ΔE 0.075
- Red Violet #9E0168 ΔE 0.080
- Purpley Pink #C83CB9 ΔE 0.086
- Light Eggplant #894585 ΔE 0.088
- Dark Orchid #9932CC ΔE 0.091
Use #AA1F98 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.