#AF7BD2
Closest named color: Wisteria (#A87DC2). oklch(66.8% 0.136 310.7), rgb(175, 123, 210).
Aa
Black text reads best on this color (6.58:1).
About this color
#AF7BD2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.136 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.028 away. Black text reads best on it, at 6.58:1.
| Hue family | Purples |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.136) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.58:1 |
| White text | 3.18:1 |
Values
| HEX | #AF7BD2 |
| RGB | rgb(175, 123, 210) |
| HSL | hsl(276, 49%, 65%) |
| OKLCH | oklch(66.8% 0.136 310.7) |
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 #AF7BD2 | 3.18:1 | AA large text | Lc -64.3 | Content text, not long reading |
| Black text on #AF7BD2 | 6.58:1 | AA | Lc 45.2 | Large or bold text, headings |
| #AF7BD2 text on white | 3.18:1 | AA large text | Lc 58.9 | Large or bold text, headings |
| #AF7BD2 text on black | 6.58:1 | AA | Lc -42.8 | 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
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#EEE6F4
oklch(93.5% 0.021 311.1)
-
Step 200
200
#E1D3EC
oklch(88.6% 0.037 310.5)
-
Step 300
300
#CEB5E1
oklch(80.9% 0.067 310.4)
-
Step 400
400
#B68DD2
oklch(70.7% 0.108 310.9)
-
Step 500
500 (this color)
#AF7BD2
oklch(66.8% 0.136 310.7)
-
Step 600
600
#8E56B2
oklch(55.5% 0.148 310.6)
-
Step 700
700
#794699
oklch(49.1% 0.137 310.7)
-
Step 800
800
#623A7C
oklch(42.6% 0.113 310.4)
-
Step 900
900
#503264
oklch(37.6% 0.089 310.4)
-
Step 950
950
#2F1E3B
oklch(27.1% 0.056 310.1)
#AF7BD2 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) | #698ED5 | 0.105 |
| Deuteranopia (no green cones) | #7691D0 | 0.096 |
| Tritanopia (no blue cones) | #AB889D | 0.096 |
| Achromatopsia (no color) | #909090 | 0.137 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7BD2
#AF7BD2
oklch(66.8% 0.136 310.7)
- #77A545
#77A545
oklch(66.8% 0.136 130.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 #AF7BD2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.028
- Soft Purple #A66FB5 ΔE 0.050
- Pale Purple #B790D4 ΔE 0.055
- Medium Purple #9370DB ΔE 0.059
- Deep Lilac #966EBD ΔE 0.060
- Light Purple #BF77F6 ΔE 0.061
- Perrywinkle #8F8CE7 ΔE 0.064
- Light Urple #B36FF6 ΔE 0.065
Use #AF7BD2 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.