#AF81EF
Closest named color: Light Purple (#BF77F6). oklch(69.3% 0.162 301.6), rgb(175, 129, 239).
Aa
Black text reads best on this color (7.20:1).
About this color
#AF81EF is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.162 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.035 away. Black text reads best on it, at 7.20:1.
| Hue family | Purples |
| Lightness | medium-light (69%) |
| Chroma | vivid (0.162) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.20:1 |
| White text | 2.91:1 |
Values
| HEX | #AF81EF |
| RGB | rgb(175, 129, 239) |
| HSL | hsl(265, 77%, 72%) |
| OKLCH | oklch(69.3% 0.162 301.6) |
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 #AF81EF | 2.91:1 | Fails | Lc -60.6 | Content text, not long reading |
| Black text on #AF81EF | 7.20:1 | AAA | Lc 48.7 | Large or bold text, headings |
| #AF81EF text on white | 2.91:1 | Fails | Lc 55.3 | Large or bold text, headings |
| #AF81EF text on black | 7.20:1 | AAA | Lc -46.5 | 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
#F7F3FD
oklch(97% 0.014 304.1)
-
Step 100
100
#EDE6FB
oklch(93.7% 0.029 301)
-
Step 200
200
#DFD1F9
oklch(88.5% 0.056 301.2)
-
Step 300
300
#CCB1F8
oklch(80.8% 0.102 301.6)
-
Step 400
400 (this color)
#AF81EF
oklch(69.3% 0.162 301.6)
-
Step 500
500
#A261EF
oklch(63.1% 0.207 301.9)
-
Step 600
600
#8D42DE
oklch(55.6% 0.224 301.3)
-
Step 700
700
#7831C0
oklch(49% 0.209 301.6)
-
Step 800
800
#622B9C
oklch(42.7% 0.173 301.6)
-
Step 900
900
#50297C
oklch(37.8% 0.135 301.8)
-
Step 950
950
#2E1948
oklch(26.9% 0.085 301.5)
#AF81EF 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) | #6197F3 | 0.110 |
| Deuteranopia (no green cones) | #6C97EC | 0.102 |
| Tritanopia (no blue cones) | #A394AD | 0.123 |
| Achromatopsia (no color) | #979797 | 0.162 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF81EF
#AF81EF
oklch(69.3% 0.162 301.6)
- #8DAB17
#8DAB17
oklch(69.4% 0.162 121.7)
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 #AF81EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.035
- Light Urple #B36FF6 ΔE 0.043
- Liliac #C48EFD ΔE 0.050
- Easter Purple #C071FE ΔE 0.050
- Periwinkle #8E82FE ΔE 0.055
- Perrywinkle #8F8CE7 ΔE 0.055
- Lavender Blue #8B88F8 ΔE 0.056
- Pale Purple #B790D4 ΔE 0.063
Use #AF81EF 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.