#AF51FA
Closest named color: Lighter Purple (#A55AF4). oklch(63.2% 0.242 306.1), rgb(175, 81, 250).
Aa
Black text reads best on this color (5.38:1).
About this color
#AF51FA is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.242 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.024 away. Black text reads best on it, at 5.38:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.242) |
| Temperature | in between |
| Nearest name | Lighter Purple (#A55AF4) |
| Black text | 5.38:1 |
| White text | 3.90:1 |
Values
| HEX | #AF51FA |
| RGB | rgb(175, 81, 250) |
| HSL | hsl(273, 94%, 65%) |
| OKLCH | oklch(63.2% 0.242 306.1) |
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 #AF51FA | 3.90:1 | AA large text | Lc -71.2 | Content text, not long reading |
| Black text on #AF51FA | 5.38:1 | AA | Lc 38.4 | Non-text elements, placeholder text |
| #AF51FA text on white | 3.90:1 | AA large text | Lc 65.7 | Content text, not long reading |
| #AF51FA text on black | 5.38:1 | AA | Lc -36.0 | 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
#F8F3FE
oklch(97.1% 0.015 306.4)
-
Step 100
100
#EFE4FD
oklch(93.5% 0.035 305.5)
-
Step 200
200
#E4CFFC
oklch(88.6% 0.065 306.2)
-
Step 300
300
#D4ACFD
oklch(80.9% 0.119 306.5)
-
Step 400
400
#BE7CFC
oklch(70.7% 0.189 306)
-
Step 500
500 (this color)
#AF51FA
oklch(63.2% 0.242 306.1)
-
Step 600
600
#9B26E8
oklch(55.6% 0.263 306.2)
-
Step 700
700
#8411CA
oklch(49% 0.244 306)
-
Step 800
800
#6B17A3
oklch(42.6% 0.202 306)
-
Step 900
900
#571E82
oklch(37.7% 0.158 306)
-
Step 950
950
#33144C
oklch(27% 0.1 306.2)
#AF51FA 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) | #007EFF | 0.194 |
| Deuteranopia (no green cones) | #1A81F6 | 0.191 |
| Tritanopia (no blue cones) | #A277A0 | 0.172 |
| Achromatopsia (no color) | #818181 | 0.244 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF51FA
#AF51FA
oklch(63.2% 0.242 306.1)
- #719A00
#719A00
oklch(63.2% 0.161 126.2)
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 #AF51FA, closest first.
No curated palette has a color within ΔE 0.04 of #AF51FA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lighter Purple #A55AF4 ΔE 0.024
- Bright Lavender #C760FF ΔE 0.054
- Bright Lilac #C95EFB ΔE 0.056
- Light Urple #B36FF6 ΔE 0.060
- Electric Purple #AA23FF ΔE 0.060
- Medium Orchid #BA55D3 ΔE 0.065
- Neon Purple #BC13FE ΔE 0.066
- Easter Purple #C071FE ΔE 0.071
Use #AF51FA 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.