#AF7BAF
Closest named color: Heather (#A484AC). oklch(65.3% 0.096 326.6), rgb(175, 123, 175).
Aa
Black text reads best on this color (6.27:1).
About this color
#AF7BAF is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.096 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.029 away. Black text reads best on it, at 6.27:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Heather (#A484AC) |
| Black text | 6.27:1 |
| White text | 3.34:1 |
Values
| HEX | #AF7BAF |
| RGB | rgb(175, 123, 175) |
| HSL | hsl(300, 25%, 58%) |
| OKLCH | oklch(65.3% 0.096 326.6) |
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 #AF7BAF | 3.34:1 | AA large text | Lc -66.3 | Content text, not long reading |
| Black text on #AF7BAF | 6.27:1 | AA | Lc 43.3 | Non-text elements, placeholder text |
| #AF7BAF text on white | 3.34:1 | AA large text | Lc 60.8 | Content text, not long reading |
| #AF7BAF text on black | 6.27:1 | AA | Lc -40.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
#E3D3E2
oklch(88.4% 0.027 327.7)
-
Step 300
300
#D1B7D1
oklch(81% 0.046 326)
-
Step 400
400
#BA90BA
oklch(70.6% 0.076 326.3)
-
Step 500
500 (this color)
#AF7BAF
oklch(65.3% 0.096 326.6)
-
Step 600
600
#935C93
oklch(55.5% 0.105 326.9)
-
Step 700
700
#7D4C7E
oklch(49.1% 0.097 326.2)
-
Step 800
800
#663E66
oklch(42.6% 0.081 326.9)
-
Step 900
900
#533553
oklch(37.6% 0.063 326.7)
-
Step 950
950
#311F31
oklch(27% 0.041 326.6)
#AF7BAF 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) | #7788B1 | 0.088 |
| Deuteranopia (no green cones) | #848FAD | 0.081 |
| Tritanopia (no blue cones) | #B27F8E | 0.054 |
| Achromatopsia (no color) | #8C8C8C | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7BAF
#AF7BAF
oklch(65.3% 0.096 326.6)
- #68A06D
#68A06D
oklch(65.3% 0.096 146.5)
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 #AF7BAF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Heather #A484AC ΔE 0.029
- Wisteria #A87DC2 ΔE 0.030
- Dusty Lavender #AC86A8 ΔE 0.033
- Soft Purple #A66FB5 ΔE 0.039
- Dark Lilac #9C6DA5 ΔE 0.051
- Purpley Grey #947E94 ΔE 0.063
- Deep Lilac #966EBD ΔE 0.063
- Mauve #AE7181 ΔE 0.067
Use #AF7BAF 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.