#AF77B2
Closest named color: Wisteria (#A87DC2). oklch(64.7% 0.106 325), rgb(175, 119, 178).
Aa
Black text reads best on this color (6.10:1).
About this color
#AF77B2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.106 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.027 away. Black text reads best on it, at 6.10:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.106) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.10:1 |
| White text | 3.44:1 |
Values
| HEX | #AF77B2 |
| RGB | rgb(175, 119, 178) |
| HSL | hsl(297, 28%, 58%) |
| OKLCH | oklch(64.7% 0.106 325) |
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 #AF77B2 | 3.44:1 | AA large text | Lc -67.3 | Content text, not long reading |
| Black text on #AF77B2 | 6.10:1 | AA | Lc 42.3 | Non-text elements, placeholder text |
| #AF77B2 text on white | 3.44:1 | AA large text | Lc 61.8 | Content text, not long reading |
| #AF77B2 text on black | 6.10:1 | AA | Lc -39.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
#F8F4F8
oklch(97.1% 0.007 325.6)
-
Step 100
100
#EFE7EF
oklch(93.7% 0.014 325.7)
-
Step 200
200
#E3D3E4
oklch(88.5% 0.029 324)
-
Step 300
300
#D2B6D3
oklch(80.9% 0.051 325)
-
Step 400
400
#BB8FBD
oklch(70.7% 0.082 325)
-
Step 500
500 (this color)
#AF77B2
oklch(64.7% 0.106 325)
-
Step 600
600
#955A98
oklch(55.6% 0.115 325.3)
-
Step 700
700
#7F4982
oklch(49.1% 0.108 325.2)
-
Step 800
800
#673C6A
oklch(42.6% 0.09 324.7)
-
Step 900
900
#543456
oklch(37.7% 0.07 324.8)
-
Step 950
950
#311F32
oklch(27% 0.043 324.9)
#AF77B2 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) | #7286B4 | 0.096 |
| Deuteranopia (no green cones) | #808DB0 | 0.088 |
| Tritanopia (no blue cones) | #B27D8D | 0.063 |
| Achromatopsia (no color) | #8A8A8A | 0.107 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF77B2
#AF77B2
oklch(64.7% 0.106 325)
- #639F65
#639F65
oklch(64.6% 0.106 145)
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 #AF77B2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.027
- Soft Purple #A66FB5 ΔE 0.028
- Heather #A484AC ΔE 0.040
- Dark Lilac #9C6DA5 ΔE 0.045
- Dusty Lavender #AC86A8 ΔE 0.046
- Deep Lilac #966EBD ΔE 0.055
- Faded Purple #916E99 ΔE 0.067
- Purpley Grey #947E94 ΔE 0.070
Use #AF77B2 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.