#AB4FA1

Closest named color: Light Plum (#9D5783). oklch(57.2% 0.157 331.7), rgb(171, 79, 161).

Aa

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

About this color

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

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

Values

HEX#AB4FA1
RGBrgb(171, 79, 161)
HSLhsl(307, 37%, 49%)
OKLCHoklch(57.2% 0.157 331.7)

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 #AB4FA1 4.81:1 AA Lc -78.3 Fine for body text
Black text on #AB4FA1 4.36:1 AA large text Lc 31.2 Non-text elements, placeholder text
#AB4FA1 text on white 4.81:1 AA Lc 72.9 Content text, not long reading
#AB4FA1 text on black 4.36:1 AA large text Lc -28.8 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F3E5F0

    oklch(93.6% 0.021 332.9)

  3. Step 200

    200

    #E9D0E5

    oklch(88.4% 0.039 331.2)

  4. Step 300

    300

    #DCB0D5

    oklch(80.8% 0.071 331.7)

  5. Step 400

    400

    #CA86C0

    oklch(70.8% 0.113 332)

  6. Step 500

    500

    #BB65B0

    oklch(63.1% 0.145 332)

  7. Step 600

    600 (this color)

    #AB4FA1

    oklch(57.2% 0.157 331.7)

  8. Step 700

    700

    #8E3B85

    oklch(49.2% 0.146 331.9)

  9. Step 800

    800

    #73316C

    oklch(42.6% 0.121 331.7)

  10. Step 900

    900

    #5D2C58

    oklch(37.6% 0.095 331.2)

  11. Step 950

    950

    #371A33

    oklch(26.9% 0.06 332.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB4FA1 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)#4B6AA40.160
Deuteranopia (no green cones)#67779E0.142
Tritanopia (no blue cones)#B156710.083
Achromatopsia (no color)#7272720.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4FA1

    #AB4FA1

    oklch(57.2% 0.157 331.7)

  • #009047

    #009047

    oklch(57.2% 0.152 151.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4FA1

    #AB4FA1

    oklch(57.2% 0.157 331.7)

  • #8A5DC4

    #8A5DC4

    oklch(57.3% 0.157 301.8)

  • #BF4771

    #BF4771

    oklch(57.2% 0.158 1.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB4FA1

    #AB4FA1

    oklch(57.2% 0.157 331.7)

  • #6B8400

    #6B8400

    oklch(57.3% 0.139 122)

  • #008B7C

    #008B7C

    oklch(57.1% 0.102 181.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4FA1

    #AB4FA1

    oklch(57.2% 0.157 331.7)

  • #917500

    #917500

    oklch(57.3% 0.117 92.1)

  • #00879A

    #00879A

    oklch(57.2% 0.1 211.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4FA1

    #AB4FA1

    oklch(57.2% 0.157 331.7)

  • #AE6300

    #AE6300

    oklch(57.3% 0.132 61.9)

  • #009047

    #009047

    oklch(57.2% 0.152 151.6)

  • #007FC0

    #007FC0

    oklch(57.1% 0.136 242)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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