#AF3AA6
Closest named color: Purply (#983FB2). oklch(55.6% 0.195 331.1), rgb(175, 58, 166).
Aa
White text reads best on this color (5.27:1).
About this color
#AF3AA6 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.195 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.049 away. White text reads best on it, at 5.27:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.195) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.97:1 |
| White text | 5.27:1 |
Values
| HEX | #AF3AA6 |
| RGB | rgb(175, 58, 166) |
| HSL | hsl(305, 50%, 46%) |
| OKLCH | oklch(55.6% 0.195 331.1) |
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 #AF3AA6 | 5.27:1 | AA | Lc -80.7 | Fine for body text |
| Black text on #AF3AA6 | 3.97:1 | AA large text | Lc 28.8 | Dividers and decoration only |
| #AF3AA6 text on white | 5.27:1 | AA | Lc 75.3 | Fine for body text |
| #AF3AA6 text on black | 3.97:1 | AA large text | Lc -26.4 | 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
#F4E4F2
oklch(93.6% 0.025 329.7)
-
Step 200
200
#EDCEE8
oklch(88.5% 0.049 331.3)
-
Step 300
300
#E2ACDB
oklch(80.9% 0.088 330.8)
-
Step 400
400
#D27EC8
oklch(70.7% 0.14 331.3)
-
Step 500
500
#C459BA
oklch(63.1% 0.179 331.2)
-
Step 600
600 (this color)
#AF3AA6
oklch(55.6% 0.195 331.1)
-
Step 700
700
#962B8E
oklch(49% 0.181 331.2)
-
Step 800
800
#7A2674
oklch(42.7% 0.15 330.8)
-
Step 900
900
#63255D
oklch(37.8% 0.116 331.5)
-
Step 950
950
#3A1737
oklch(27.1% 0.073 330.7)
#AF3AA6 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) | #3261A9 | 0.206 |
| Deuteranopia (no green cones) | #5C71A3 | 0.176 |
| Tritanopia (no blue cones) | #B6466B | 0.104 |
| Achromatopsia (no color) | #6C6C6C | 0.196 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF3AA6
#AF3AA6
oklch(55.6% 0.195 331.1)
- #008A42
#008A42
oklch(55.4% 0.149 151.1)
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 #AF3AA6, closest first.
No curated palette has a color within ΔE 0.04 of #AF3AA6.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.049
- Purpley Pink #C83CB9 ΔE 0.055
- Warm Purple #952E8F ΔE 0.066
- Pinky Purple #C94CBE ΔE 0.069
- Medium Violet Red #C71585 ΔE 0.072
- Dark Orchid #9932CC ΔE 0.080
- Amethyst #9B5FC0 ΔE 0.081
- Medium Orchid #BA55D3 ΔE 0.082
Use #AF3AA6 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.