#AB4D9F

Closest named color: Light Plum (#9D5783). oklch(56.9% 0.159 332.6), rgb(171, 77, 159).

Aa

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

About this color

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

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

Values

HEX#AB4D9F
RGBrgb(171, 77, 159)
HSLhsl(308, 38%, 49%)
OKLCHoklch(56.9% 0.159 332.6)

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

    #F3E5F0

    oklch(93.6% 0.021 332.9)

  3. Step 200

    200

    #EAD0E5

    oklch(88.5% 0.04 332.4)

  4. Step 300

    300

    #DDB0D5

    oklch(80.9% 0.071 332.4)

  5. Step 400

    400

    #CB85C0

    oklch(70.7% 0.115 332.5)

  6. Step 500

    500

    #BC64B0

    oklch(63.1% 0.147 332.4)

  7. Step 600

    600 (this color)

    #AB4D9F

    oklch(56.9% 0.159 332.6)

  8. Step 700

    700

    #8F3A84

    oklch(49.1% 0.147 332.9)

  9. Step 800

    800

    #74316C

    oklch(42.8% 0.122 332.3)

  10. Step 900

    900

    #5E2C57

    oklch(37.7% 0.094 332.8)

  11. Step 950

    950

    #371A33

    oklch(26.9% 0.06 332.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB4D9F 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)#4A68A20.163
Deuteranopia (no green cones)#67769C0.144
Tritanopia (no blue cones)#B2546F0.083
Achromatopsia (no color)#7171710.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4D9F

    #AB4D9F

    oklch(56.9% 0.159 332.6)

  • #008F49

    #008F49

    oklch(57% 0.149 152.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4D9F

    #AB4D9F

    oklch(56.9% 0.159 332.6)

  • #8A5BC3

    #8A5BC3

    oklch(56.9% 0.159 302.5)

  • #BE456F

    #BE456F

    oklch(56.8% 0.159 2.2)

Open the analogous palette in the generator

Split complementary

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

  • #AB4D9F

    #AB4D9F

    oklch(56.9% 0.159 332.6)

  • #698300

    #698300

    oklch(56.9% 0.139 122.5)

  • #008A7C

    #008A7C

    oklch(56.9% 0.102 182.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4D9F

    #AB4D9F

    oklch(56.9% 0.159 332.6)

  • #8F7400

    #8F7400

    oklch(56.8% 0.116 92.6)

  • #008699

    #008699

    oklch(56.9% 0.099 212)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4D9F

    #AB4D9F

    oklch(56.9% 0.159 332.6)

  • #AC6200

    #AC6200

    oklch(56.8% 0.131 62.1)

  • #008F49

    #008F49

    oklch(57% 0.149 152.4)

  • #007EC0

    #007EC0

    oklch(56.9% 0.136 242.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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