#AB4A9A

Closest named color: Light Plum (#9D5783). oklch(56.2% 0.16 334.8), rgb(171, 74, 154).

Aa

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

About this color

#AB4A9A is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.160 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.056 away. White text reads best on it, at 5.02:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.160)
Temperaturein between
Nearest nameLight Plum (#9D5783)
Black text4.17:1
White text5.02:1

Values

HEX#AB4A9A
RGBrgb(171, 74, 154)
HSLhsl(311, 40%, 48%)
OKLCHoklch(56.2% 0.16 334.8)

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 #AB4A9A 5.02:1 AA Lc -79.6 Fine for body text
Black text on #AB4A9A 4.17:1 AA large text Lc 29.9 Dividers and decoration only
#AB4A9A text on white 5.02:1 AA Lc 74.2 Content text, not long reading
#AB4A9A text on black 4.17:1 AA large text Lc -27.5 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 600.

  1. Step 50

    50

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5EF

    oklch(93.6% 0.02 335.7)

  3. Step 200

    200

    #EBD0E4

    oklch(88.6% 0.04 335)

  4. Step 300

    300

    #DEB0D3

    oklch(80.9% 0.07 334.8)

  5. Step 400

    400

    #CD84BD

    oklch(70.7% 0.116 335.1)

  6. Step 500

    500

    #BE63AD

    oklch(63.1% 0.148 334.6)

  7. Step 600

    600 (this color)

    #AB4A9A

    oklch(56.2% 0.16 334.8)

  8. Step 700

    700

    #913982

    oklch(49.2% 0.149 334.8)

  9. Step 800

    800

    #763069

    oklch(42.8% 0.122 335.3)

  10. Step 900

    900

    #5F2B56

    oklch(37.7% 0.096 334.3)

  11. Step 950

    950

    #381A32

    oklch(27% 0.06 335)

Export this scale for Tailwind in the Tailwind colors tool

#AB4A9A 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)#4A669D0.165
Deuteranopia (no green cones)#6774970.146
Tritanopia (no blue cones)#B3506B0.081
Achromatopsia (no color)#6F6F6F0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4A9A

    #AB4A9A

    oklch(56.2% 0.16 334.8)

  • #008C4E

    #008C4E

    oklch(56.2% 0.14 154.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4A9A

    #AB4A9A

    oklch(56.2% 0.16 334.8)

  • #8B58BF

    #8B58BF

    oklch(56.3% 0.159 304.7)

  • #BD4369

    #BD4369

    oklch(56.2% 0.159 4.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB4A9A

    #AB4A9A

    oklch(56.2% 0.16 334.8)

  • #638200

    #638200

    oklch(56.2% 0.141 124.6)

  • #00887C

    #00887C

    oklch(56.3% 0.1 184.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4A9A

    #AB4A9A

    oklch(56.2% 0.16 334.8)

  • #8B7300

    #8B7300

    oklch(56.2% 0.115 94.4)

  • #008399

    #008399

    oklch(56.1% 0.099 215)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4A9A

    #AB4A9A

    oklch(56.2% 0.16 334.8)

  • #A76300

    #A76300

    oklch(56.3% 0.126 65)

  • #008C4E

    #008C4E

    oklch(56.2% 0.14 154.6)

  • #007BC1

    #007BC1

    oklch(56.3% 0.14 244.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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