#AF81DC
Closest named color: Wisteria (#A87DC2). oklch(68.3% 0.138 306.4), rgb(175, 129, 220).
Aa
Black text reads best on this color (6.99:1).
About this color
#AF81DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.138 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.040 away. Black text reads best on it, at 6.99:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.138) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.99:1 |
| White text | 3.00:1 |
Values
| HEX | #AF81DC |
| RGB | rgb(175, 129, 220) |
| HSL | hsl(270, 57%, 68%) |
| OKLCH | oklch(68.3% 0.138 306.4) |
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 #AF81DC | 3.00:1 | AA large text | Lc -61.9 | Content text, not long reading |
| Black text on #AF81DC | 6.99:1 | AA | Lc 47.5 | Large or bold text, headings |
| #AF81DC text on white | 3.00:1 | AA large text | Lc 56.6 | Large or bold text, headings |
| #AF81DC text on black | 6.99:1 | AA | Lc -45.2 | Large or bold text, headings |
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
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#EEE6F7
oklch(93.6% 0.024 307)
-
Step 200
200
#E1D2F3
oklch(88.6% 0.047 305.9)
-
Step 300
300
#CFB3ED
oklch(81% 0.086 306.5)
-
Step 400
400 (this color)
#AF81DC
oklch(68.3% 0.138 306.4)
-
Step 500
500
#A567DC
oklch(63.1% 0.177 306.5)
-
Step 600
600
#904BC9
oklch(55.6% 0.191 306.4)
-
Step 700
700
#7B3BAE
oklch(49.1% 0.178 306.5)
-
Step 800
800
#64328D
oklch(42.8% 0.147 306.4)
-
Step 900
900
#512D71
oklch(37.7% 0.115 306)
-
Step 950
950
#301B42
oklch(27% 0.073 307)
#AF81DC 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) | #6C93DF | 0.099 |
| Deuteranopia (no green cones) | #7795DA | 0.090 |
| Tritanopia (no blue cones) | #A88FA4 | 0.102 |
| Achromatopsia (no color) | #959595 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF81DC
#AF81DC
oklch(68.3% 0.138 306.4)
- #83A841
#83A841
oklch(68.3% 0.138 126.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 #AF81DC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.040
- Pale Purple #B790D4 ΔE 0.045
- Perrywinkle #8F8CE7 ΔE 0.053
- Light Purple #BF77F6 ΔE 0.054
- Light Urple #B36FF6 ΔE 0.061
- Liliac #C48EFD ΔE 0.064
- Medium Purple #9370DB ΔE 0.065
- Lavender Blue #8B88F8 ΔE 0.067
Use #AF81DC 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.