#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 familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.287)
Temperaturein between
Nearest nameElectric Purple
Black text4.39:1
White text4.77:1

Values

HEX#AA23FF
RGBrgb(170, 35, 255)
HSLhsl(277, 100%, 57%)
OKLCHoklch(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.

PairWCAG 2ResultAPCAAPCA 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.

  1. Step 50

    50

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #F0E4FE

    oklch(93.6% 0.037 306.4)

  3. Step 200

    200

    #E5CEFF

    oklch(88.6% 0.071 306.3)

  4. Step 300

    300

    #D4ACFF

    oklch(80.9% 0.121 305.9)

  5. Step 400

    400

    #C07AFF

    oklch(70.8% 0.196 306.4)

  6. Step 500

    500

    #B14AFF

    oklch(63% 0.255 306.3)

  7. Step 600

    600 (this color)

    #AA23FF

    oklch(59.2% 0.287 306.3)

  8. Step 700

    700

    #8600CD

    oklch(49.1% 0.253 306.4)

  9. Step 800

    800

    #6E00AA

    oklch(42.6% 0.22 306.2)

  10. Step 900

    900

    #591687

    oklch(37.7% 0.172 306.2)

  11. Step 950

    950

    #34114F

    oklch(27% 0.108 306.1)

Export this scale for Tailwind in the Tailwind colors tool

#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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#006FFF0.212
Deuteranopia (no green cones)#0073FB0.215
Tritanopia (no blue cones)#9A66990.199
Achromatopsia (no color)#7272720.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)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA23FF

    #AA23FF

    oklch(59.2% 0.287 306.3)

  • #6164FF

    #6164FF

    oklch(59.2% 0.225 276.2)

  • #D300B6

    #D300B6

    oklch(59.2% 0.262 336.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #AA23FF

    #AA23FF

    oklch(59.2% 0.287 306.3)

  • #937D00

    #937D00

    oklch(59.2% 0.122 96.7)

  • #009659

    #009659

    oklch(59.2% 0.143 156.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA23FF

    #AA23FF

    oklch(59.2% 0.287 306.3)

  • #B16B00

    #B16B00

    oklch(59.1% 0.131 66.3)

  • #009187

    #009187

    oklch(59.1% 0.104 186.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA23FF

    #AA23FF

    oklch(59.2% 0.287 306.3)

  • #DB3E00

    #DB3E00

    oklch(59.2% 0.201 36.3)

  • #678D00

    #678D00

    oklch(59.3% 0.151 126.3)

  • #008DA6

    #008DA6

    oklch(59.3% 0.105 216.1)

Open the square palette in the generator

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.

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.