#AF4CFE
Closest named color: Lighter Purple (#A55AF4). oklch(62.9% 0.252 305.7), rgb(175, 76, 254).
Aa
Black text reads best on this color (5.28:1).
About this color
#AF4CFE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.252 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.032 away. Black text reads best on it, at 5.28:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.252) |
| Temperature | in between |
| Nearest name | Lighter Purple (#A55AF4) |
| Black text | 5.28:1 |
| White text | 3.97:1 |
Values
| HEX | #AF4CFE |
| RGB | rgb(175, 76, 254) |
| HSL | hsl(273, 99%, 65%) |
| OKLCH | oklch(62.9% 0.252 305.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 #AF4CFE | 3.97:1 | AA large text | Lc -71.7 | Content text, not long reading |
| Black text on #AF4CFE | 5.28:1 | AA | Lc 37.9 | Non-text elements, placeholder text |
| #AF4CFE text on white | 3.97:1 | AA large text | Lc 66.2 | Content text, not long reading |
| #AF4CFE text on black | 5.28:1 | AA | Lc -35.5 | 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
#D4ACFF
oklch(80.9% 0.121 305.9)
-
Step 400
400
#BE7AFF
oklch(70.6% 0.195 305.6)
-
Step 500
500 (this color)
#AF4CFE
oklch(62.9% 0.252 305.7)
-
Step 600
600
#9C1CEE
oklch(55.7% 0.274 305.7)
-
Step 700
700
#8500CF
oklch(49.1% 0.254 305.5)
-
Step 800
800
#6C0FA7
oklch(42.7% 0.211 305.7)
-
Step 900
900
#571B84
oklch(37.6% 0.164 305.6)
-
Step 950
950
#33134E
oklch(27.1% 0.104 305.3)
#AF4CFE 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.197 |
| Deuteranopia (no green cones) | #0080FA | 0.199 |
| Tritanopia (no blue cones) | #A176A0 | 0.180 |
| Achromatopsia (no color) | #808080 | 0.254 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF4CFE
#AF4CFE
oklch(62.9% 0.252 305.7)
- #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 #AF4CFE, closest first.
No curated palette has a color within ΔE 0.04 of #AF4CFE.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lighter Purple #A55AF4 ΔE 0.032
- Electric Purple #AA23FF ΔE 0.051
- Neon Purple #BC13FE ΔE 0.059
- Bright Lavender #C760FF ΔE 0.059
- Bright Lilac #C95EFB ΔE 0.061
- Bright Violet #AD0AFD ΔE 0.063
- Bright Purple #BE03FD ΔE 0.065
- Light Urple #B36FF6 ΔE 0.069
Use #AF4CFE 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.