#AF77AC
Closest named color: Soft Purple (#A66FB5). oklch(64.5% 0.1 328.5), rgb(175, 119, 172).
Aa
Black text reads best on this color (6.05:1).
About this color
#AF77AC is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.100 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.033 away. Black text reads best on it, at 6.05:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.100) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 6.05:1 |
| White text | 3.46:1 |
Values
| HEX | #AF77AC |
| RGB | rgb(175, 119, 172) |
| HSL | hsl(303, 26%, 58%) |
| OKLCH | oklch(64.5% 0.1 328.5) |
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 #AF77AC | 3.46:1 | AA large text | Lc -67.6 | Content text, not long reading |
| Black text on #AF77AC | 6.05:1 | AA | Lc 42.0 | Non-text elements, placeholder text |
| #AF77AC text on white | 3.46:1 | AA large text | Lc 62.1 | Content text, not long reading |
| #AF77AC text on black | 6.05:1 | AA | Lc -39.6 | 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
#F8F4F8
oklch(97.1% 0.007 325.6)
-
Step 100
100
#EFE7EF
oklch(93.7% 0.014 325.7)
-
Step 200
200
#E4D3E2
oklch(88.5% 0.027 329.5)
-
Step 300
300
#D3B6D1
oklch(80.9% 0.049 328.2)
-
Step 400
400
#BC8FB9
oklch(70.6% 0.079 328.6)
-
Step 500
500 (this color)
#AF77AC
oklch(64.5% 0.1 328.5)
-
Step 600
600
#965B93
oklch(55.7% 0.109 328.7)
-
Step 700
700
#7F4A7D
oklch(49% 0.101 328.3)
-
Step 800
800
#683D66
oklch(42.7% 0.085 328.6)
-
Step 900
900
#543453
oklch(37.6% 0.066 327.9)
-
Step 950
950
#321F31
oklch(27.1% 0.042 328.5)
#AF77AC 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) | #7485AE | 0.093 |
| Deuteranopia (no green cones) | #828CAA | 0.085 |
| Tritanopia (no blue cones) | #B37B8A | 0.056 |
| Achromatopsia (no color) | #8A8A8A | 0.101 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF77AC
#AF77AC
oklch(64.5% 0.1 328.5)
- #609E6B
#609E6B
oklch(64.3% 0.1 148.7)
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 #AF77AC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.033
- Wisteria #A87DC2 ΔE 0.034
- Heather #A484AC ΔE 0.036
- Dusty Lavender #AC86A8 ΔE 0.041
- Dark Lilac #9C6DA5 ΔE 0.043
- Deep Lilac #966EBD ΔE 0.059
- Mauve #AE7181 ΔE 0.062
- Faded Purple #916E99 ΔE 0.063
Use #AF77AC 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.