#A21588

Closest named color: Warm Purple (#952E8F). oklch(49.1% 0.203 337.7), rgb(162, 21, 136).

Aa

White text reads best on this color (7.00:1).

About this color

#A21588 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.203 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.036 away. White text reads best on it, at 7.00:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.203)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.99:1
White text7.00:1

Values

HEX#A21588
RGBrgb(162, 21, 136)
HSLhsl(311, 77%, 36%)
OKLCHoklch(49.1% 0.203 337.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A21588 7.00:1 AAA Lc -87.6 Fine for body text
Black text on #A21588 2.99:1 Fails Lc 21.5 Dividers and decoration only
#A21588 text on white 7.00:1 AAA Lc 82.5 Fine for body text
#A21588 text on black 2.99:1 Fails Lc -19.4 Dividers and decoration only

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

  1. Step 50

    50

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F2CCE6

    oklch(88.5% 0.054 337.7)

  4. Step 300

    300

    #EBA8D7

    oklch(80.9% 0.099 338)

  5. Step 400

    400

    #DD76C3

    oklch(70.6% 0.158 337.5)

  6. Step 500

    500

    #D14DB3

    oklch(63.1% 0.2 337.8)

  7. Step 600

    600

    #BC269F

    oklch(55.5% 0.219 337.6)

  8. Step 700

    700 (this color)

    #A21588

    oklch(49.1% 0.203 337.7)

  9. Step 800

    800

    #84176E

    oklch(42.7% 0.168 338.1)

  10. Step 900

    900

    #6A1D59

    oklch(37.7% 0.13 338)

  11. Step 950

    950

    #3E1334

    oklch(27% 0.081 337.8)

Export this scale for Tailwind in the Tailwind colors tool

#A21588 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)#1D4C8B0.229
Deuteranopia (no green cones)#5160850.192
Tritanopia (no blue cones)#AB21510.097
Achromatopsia (no color)#5959590.205

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #A21588

    #A21588

    oklch(49.1% 0.203 337.7)

  • #007446

    #007446

    oklch(49.2% 0.116 157.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A21588

    #A21588

    oklch(49.1% 0.203 337.7)

  • #802FB7

    #802FB7

    oklch(49% 0.204 307.5)

  • #B3004C

    #B3004C

    oklch(49.1% 0.197 7.6)

Open the analogous palette in the generator

Split complementary

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

  • #A21588

    #A21588

    oklch(49.1% 0.203 337.7)

  • #4C6D00

    #4C6D00

    oklch(49.1% 0.127 127.5)

  • #007069

    #007069

    oklch(49.1% 0.086 187.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A21588

    #A21588

    oklch(49.1% 0.203 337.7)

  • #716000

    #716000

    oklch(49.1% 0.101 97)

  • #006C82

    #006C82

    oklch(49.1% 0.088 218.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A21588

    #A21588

    oklch(49.1% 0.203 337.7)

  • #885300

    #885300

    oklch(49.1% 0.108 68.1)

  • #007446

    #007446

    oklch(49.2% 0.116 157.5)

  • #0064A7

    #0064A7

    oklch(49.1% 0.132 247.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A21588, closest first.

No curated palette has a color within ΔE 0.04 of #A21588.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

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