#AF81DA
Closest named color: Wisteria (#A87DC2). oklch(68.3% 0.135 306.9), rgb(175, 129, 218).
Aa
Black text reads best on this color (6.97:1).
About this color
#AF81DA is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.135 and its hue 307°. 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.97:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.97:1 |
| White text | 3.01:1 |
Values
| HEX | #AF81DA |
| RGB | rgb(175, 129, 218) |
| HSL | hsl(271, 55%, 68%) |
| OKLCH | oklch(68.3% 0.135 306.9) |
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 #AF81DA | 3.01:1 | AA large text | Lc -62.0 | Content text, not long reading |
| Black text on #AF81DA | 6.97:1 | AA | Lc 47.4 | Large or bold text, headings |
| #AF81DA text on white | 3.01:1 | AA large text | Lc 56.7 | Large or bold text, headings |
| #AF81DA text on black | 6.97:1 | AA | Lc -45.1 | 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
#E1D2F2
oklch(88.6% 0.046 306.6)
-
Step 300
300
#CFB3EC
oklch(81% 0.084 306.9)
-
Step 400
400 (this color)
#AF81DA
oklch(68.3% 0.135 306.9)
-
Step 500
500
#A568DA
oklch(63.1% 0.173 306.8)
-
Step 600
600
#904CC7
oklch(55.6% 0.187 306.8)
-
Step 700
700
#7B3CAC
oklch(49.1% 0.174 307)
-
Step 800
800
#64328B
oklch(42.6% 0.145 307.2)
-
Step 900
900
#512D6F
oklch(37.6% 0.113 307)
-
Step 950
950
#301B41
oklch(27% 0.072 307.8)
#AF81DA 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) | #6D93DD | 0.098 |
| Deuteranopia (no green cones) | #7895D8 | 0.090 |
| Tritanopia (no blue cones) | #A98FA3 | 0.100 |
| Achromatopsia (no color) | #959595 | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF81DA
#AF81DA
oklch(68.3% 0.135 306.9)
- #82A844
#82A844
oklch(68.2% 0.136 127.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 #AF81DA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.037
- Pale Purple #B790D4 ΔE 0.044
- Perrywinkle #8F8CE7 ΔE 0.054
- Light Purple #BF77F6 ΔE 0.056
- Light Urple #B36FF6 ΔE 0.064
- Medium Purple #9370DB ΔE 0.065
- Soft Purple #A66FB5 ΔE 0.066
- Liliac #C48EFD ΔE 0.066
Use #AF81DA 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.