#A2138A

Closest named color: Warm Purple (#952E8F). oklch(49.1% 0.206 336.9), rgb(162, 19, 138).

Aa

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

About this color

#A2138A is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.206 and its hue 337°. 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.206)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.99:1
White text7.00:1

Values

HEX#A2138A
RGBrgb(162, 19, 138)
HSLhsl(310, 79%, 35%)
OKLCHoklch(49.1% 0.206 336.9)

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 #A2138A 7.00:1 AAA Lc -87.5 Fine for body text
Black text on #A2138A 2.99:1 Fails Lc 21.6 Dividers and decoration only
#A2138A text on white 7.00:1 AAA Lc 82.5 Fine for body text
#A2138A 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

    #F2CCE7

    oklch(88.5% 0.055 336.5)

  4. Step 300

    300

    #EAA8D8

    oklch(80.8% 0.099 336.8)

  5. Step 400

    400

    #DD76C4

    oklch(70.7% 0.159 337)

  6. Step 500

    500

    #D14CB5

    oklch(63.1% 0.203 337)

  7. Step 600

    600

    #BC25A1

    oklch(55.6% 0.221 336.9)

  8. Step 700

    700 (this color)

    #A2138A

    oklch(49.1% 0.206 336.9)

  9. Step 800

    800

    #831670

    oklch(42.6% 0.17 336.7)

  10. Step 900

    900

    #6A1C5B

    oklch(37.7% 0.133 336.6)

  11. Step 950

    950

    #3E1235

    oklch(26.9% 0.084 336.6)

Export this scale for Tailwind in the Tailwind colors tool

#A2138A 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)#194C8D0.232
Deuteranopia (no green cones)#5060870.193
Tritanopia (no blue cones)#AB21520.100
Achromatopsia (no color)#5959590.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2138A

    #A2138A

    oklch(49.1% 0.206 336.9)

  • #007445

    #007445

    oklch(49.2% 0.117 157)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2138A

    #A2138A

    oklch(49.1% 0.206 336.9)

  • #802FB9

    #802FB9

    oklch(49.2% 0.206 307)

  • #B3004E

    #B3004E

    oklch(49.2% 0.197 6.8)

Open the analogous palette in the generator

Split complementary

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

  • #A2138A

    #A2138A

    oklch(49.1% 0.206 336.9)

  • #4D6D00

    #4D6D00

    oklch(49.1% 0.127 127.1)

  • #007069

    #007069

    oklch(49.1% 0.086 187.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2138A

    #A2138A

    oklch(49.1% 0.206 336.9)

  • #716000

    #716000

    oklch(49.1% 0.101 97)

  • #006C81

    #006C81

    oklch(49% 0.088 217.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2138A

    #A2138A

    oklch(49.1% 0.206 336.9)

  • #895200

    #895200

    oklch(49.1% 0.109 66.6)

  • #007445

    #007445

    oklch(49.2% 0.117 157)

  • #0065A5

    #0065A5

    oklch(49.2% 0.128 246.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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