#AF5AA4
Closest named color: Soft Purple (#A66FB5). oklch(59.4% 0.145 332.2), rgb(175, 90, 164).
Aa
Black text reads best on this color (4.82:1).
About this color
#AF5AA4 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.145 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.050 away. Black text reads best on it, at 4.82:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.145) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 4.82:1 |
| White text | 4.35:1 |
Values
| HEX | #AF5AA4 |
| RGB | rgb(175, 90, 164) |
| HSL | hsl(308, 35%, 52%) |
| OKLCH | oklch(59.4% 0.145 332.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 #AF5AA4 | 4.35:1 | AA large text | Lc -75.3 | Fine for body text |
| Black text on #AF5AA4 | 4.82:1 | AA | Lc 34.3 | Non-text elements, placeholder text |
| #AF5AA4 text on white | 4.35:1 | AA large text | Lc 69.8 | Content text, not long reading |
| #AF5AA4 text on black | 4.82:1 | AA | Lc -31.9 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F9F3F8
oklch(97% 0.009 330.9)
-
Step 100
100
#F3E5F0
oklch(93.6% 0.021 332.9)
-
Step 200
200
#EAD0E5
oklch(88.5% 0.04 332.4)
-
Step 300
300
#DDB0D5
oklch(80.9% 0.071 332.4)
-
Step 400
400
#CA86C0
oklch(70.8% 0.113 332)
-
Step 500
500 (this color)
#AF5AA4
oklch(59.4% 0.145 332.2)
-
Step 600
600
#A64A9B
oklch(55.6% 0.157 332.3)
-
Step 700
700
#8E3B84
oklch(49.1% 0.145 332.4)
-
Step 800
800
#74316C
oklch(42.8% 0.122 332.3)
-
Step 900
900
#5E2C57
oklch(37.7% 0.094 332.8)
-
Step 950
950
#371A33
oklch(26.9% 0.06 332.4)
#AF5AA4 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) | #5871A7 | 0.144 |
| Deuteranopia (no green cones) | #707DA2 | 0.129 |
| Tritanopia (no blue cones) | #B56077 | 0.077 |
| Achromatopsia (no color) | #797979 | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF5AA4
#AF5AA4
oklch(59.4% 0.145 332.2)
- #1F9651
#1F9651
oklch(59.4% 0.145 152.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 #AF5AA4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.050
- Dark Lilac #9C6DA5 ΔE 0.053
- Amethyst #9B5FC0 ΔE 0.056
- Light Plum #9D5783 ΔE 0.060
- Deep Lilac #966EBD ΔE 0.065
- Pinky Purple #C94CBE ΔE 0.067
- Deep Lavender #8D5EB7 ΔE 0.067
- Faded Purple #916E99 ΔE 0.072
Use #AF5AA4 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.