#AF5EA3
Closest named color: Soft Purple (#A66FB5). oklch(60% 0.137 332.9), rgb(175, 94, 163).
Aa
Black text reads best on this color (4.95:1).
About this color
#AF5EA3 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.137 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.044 away. Black text reads best on it, at 4.95:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.137) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 4.95:1 |
| White text | 4.24:1 |
Values
| HEX | #AF5EA3 |
| RGB | rgb(175, 94, 163) |
| HSL | hsl(309, 34%, 53%) |
| OKLCH | oklch(60% 0.137 332.9) |
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 #AF5EA3 | 4.24:1 | AA large text | Lc -74.4 | Content text, not long reading |
| Black text on #AF5EA3 | 4.95:1 | AA | Lc 35.1 | Non-text elements, placeholder text |
| #AF5EA3 text on white | 4.24:1 | AA large text | Lc 68.9 | Content text, not long reading |
| #AF5EA3 text on black | 4.95:1 | AA | Lc -32.7 | 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
#F2E5EF
oklch(93.5% 0.019 333.5)
-
Step 200
200
#E9D1E4
oklch(88.6% 0.037 332.9)
-
Step 300
300
#DCB1D3
oklch(80.9% 0.067 333.6)
-
Step 400
400
#C987BD
oklch(70.7% 0.107 333.4)
-
Step 500
500 (this color)
#AF5EA3
oklch(60% 0.137 332.9)
-
Step 600
600
#A44D98
oklch(55.6% 0.148 332.9)
-
Step 700
700
#8D3D82
oklch(49.1% 0.139 333)
-
Step 800
800
#72336A
oklch(42.7% 0.115 332.4)
-
Step 900
900
#5D2D56
oklch(37.7% 0.091 332.9)
-
Step 950
950
#361B32
oklch(26.9% 0.056 332.6)
#AF5EA3 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) | #5C74A5 | 0.137 |
| Deuteranopia (no green cones) | #737FA1 | 0.122 |
| Tritanopia (no blue cones) | #B56379 | 0.071 |
| Achromatopsia (no color) | #7B7B7B | 0.138 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF5EA3
#AF5EA3
oklch(60% 0.137 332.9)
- #2B9757
#2B9757
oklch(60% 0.137 152.9)
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 #AF5EA3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.044
- Dark Lilac #9C6DA5 ΔE 0.045
- Amethyst #9B5FC0 ΔE 0.058
- Light Plum #9D5783 ΔE 0.059
- Deep Lilac #966EBD ΔE 0.062
- Faded Purple #916E99 ΔE 0.066
- Deep Lavender #8D5EB7 ΔE 0.069
- Pinky Purple #C94CBE ΔE 0.072
Use #AF5EA3 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.