#AB4E9B

Closest named color: Light Plum (#9D5783). oklch(56.8% 0.154 334.4), rgb(171, 78, 155).

Aa

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

About this color

#AB4E9B is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.154 and its hue 334°. 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.88:1.

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

Values

HEX#AB4E9B
RGBrgb(171, 78, 155)
HSLhsl(310, 37%, 49%)
OKLCHoklch(56.8% 0.154 334.4)

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 #AB4E9B 4.88:1 AA Lc -78.8 Fine for body text
Black text on #AB4E9B 4.29:1 AA large text Lc 30.7 Non-text elements, placeholder text
#AB4E9B text on white 4.88:1 AA Lc 73.4 Content text, not long reading
#AB4E9B text on black 4.29:1 AA large text Lc -28.3 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

    #EAD0E4

    oklch(88.5% 0.039 333.8)

  4. Step 300

    300

    #DDB0D3

    oklch(80.8% 0.07 334.1)

  5. Step 400

    400

    #CB86BD

    oklch(70.8% 0.111 334.3)

  6. Step 500

    500

    #BC65AC

    oklch(63.1% 0.142 334.4)

  7. Step 600

    600 (this color)

    #AB4E9B

    oklch(56.8% 0.154 334.4)

  8. Step 700

    700

    #8F3B81

    oklch(49.1% 0.143 334.5)

  9. Step 800

    800

    #743169

    oklch(42.6% 0.119 334.2)

  10. Step 900

    900

    #5E2C55

    oklch(37.6% 0.093 334.5)

  11. Step 950

    950

    #371A32

    oklch(26.9% 0.059 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB4E9B 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)#4D689E0.159
Deuteranopia (no green cones)#6976980.141
Tritanopia (no blue cones)#B2536D0.078
Achromatopsia (no color)#7171710.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4E9B

    #AB4E9B

    oklch(56.8% 0.154 334.4)

  • #008E4F

    #008E4F

    oklch(56.8% 0.142 154.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4E9B

    #AB4E9B

    oklch(56.8% 0.154 334.4)

  • #8C5BBF

    #8C5BBF

    oklch(56.9% 0.154 304.6)

  • #BD476B

    #BD476B

    oklch(56.7% 0.155 4.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB4E9B

    #AB4E9B

    oklch(56.8% 0.154 334.4)

  • #658400

    #658400

    oklch(56.8% 0.142 124.4)

  • #008A7E

    #008A7E

    oklch(56.9% 0.101 184.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4E9B

    #AB4E9B

    oklch(56.8% 0.154 334.4)

  • #8D7500

    #8D7500

    oklch(56.8% 0.117 94.6)

  • #00859B

    #00859B

    oklch(56.7% 0.1 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4E9B

    #AB4E9B

    oklch(56.8% 0.154 334.4)

  • #A96400

    #A96400

    oklch(56.8% 0.128 64.8)

  • #008E4F

    #008E4F

    oklch(56.8% 0.142 154.5)

  • #007DC3

    #007DC3

    oklch(56.8% 0.141 244.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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