#AF72D7
Closest named color: Wisteria (#A87DC2). oklch(65.6% 0.157 310.6), rgb(175, 114, 215).
Aa
Black text reads best on this color (6.21:1).
About this color
#AF72D7 is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.157 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.047 away. Black text reads best on it, at 6.21:1.
| Hue family | Purples |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.157) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.21:1 |
| White text | 3.38:1 |
Values
| HEX | #AF72D7 |
| RGB | rgb(175, 114, 215) |
| HSL | hsl(276, 56%, 65%) |
| OKLCH | oklch(65.6% 0.157 310.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 #AF72D7 | 3.38:1 | AA large text | Lc -66.5 | Content text, not long reading |
| Black text on #AF72D7 | 6.21:1 | AA | Lc 43.0 | Non-text elements, placeholder text |
| #AF72D7 text on white | 3.38:1 | AA large text | Lc 61.0 | Content text, not long reading |
| #AF72D7 text on black | 6.21:1 | AA | Lc -40.7 | 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
#F8F4FB
oklch(97.2% 0.01 311.2)
-
Step 100
100
#EEE6F5
oklch(93.6% 0.022 309.6)
-
Step 200
200
#E2D2EF
oklch(88.6% 0.043 310.1)
-
Step 300
300
#D0B3E6
oklch(80.8% 0.077 310.3)
-
Step 400
400
#B98AD9
oklch(70.7% 0.123 310.8)
-
Step 500
500 (this color)
#AF72D7
oklch(65.6% 0.157 310.6)
-
Step 600
600
#924FBC
oklch(55.5% 0.171 310.4)
-
Step 700
700
#7D3FA2
oklch(49.1% 0.16 310.7)
-
Step 800
800
#653583
oklch(42.7% 0.131 310.4)
-
Step 900
900
#532F69
oklch(37.7% 0.103 311.1)
-
Step 950
950
#301C3E
oklch(27% 0.066 309.8)
#AF72D7 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) | #5A89DB | 0.126 |
| Deuteranopia (no green cones) | #6B8DD4 | 0.114 |
| Tritanopia (no blue cones) | #AA829A | 0.111 |
| Achromatopsia (no color) | #8C8C8C | 0.158 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF72D7
#AF72D7
oklch(65.6% 0.157 310.6)
- #6FA32D
#6FA32D
oklch(65.6% 0.156 130.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 #AF72D7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.047
- Medium Purple #9370DB ΔE 0.048
- Light Urple #B36FF6 ΔE 0.048
- Soft Purple #A66FB5 ΔE 0.053
- Light Purple #BF77F6 ΔE 0.053
- Deep Lilac #966EBD ΔE 0.058
- Medium Orchid #BA55D3 ΔE 0.061
- Amethyst #9B5FC0 ΔE 0.064
Use #AF72D7 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.