#AB4D9A

Closest named color: Light Plum (#9D5783). oklch(56.6% 0.155 334.9), rgb(171, 77, 154).

Aa

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

About this color

#AB4D9A is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.155 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.052 away. White text reads best on it, at 4.92:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.155)
Temperaturein between
Nearest nameLight Plum (#9D5783)
Black text4.25:1
White text4.92:1

Values

HEX#AB4D9A
RGBrgb(171, 77, 154)
HSLhsl(311, 38%, 49%)
OKLCHoklch(56.6% 0.155 334.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 #AB4D9A 4.92:1 AA Lc -79.0 Fine for body text
Black text on #AB4D9A 4.25:1 AA large text Lc 30.5 Non-text elements, placeholder text
#AB4D9A text on white 4.92:1 AA Lc 73.6 Content text, not long reading
#AB4D9A text on black 4.25:1 AA large text Lc -28.1 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

    #EAD0E3

    oklch(88.5% 0.038 335.4)

  4. Step 300

    300

    #DEB0D3

    oklch(80.9% 0.07 334.8)

  5. Step 400

    400

    #CB85BC

    oklch(70.6% 0.112 334.8)

  6. Step 500

    500

    #BD65AB

    oklch(63.1% 0.142 335.3)

  7. Step 600

    600 (this color)

    #AB4D9A

    oklch(56.6% 0.155 334.9)

  8. Step 700

    700

    #903A81

    oklch(49.1% 0.145 334.9)

  9. Step 800

    800

    #753169

    oklch(42.8% 0.12 334.8)

  10. Step 900

    900

    #5F2C55

    oklch(37.8% 0.093 335.2)

  11. Step 950

    950

    #381A32

    oklch(27% 0.06 335)

Export this scale for Tailwind in the Tailwind colors tool

#AB4D9A 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)#4D689C0.160
Deuteranopia (no green cones)#6875970.142
Tritanopia (no blue cones)#B2526D0.077
Achromatopsia (no color)#7070700.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4D9A

    #AB4D9A

    oklch(56.6% 0.155 334.9)

  • #008D50

    #008D50

    oklch(56.5% 0.139 155.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4D9A

    #AB4D9A

    oklch(56.6% 0.155 334.9)

  • #8C5ABE

    #8C5ABE

    oklch(56.6% 0.155 305.1)

  • #BD476A

    #BD476A

    oklch(56.7% 0.154 5.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB4D9A

    #AB4D9A

    oklch(56.6% 0.155 334.9)

  • #648400

    #648400

    oklch(56.8% 0.142 124.8)

  • #00897E

    #00897E

    oklch(56.7% 0.1 185)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4D9A

    #AB4D9A

    oklch(56.6% 0.155 334.9)

  • #8C7400

    #8C7400

    oklch(56.5% 0.116 94.5)

  • #00859B

    #00859B

    oklch(56.7% 0.1 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4D9A

    #AB4D9A

    oklch(56.6% 0.155 334.9)

  • #A86400

    #A86400

    oklch(56.7% 0.127 65.3)

  • #008D50

    #008D50

    oklch(56.5% 0.139 155.1)

  • #007CC3

    #007CC3

    oklch(56.6% 0.142 244.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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