#AF4DFF
Closest named color: Lighter Purple (#A55AF4). oklch(63.1% 0.252 305.4), rgb(175, 77, 255).
Aa
Black text reads best on this color (5.32:1).
About this color
#AF4DFF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.252 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.031 away. Black text reads best on it, at 5.32:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.252) |
| Temperature | in between |
| Nearest name | Lighter Purple (#A55AF4) |
| Black text | 5.32:1 |
| White text | 3.94:1 |
Values
| HEX | #AF4DFF |
| RGB | rgb(175, 77, 255) |
| HSL | hsl(273, 100%, 65%) |
| OKLCH | oklch(63.1% 0.252 305.4) |
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 #AF4DFF | 3.94:1 | AA large text | Lc -71.4 | Content text, not long reading |
| Black text on #AF4DFF | 5.32:1 | AA | Lc 38.2 | Non-text elements, placeholder text |
| #AF4DFF text on white | 3.94:1 | AA large text | Lc 65.9 | Content text, not long reading |
| #AF4DFF text on black | 5.32:1 | AA | Lc -35.7 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F8F3FF
oklch(97.1% 0.017 304.8)
-
Step 100
100
#EFE4FD
oklch(93.5% 0.035 305.5)
-
Step 200
200
#E4CEFE
oklch(88.5% 0.069 305.8)
-
Step 300
300
#D3ACFF
oklch(80.8% 0.121 305.4)
-
Step 400
400
#BE7BFF
oklch(70.7% 0.193 305.4)
-
Step 500
500 (this color)
#AF4DFF
oklch(63.1% 0.252 305.4)
-
Step 600
600
#9B1CEE
oklch(55.6% 0.274 305.4)
-
Step 700
700
#8500CF
oklch(49.1% 0.254 305.5)
-
Step 800
800
#6C10A7
oklch(42.7% 0.21 305.6)
-
Step 900
900
#571B85
oklch(37.7% 0.165 305.3)
-
Step 950
950
#33134E
oklch(27.1% 0.104 305.3)
#AF4DFF 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) | #007DFF | 0.196 |
| Deuteranopia (no green cones) | #0080FB | 0.198 |
| Tritanopia (no blue cones) | #A077A1 | 0.181 |
| Achromatopsia (no color) | #808080 | 0.254 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF4DFF
#AF4DFF
oklch(63.1% 0.252 305.4)
- #739900
#739900
oklch(63.1% 0.159 125.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 #AF4DFF, closest first.
No curated palette has a color within ΔE 0.04 of #AF4DFF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lighter Purple #A55AF4 ΔE 0.031
- Electric Purple #AA23FF ΔE 0.053
- Bright Lavender #C760FF ΔE 0.058
- Bright Lilac #C95EFB ΔE 0.060
- Neon Purple #BC13FE ΔE 0.060
- Bright Violet #AD0AFD ΔE 0.065
- Bright Purple #BE03FD ΔE 0.066
- Light Urple #B36FF6 ΔE 0.068
Use #AF4DFF 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.