#AF81BE
Closest named color: Wisteria (#A87DC2). oklch(67% 0.102 317.7), rgb(175, 129, 190).
Aa
Black text reads best on this color (6.70:1).
About this color
#AF81BE is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.102 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.018 away. Black text reads best on it, at 6.70:1.
| Hue family | Purples |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.102) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.70:1 |
| White text | 3.13:1 |
Values
| HEX | #AF81BE |
| RGB | rgb(175, 129, 190) |
| HSL | hsl(285, 32%, 63%) |
| OKLCH | oklch(67% 0.102 317.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 #AF81BE | 3.13:1 | AA large text | Lc -63.7 | Content text, not long reading |
| Black text on #AF81BE | 6.70:1 | AA | Lc 45.8 | Large or bold text, headings |
| #AF81BE text on white | 3.13:1 | AA large text | Lc 58.3 | Large or bold text, headings |
| #AF81BE text on black | 6.70:1 | AA | Lc -43.5 | 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
#F8F4F9
oklch(97.2% 0.008 319.4)
-
Step 100
100
#EFE6F2
oklch(93.5% 0.019 317.7)
-
Step 200
200
#E3D2E9
oklch(88.4% 0.036 317.3)
-
Step 300
300
#D2B4DC
oklch(80.9% 0.064 317.6)
-
Step 400
400 (this color)
#AF81BE
oklch(67% 0.102 317.7)
-
Step 500
500
#A96EBC
oklch(63% 0.13 317.6)
-
Step 600
600
#9455A8
oklch(55.5% 0.14 317.6)
-
Step 700
700
#7E4590
oklch(49% 0.13 317.6)
-
Step 800
800
#673975
oklch(42.7% 0.109 317.9)
-
Step 900
900
#54325F
oklch(37.8% 0.085 317.5)
-
Step 950
950
#311D37
oklch(26.9% 0.054 318.2)
#AF81BE 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) | #798FC0 | 0.083 |
| Deuteranopia (no green cones) | #8493BC | 0.076 |
| Tritanopia (no blue cones) | #AF8897 | 0.067 |
| Achromatopsia (no color) | #929292 | 0.102 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF81BE
#AF81BE
oklch(67% 0.102 317.7)
- #76A465
#76A465
oklch(67% 0.102 137.6)
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 #AF81BE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.018
- Heather #A484AC ΔE 0.035
- Dusty Lavender #AC86A8 ΔE 0.040
- Pale Purple #B790D4 ΔE 0.046
- Soft Purple #A66FB5 ΔE 0.048
- Dark Lilac #9C6DA5 ΔE 0.067
- Deep Lilac #966EBD ΔE 0.067
- Perrywinkle #8F8CE7 ΔE 0.075
Use #AF81BE 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.