#AF4DFE
Closest named color: Lighter Purple (#A55AF4). oklch(63% 0.251 305.6), rgb(175, 77, 254).
Aa
Black text reads best on this color (5.31:1).
About this color
#AF4DFE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.251 and its hue 306°. 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.31:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.251) |
| Temperature | in between |
| Nearest name | Lighter Purple (#A55AF4) |
| Black text | 5.31:1 |
| White text | 3.95:1 |
Values
| HEX | #AF4DFE |
| RGB | rgb(175, 77, 254) |
| HSL | hsl(273, 99%, 65%) |
| OKLCH | oklch(63% 0.251 305.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 #AF4DFE | 3.95:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #AF4DFE | 5.31:1 | AA | Lc 38.1 | Non-text elements, placeholder text |
| #AF4DFE text on white | 3.95:1 | AA large text | Lc 66.0 | Content text, not long reading |
| #AF4DFE text on black | 5.31: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)
#AF4DFE
oklch(63% 0.251 305.6)
-
Step 600
600
#9B1DED
oklch(55.5% 0.272 305.5)
-
Step 700
700
#8502CE
oklch(49.1% 0.253 305.7)
-
Step 800
800
#6C10A7
oklch(42.7% 0.21 305.6)
-
Step 900
900
#571C84
oklch(37.7% 0.163 305.5)
-
Step 950
950
#33134D
oklch(27% 0.103 305.9)
#AF4DFE 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) | #0080FA | 0.198 |
| Tritanopia (no blue cones) | #A176A1 | 0.178 |
| Achromatopsia (no color) | #808080 | 0.253 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF4DFE
#AF4DFE
oklch(63% 0.251 305.6)
- #729900
#729900
oklch(63.1% 0.16 125.6)
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 #AF4DFE, closest first.
No curated palette has a color within ΔE 0.04 of #AF4DFE.
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 #AF4DFE 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.