#AF7FBE
Closest named color: Wisteria (#A87DC2). oklch(66.6% 0.105 318), rgb(175, 127, 190).
Aa
Black text reads best on this color (6.60:1).
About this color
#AF7FBE is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.105 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.015 away. Black text reads best on it, at 6.60:1.
| Hue family | Purples |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.105) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.60:1 |
| White text | 3.18:1 |
Values
| HEX | #AF7FBE |
| RGB | rgb(175, 127, 190) |
| HSL | hsl(286, 33%, 62%) |
| OKLCH | oklch(66.6% 0.105 318) |
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 #AF7FBE | 3.18:1 | AA large text | Lc -64.3 | Content text, not long reading |
| Black text on #AF7FBE | 6.60:1 | AA | Lc 45.2 | Large or bold text, headings |
| #AF7FBE text on white | 3.18:1 | AA large text | Lc 58.9 | Large or bold text, headings |
| #AF7FBE text on black | 6.60:1 | AA | Lc -42.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
#F7F4F8
oklch(97.1% 0.006 317.8)
-
Step 100
100
#EEE7F0
oklch(93.6% 0.014 318.7)
-
Step 200
200
#E1D4E6
oklch(88.6% 0.028 316.7)
-
Step 300
300
#CFB7D7
oklch(81% 0.051 317.7)
-
Step 400
400
#B691C2
oklch(70.7% 0.081 317.8)
-
Step 500
500 (this color)
#AF7FBE
oklch(66.6% 0.105 318)
-
Step 600
600
#8F5C9E
oklch(55.6% 0.114 318.3)
-
Step 700
700
#794C88
oklch(49.2% 0.106 317.3)
-
Step 800
800
#633E6E
oklch(42.7% 0.089 318.2)
-
Step 900
900
#513559
oklch(37.7% 0.069 318.5)
-
Step 950
950
#2F1F34
oklch(26.9% 0.044 317.9)
#AF7FBE 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) | #778DC0 | 0.086 |
| Deuteranopia (no green cones) | #8292BC | 0.080 |
| Tritanopia (no blue cones) | #AF8696 | 0.069 |
| Achromatopsia (no color) | #909090 | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7FBE
#AF7FBE
oklch(66.6% 0.105 318)
- #73A363
#73A363
oklch(66.5% 0.105 138.1)
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 #AF7FBE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.015
- Heather #A484AC ΔE 0.038
- Dusty Lavender #AC86A8 ΔE 0.043
- Soft Purple #A66FB5 ΔE 0.044
- Pale Purple #B790D4 ΔE 0.050
- Deep Lilac #966EBD ΔE 0.063
- Dark Lilac #9C6DA5 ΔE 0.064
- Perrywinkle #8F8CE7 ΔE 0.076
Use #AF7FBE 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.