#AF7CD9
Closest named color: Wisteria (#A87DC2). oklch(67.4% 0.143 308.3), rgb(175, 124, 217).
Aa
Black text reads best on this color (6.70:1).
About this color
#AF7CD9 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.143 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.037 away. Black text reads best on it, at 6.70:1.
| Hue family | Purples |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.143) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.70:1 |
| White text | 3.13:1 |
Values
| HEX | #AF7CD9 |
| RGB | rgb(175, 124, 217) |
| HSL | hsl(273, 55%, 67%) |
| OKLCH | oklch(67.4% 0.143 308.3) |
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 #AF7CD9 | 3.13:1 | AA large text | Lc -63.6 | Content text, not long reading |
| Black text on #AF7CD9 | 6.70:1 | AA | Lc 45.9 | Large or bold text, headings |
| #AF7CD9 text on white | 3.13:1 | AA large text | Lc 58.2 | Large or bold text, headings |
| #AF7CD9 text on black | 6.70:1 | AA | Lc -43.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 400.
-
Step 50
50
#F8F3FC
oklch(97.1% 0.013 310.5)
-
Step 100
100
#EFE6F8
oklch(93.7% 0.026 308.2)
-
Step 200
200
#E2D1F3
oklch(88.5% 0.049 307.8)
-
Step 300
300
#D1B1ED
oklch(80.8% 0.09 308.7)
-
Step 400
400 (this color)
#AF7CD9
oklch(67.4% 0.143 308.3)
-
Step 500
500
#A864DC
oklch(63% 0.182 308.2)
-
Step 600
600
#9447CA
oklch(55.6% 0.199 308.3)
-
Step 700
700
#7E37AE
oklch(49% 0.184 308.4)
-
Step 800
800
#662F8D
oklch(42.6% 0.152 308.1)
-
Step 900
900
#532B71
oklch(37.6% 0.119 308)
-
Step 950
950
#311A42
oklch(27% 0.076 308.7)
#AF7CD9 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) | #678FDC | 0.107 |
| Deuteranopia (no green cones) | #7392D6 | 0.098 |
| Tritanopia (no blue cones) | #A98BA0 | 0.104 |
| Achromatopsia (no color) | #929292 | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7CD9
#AF7CD9
oklch(67.4% 0.143 308.3)
- #7CA63D
#7CA63D
oklch(67.3% 0.142 128.2)
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 #AF7CD9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.037
- Light Purple #BF77F6 ΔE 0.053
- Pale Purple #B790D4 ΔE 0.055
- Light Urple #B36FF6 ΔE 0.057
- Medium Purple #9370DB ΔE 0.058
- Soft Purple #A66FB5 ΔE 0.059
- Perrywinkle #8F8CE7 ΔE 0.060
- Deep Lilac #966EBD ΔE 0.067
Use #AF7CD9 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.