#AA23FF
Named color: Electric Purple. oklch(59.2% 0.287 306.3), rgb(170, 35, 255).
Aa
White text reads best on this color (4.77:1).
About this color
#AA23FF is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.287 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. It is the named color Electric Purple. White text reads best on it, at 4.77:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.287) |
| Temperature | in between |
| Nearest name | Electric Purple |
| Black text | 4.39:1 |
| White text | 4.77:1 |
Values
| HEX | #AA23FF |
| RGB | rgb(170, 35, 255) |
| HSL | hsl(277, 100%, 57%) |
| OKLCH | oklch(59.2% 0.287 306.3) |
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 #AA23FF | 4.77:1 | AA | Lc -76.9 | Fine for body text |
| Black text on #AA23FF | 4.39:1 | AA large text | Lc 32.7 | Non-text elements, placeholder text |
| #AA23FF text on white | 4.77:1 | AA | Lc 71.4 | Content text, not long reading |
| #AA23FF text on black | 4.39:1 | AA large text | Lc -30.3 | 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 600.
-
Step 50
50
#F8F3FF
oklch(97.1% 0.017 304.8)
-
Step 100
100
#F0E4FE
oklch(93.6% 0.037 306.4)
-
Step 200
200
#E5CEFF
oklch(88.6% 0.071 306.3)
-
Step 300
300
#D4ACFF
oklch(80.9% 0.121 305.9)
-
Step 400
400
#C07AFF
oklch(70.8% 0.196 306.4)
-
Step 500
500
#B14AFF
oklch(63% 0.255 306.3)
-
Step 600
600 (this color)
#AA23FF
oklch(59.2% 0.287 306.3)
-
Step 700
700
#8600CD
oklch(49.1% 0.253 306.4)
-
Step 800
800
#6E00AA
oklch(42.6% 0.22 306.2)
-
Step 900
900
#591687
oklch(37.7% 0.172 306.2)
-
Step 950
950
#34114F
oklch(27% 0.108 306.1)
#AA23FF 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) | #006FFF | 0.212 |
| Deuteranopia (no green cones) | #0073FB | 0.215 |
| Tritanopia (no blue cones) | #9A6699 | 0.199 |
| Achromatopsia (no color) | #727272 | 0.289 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AA23FF
#AA23FF
oklch(59.2% 0.287 306.3)
- #678D00
#678D00
oklch(59.3% 0.151 126.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 #AA23FF, closest first.
No curated palette has a color within ΔE 0.04 of #AA23FF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bright Violet #AD0AFD ΔE 0.014
- Neon Purple #BC13FE ΔE 0.035
- Bright Purple #BE03FD ΔE 0.040
- Vivid Purple #9900FA ΔE 0.041
- Vibrant Purple #AD03DE ΔE 0.055
- Hot Purple #CB00F5 ΔE 0.068
- Blue Violet #8A2BE2 ΔE 0.072
- Lighter Purple #A55AF4 ΔE 0.075
Use #AA23FF 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.