#AF86F3
Closest named color: Light Purple (#BF77F6). oklch(70.4% 0.159 299.7), rgb(175, 134, 243).
Aa
Black text reads best on this color (7.52:1).
About this color
#AF86F3 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.159 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.041 away. Black text reads best on it, at 7.52:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.159) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.52:1 |
| White text | 2.78:1 |
Values
| HEX | #AF86F3 |
| RGB | rgb(175, 134, 243) |
| HSL | hsl(263, 82%, 74%) |
| OKLCH | oklch(70.4% 0.159 299.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 #AF86F3 | 2.78:1 | Fails | Lc -58.8 | Large or bold text, headings |
| Black text on #AF86F3 | 7.52:1 | AAA | Lc 50.5 | Large or bold text, headings |
| #AF86F3 text on white | 2.78:1 | Fails | Lc 53.6 | Large or bold text, headings |
| #AF86F3 text on black | 7.52:1 | AAA | Lc -48.3 | 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
#F7F4FD
oklch(97.2% 0.012 301.3)
-
Step 100
100
#ECE6FB
oklch(93.6% 0.029 298.9)
-
Step 200
200
#DED2F9
oklch(88.6% 0.054 299.3)
-
Step 300
300
#CAB2F8
oklch(80.8% 0.1 299.9)
-
Step 400
400 (this color)
#AF86F3
oklch(70.4% 0.159 299.7)
-
Step 500
500
#9E64F0
oklch(63.2% 0.203 299.7)
-
Step 600
600
#8A45DE
oklch(55.6% 0.22 299.8)
-
Step 700
700
#7535C1
oklch(49.1% 0.205 299.6)
-
Step 800
800
#5F2D9C
oklch(42.6% 0.17 299.7)
-
Step 900
900
#4D2B7C
oklch(37.7% 0.132 299.3)
-
Step 950
950
#2D1A49
oklch(27% 0.084 299.3)
#AF86F3 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) | #669BF7 | 0.103 |
| Deuteranopia (no green cones) | #6F9AF0 | 0.096 |
| Tritanopia (no blue cones) | #A299B1 | 0.123 |
| Achromatopsia (no color) | #9B9B9B | 0.159 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF86F3
#AF86F3
oklch(70.4% 0.159 299.7)
- #94AD1D
#94AD1D
oklch(70.4% 0.159 119.8)
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 #AF86F3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.041
- Liliac #C48EFD ΔE 0.042
- Light Urple #B36FF6 ΔE 0.053
- Perrywinkle #8F8CE7 ΔE 0.053
- Lavender Blue #8B88F8 ΔE 0.054
- Periwinkle #8E82FE ΔE 0.055
- Easter Purple #C071FE ΔE 0.056
- Pale Purple #B790D4 ΔE 0.059
Use #AF86F3 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.