#AF7EF5
Closest named color: Light Purple (#BF77F6). oklch(69.2% 0.174 301), rgb(175, 126, 245).
Aa
Black text reads best on this color (7.12:1).
About this color
#AF7EF5 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.174 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.029 away. Black text reads best on it, at 7.12:1.
| Hue family | Purples |
| Lightness | medium-light (69%) |
| Chroma | vivid (0.174) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.12:1 |
| White text | 2.94:1 |
Values
| HEX | #AF7EF5 |
| RGB | rgb(175, 126, 245) |
| HSL | hsl(265, 86%, 73%) |
| OKLCH | oklch(69.2% 0.174 301) |
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 #AF7EF5 | 2.94:1 | Fails | Lc -61.1 | Content text, not long reading |
| Black text on #AF7EF5 | 7.12:1 | AAA | Lc 48.3 | Large or bold text, headings |
| #AF7EF5 text on white | 2.94:1 | Fails | Lc 55.7 | Large or bold text, headings |
| #AF7EF5 text on black | 7.12:1 | AAA | Lc -46.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
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EDE5FC
oklch(93.5% 0.032 301.6)
-
Step 200
200
#DFD1FB
oklch(88.5% 0.059 300.4)
-
Step 300
300
#CCB0FC
oklch(80.8% 0.109 300.9)
-
Step 400
400 (this color)
#AF7EF5
oklch(69.2% 0.174 301)
-
Step 500
500
#A35DF7
oklch(63.2% 0.221 301.2)
-
Step 600
600
#8F3AE6
oklch(55.6% 0.241 301.2)
-
Step 700
700
#7A2AC8
oklch(49.2% 0.224 301.1)
-
Step 800
800
#6326A2
oklch(42.8% 0.186 301)
-
Step 900
900
#502680
oklch(37.6% 0.144 301.1)
-
Step 950
950
#2F184B
oklch(27.1% 0.091 301.3)
#AF7EF5 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) | #5896F9 | 0.120 |
| Deuteranopia (no green cones) | #6596F2 | 0.110 |
| Tritanopia (no blue cones) | #A294AE | 0.134 |
| Achromatopsia (no color) | #969696 | 0.175 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7EF5
#AF7EF5
oklch(69.2% 0.174 301)
- #8DAA00
#8DAA00
oklch(69.1% 0.166 121.1)
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 #AF7EF5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.029
- Light Urple #B36FF6 ΔE 0.033
- Easter Purple #C071FE ΔE 0.041
- Periwinkle #8E82FE ΔE 0.052
- Liliac #C48EFD ΔE 0.053
- Lavender Blue #8B88F8 ΔE 0.057
- Perrywinkle #8F8CE7 ΔE 0.062
- Medium Purple #9370DB ΔE 0.068
Use #AF7EF5 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.