#AF4DA8
Closest named color: Amethyst (#9B5FC0). oklch(57.8% 0.169 330.3), rgb(175, 77, 168).
Aa
White text reads best on this color (4.71:1).
About this color
#AF4DA8 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.169 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.058 away. White text reads best on it, at 4.71:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.169) |
| Temperature | in between |
| Nearest name | Amethyst (#9B5FC0) |
| Black text | 4.44:1 |
| White text | 4.71:1 |
Values
| HEX | #AF4DA8 |
| RGB | rgb(175, 77, 168) |
| HSL | hsl(304, 39%, 49%) |
| OKLCH | oklch(57.8% 0.169 330.3) |
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 #AF4DA8 | 4.71:1 | AA | Lc -77.6 | Fine for body text |
| Black text on #AF4DA8 | 4.44:1 | AA large text | Lc 31.9 | Non-text elements, placeholder text |
| #AF4DA8 text on white | 4.71:1 | AA | Lc 72.2 | Content text, not long reading |
| #AF4DA8 text on black | 4.44:1 | AA large text | Lc -29.5 | 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 600.
-
Step 50
50
#FAF3F9
oklch(97.1% 0.011 330.1)
-
Step 100
100
#F3E5F1
oklch(93.6% 0.022 330.3)
-
Step 200
200
#EAD0E7
oklch(88.6% 0.042 329.6)
-
Step 300
300
#DEAFD8
oklch(80.9% 0.077 330.6)
-
Step 400
400
#CB84C4
oklch(70.7% 0.121 330.3)
-
Step 500
500
#BD62B5
oklch(63.1% 0.156 330.6)
-
Step 600
600 (this color)
#AF4DA8
oklch(57.8% 0.169 330.3)
-
Step 700
700
#90378A
oklch(49.2% 0.158 330.4)
-
Step 800
800
#752E70
oklch(42.7% 0.131 330.4)
-
Step 900
900
#5F2A5B
oklch(37.8% 0.103 330.3)
-
Step 950
950
#381935
oklch(27% 0.065 330.9)
#AF4DA8 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) | #476BAB | 0.172 |
| Deuteranopia (no green cones) | #6678A5 | 0.151 |
| Tritanopia (no blue cones) | #B55673 | 0.092 |
| Achromatopsia (no color) | #737373 | 0.171 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF4DA8
#AF4DA8
oklch(57.8% 0.169 330.3)
- #009243
#009243
oklch(57.7% 0.158 150.3)
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 #AF4DA8, closest first.
No curated palette has a color within ΔE 0.04 of #AF4DA8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Amethyst #9B5FC0 ΔE 0.058
- Pinky Purple #C94CBE ΔE 0.058
- Purpley Pink #C83CB9 ΔE 0.058
- Purply #983FB2 ΔE 0.060
- Medium Orchid #BA55D3 ΔE 0.068
- Deep Lavender #8D5EB7 ΔE 0.070
- Light Plum #9D5783 ΔE 0.073
- Soft Purple #A66FB5 ΔE 0.074
Use #AF4DA8 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.