#AF7DCB
Closest named color: Wisteria (#A87DC2). oklch(66.8% 0.124 312.7), rgb(175, 125, 203).
Aa
Black text reads best on this color (6.61:1).
About this color
#AF7DCB is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.124 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.018 away. Black text reads best on it, at 6.61:1.
| Hue family | Purples |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.124) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.61:1 |
| White text | 3.17:1 |
Values
| HEX | #AF7DCB |
| RGB | rgb(175, 125, 203) |
| HSL | hsl(278, 43%, 64%) |
| OKLCH | oklch(66.8% 0.124 312.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 #AF7DCB | 3.17:1 | AA large text | Lc -64.1 | Content text, not long reading |
| Black text on #AF7DCB | 6.61:1 | AA | Lc 45.3 | Large or bold text, headings |
| #AF7DCB text on white | 3.17:1 | AA large text | Lc 58.7 | Large or bold text, headings |
| #AF7DCB text on black | 6.61:1 | AA | Lc -43.0 | 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
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EEE7F2
oklch(93.7% 0.016 313.6)
-
Step 200
200
#E1D3E9
oklch(88.5% 0.033 313.5)
-
Step 300
300
#CEB6DD
oklch(80.9% 0.06 312.4)
-
Step 400
400
#B68FCC
oklch(70.8% 0.097 313)
-
Step 500
500 (this color)
#AF7DCB
oklch(66.8% 0.124 312.7)
-
Step 600
600
#8E59AB
oklch(55.6% 0.134 312.6)
-
Step 700
700
#794893
oklch(49.1% 0.126 312.8)
-
Step 800
800
#623C77
oklch(42.7% 0.103 312.5)
-
Step 900
900
#503460
oklch(37.7% 0.08 312.3)
-
Step 950
950
#2F1F38
oklch(27.1% 0.05 312.7)
#AF7DCB 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) | #6F8ECE | 0.097 |
| Deuteranopia (no green cones) | #7B92C9 | 0.090 |
| Tritanopia (no blue cones) | #AD889A | 0.087 |
| Achromatopsia (no color) | #909090 | 0.125 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7DCB
#AF7DCB
oklch(66.8% 0.124 312.7)
- #77A551
#77A551
oklch(66.9% 0.125 132.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 #AF7DCB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.018
- Soft Purple #A66FB5 ΔE 0.046
- Pale Purple #B790D4 ΔE 0.050
- Heather #A484AC ΔE 0.058
- Deep Lilac #966EBD ΔE 0.060
- Dusty Lavender #AC86A8 ΔE 0.064
- Perrywinkle #8F8CE7 ΔE 0.066
- Medium Purple #9370DB ΔE 0.066
Use #AF7DCB 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.