#AF7DFF
Closest named color: Light Purple (#BF77F6). oklch(69.6% 0.187 299.2), rgb(175, 125, 255).
Aa
Black text reads best on this color (7.20:1).
About this color
#AF7DFF is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.187 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.030 away. Black text reads best on it, at 7.20:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.187) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.20:1 |
| White text | 2.91:1 |
Values
| HEX | #AF7DFF |
| RGB | rgb(175, 125, 255) |
| HSL | hsl(263, 100%, 75%) |
| OKLCH | oklch(69.6% 0.187 299.2) |
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 #AF7DFF | 2.91:1 | Fails | Lc -60.6 | Content text, not long reading |
| Black text on #AF7DFF | 7.20:1 | AAA | Lc 48.8 | Large or bold text, headings |
| #AF7DFF text on white | 2.91:1 | Fails | Lc 55.3 | Large or bold text, headings |
| #AF7DFF 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
#F7F3FF
oklch(97.1% 0.016 301.2)
-
Step 100
100
#EDE5FE
oklch(93.6% 0.035 300.3)
-
Step 200
200
#DFD0FF
oklch(88.5% 0.066 299.6)
-
Step 300
300
#CBB0FF
oklch(80.9% 0.113 299.6)
-
Step 400
400 (this color)
#AF7DFF
oklch(69.6% 0.187 299.2)
-
Step 500
500
#A15AFF
oklch(63.1% 0.234 299.4)
-
Step 600
600
#8E31F1
oklch(55.6% 0.26 299.3)
-
Step 700
700
#791FD2
oklch(49.1% 0.242 299.3)
-
Step 800
800
#621FAA
oklch(42.7% 0.201 299.1)
-
Step 900
900
#502386
oklch(37.8% 0.155 299.6)
-
Step 950
950
#2E164F
oklch(26.9% 0.1 298.9)
#AF7DFF 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) | #4E97FF | 0.129 |
| Deuteranopia (no green cones) | #5C96FC | 0.118 |
| Tritanopia (no blue cones) | #9E96B2 | 0.146 |
| Achromatopsia (no color) | #979797 | 0.188 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7DFF
#AF7DFF
oklch(69.6% 0.187 299.2)
- #92AA00
#92AA00
oklch(69.5% 0.164 119.3)
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 #AF7DFF, closest first.
No curated palette has a color within ΔE 0.04 of #AF7DFF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.030
- Light Urple #B36FF6 ΔE 0.032
- Easter Purple #C071FE ΔE 0.036
- Periwinkle #8E82FE ΔE 0.051
- Liliac #C48EFD ΔE 0.056
- Lavender Blue #8B88F8 ΔE 0.059
- Bright Lavender #C760FF ΔE 0.067
- Perrywinkle #8F8CE7 ΔE 0.071
Use #AF7DFF 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.