#AF5EBE
Closest named color: Amethyst (#9B5FC0). oklch(61.3% 0.163 321.2), rgb(175, 94, 190).
Aa
Black text reads best on this color (5.16:1).
About this color
#AF5EBE is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.163 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.036 away. Black text reads best on it, at 5.16:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.163) |
| Temperature | in between |
| Nearest name | Amethyst (#9B5FC0) |
| Black text | 5.16:1 |
| White text | 4.06:1 |
Values
| HEX | #AF5EBE |
| RGB | rgb(175, 94, 190) |
| HSL | hsl(291, 42%, 56%) |
| OKLCH | oklch(61.3% 0.163 321.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 #AF5EBE | 4.06:1 | AA large text | Lc -73.0 | Content text, not long reading |
| Black text on #AF5EBE | 5.16:1 | AA | Lc 36.6 | Non-text elements, placeholder text |
| #AF5EBE text on white | 4.06:1 | AA large text | Lc 67.5 | Content text, not long reading |
| #AF5EBE text on black | 5.16:1 | AA | Lc -34.2 | 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
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F1E5F3
oklch(93.5% 0.023 321.4)
-
Step 200
200
#E7D0EB
oklch(88.5% 0.044 321.2)
-
Step 300
300
#D9B0E0
oklch(80.9% 0.08 321.4)
-
Step 400
400
#C585D0
oklch(70.7% 0.127 321.5)
-
Step 500
500 (this color)
#AF5EBE
oklch(61.3% 0.163 321.2)
-
Step 600
600
#A048B0
oklch(55.6% 0.176 321.2)
-
Step 700
700
#893898
oklch(49.1% 0.165 321.1)
-
Step 800
800
#6F2F7B
oklch(42.6% 0.137 321.1)
-
Step 900
900
#5A2B63
oklch(37.7% 0.106 321)
-
Step 950
950
#351A3A
oklch(27% 0.067 321.2)
#AF5EBE 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) | #4F78C1 | 0.151 |
| Deuteranopia (no green cones) | #6781BB | 0.135 |
| Tritanopia (no blue cones) | #B16B85 | 0.101 |
| Achromatopsia (no color) | #7E7E7E | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF5EBE
#AF5EBE
oklch(61.3% 0.163 321.2)
- #429B35
#429B35
oklch(61.3% 0.163 141.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 #AF5EBE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Amethyst #9B5FC0 ΔE 0.036
- Medium Orchid #BA55D3 ΔE 0.042
- Soft Purple #A66FB5 ΔE 0.046
- Deep Lilac #966EBD ΔE 0.054
- Pinky Purple #C94CBE ΔE 0.054
- Deep Lavender #8D5EB7 ΔE 0.061
- Dark Lilac #9C6DA5 ΔE 0.065
- Medium Purple #9370DB ΔE 0.070
Use #AF5EBE 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.