#AF5EA6
Closest named color: Soft Purple (#A66FB5). oklch(60.1% 0.14 331.4), rgb(175, 94, 166).
Aa
Black text reads best on this color (4.97:1).
About this color
#AF5EA6 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.140 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.042 away. Black text reads best on it, at 4.97:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.140) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 4.97:1 |
| White text | 4.22:1 |
Values
| HEX | #AF5EA6 |
| RGB | rgb(175, 94, 166) |
| HSL | hsl(307, 34%, 53%) |
| OKLCH | oklch(60.1% 0.14 331.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 #AF5EA6 | 4.22:1 | AA large text | Lc -74.3 | Content text, not long reading |
| Black text on #AF5EA6 | 4.97:1 | AA | Lc 35.3 | Non-text elements, placeholder text |
| #AF5EA6 text on white | 4.22:1 | AA large text | Lc 68.8 | Content text, not long reading |
| #AF5EA6 text on black | 4.97:1 | AA | Lc -32.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
#F2E5F0
oklch(93.5% 0.02 330.7)
-
Step 200
200
#E9D0E5
oklch(88.4% 0.039 331.2)
-
Step 300
300
#DBB1D5
oklch(80.9% 0.068 331)
-
Step 400
400
#C887C0
oklch(70.7% 0.109 331.1)
-
Step 500
500 (this color)
#AF5EA6
oklch(60.1% 0.14 331.4)
-
Step 600
600
#A44C9B
oklch(55.6% 0.152 331.4)
-
Step 700
700
#8C3D84
oklch(49.1% 0.14 331.5)
-
Step 800
800
#72336C
oklch(42.8% 0.117 331.1)
-
Step 900
900
#5C2D57
oklch(37.6% 0.091 331.3)
-
Step 950
950
#361B33
oklch(27% 0.057 331.2)
#AF5EA6 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) | #5B74A8 | 0.138 |
| Deuteranopia (no green cones) | #727FA4 | 0.123 |
| Tritanopia (no blue cones) | #B5647A | 0.075 |
| Achromatopsia (no color) | #7B7B7B | 0.141 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF5EA6
#AF5EA6
oklch(60.1% 0.14 331.4)
- #2D9754
#2D9754
oklch(60% 0.139 151.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 #AF5EA6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.042
- Dark Lilac #9C6DA5 ΔE 0.046
- Amethyst #9B5FC0 ΔE 0.054
- Deep Lilac #966EBD ΔE 0.060
- Light Plum #9D5783 ΔE 0.063
- Deep Lavender #8D5EB7 ΔE 0.067
- Faded Purple #916E99 ΔE 0.068
- Pinky Purple #C94CBE ΔE 0.069
Use #AF5EA6 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.