#AB4CBA

Closest named color: Amethyst (#9B5FC0). oklch(58.1% 0.185 322), rgb(171, 76, 186).

Aa

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

About this color

#AB4CBA is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.185 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.046 away. White text reads best on it, at 4.69:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.185)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.47:1
White text4.69:1

Values

HEX#AB4CBA
RGBrgb(171, 76, 186)
HSLhsl(292, 44%, 51%)
OKLCHoklch(58.1% 0.185 322)

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 #AB4CBA 4.69:1 AA Lc -77.4 Fine for body text
Black text on #AB4CBA 4.47:1 AA large text Lc 32.1 Non-text elements, placeholder text
#AB4CBA text on white 4.69:1 AA Lc 72.0 Content text, not long reading
#AB4CBA text on black 4.47:1 AA large text Lc -29.7 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F4

    oklch(93.7% 0.024 321.7)

  3. Step 200

    200

    #E8D0EC

    oklch(88.6% 0.046 321.4)

  4. Step 300

    300

    #DAAFE1

    oklch(80.8% 0.083 321.6)

  5. Step 400

    400

    #C783D2

    oklch(70.7% 0.134 321.8)

  6. Step 500

    500

    #B861C5

    oklch(63.1% 0.17 322.3)

  7. Step 600

    600 (this color)

    #AB4CBA

    oklch(58.1% 0.185 322)

  8. Step 700

    700

    #8B3599

    oklch(49.1% 0.171 321.8)

  9. Step 800

    800

    #712D7C

    oklch(42.7% 0.142 321.9)

  10. Step 900

    900

    #5C2964

    oklch(37.7% 0.112 322)

  11. Step 950

    950

    #36193A

    oklch(27% 0.07 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB4CBA 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)#366DBD0.181
Deuteranopia (no green cones)#5977B70.157
Tritanopia (no blue cones)#AD5C7C0.112
Achromatopsia (no color)#7474740.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4CBA

    #AB4CBA

    oklch(58.1% 0.185 322)

  • #209416

    #209416

    oklch(58.2% 0.185 142)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4CBA

    #AB4CBA

    oklch(58.1% 0.185 322)

  • #805EDD

    #805EDD

    oklch(58.1% 0.186 291.9)

  • #C63E86

    #C63E86

    oklch(58% 0.185 351.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB4CBA

    #AB4CBA

    oklch(58.1% 0.185 322)

  • #7D8100

    #7D8100

    oklch(58% 0.128 111.9)

  • #009073

    #009073

    oklch(58.2% 0.113 171.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4CBA

    #AB4CBA

    oklch(58.1% 0.185 322)

  • #9E7200

    #9E7200

    oklch(58.1% 0.12 81.6)

  • #008C94

    #008C94

    oklch(58.3% 0.099 201.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4CBA

    #AB4CBA

    oklch(58.1% 0.185 322)

  • #BD5B00

    #BD5B00

    oklch(58.1% 0.15 51.8)

  • #209416

    #209416

    oklch(58.2% 0.185 142)

  • #0086B4

    #0086B4

    oklch(58.2% 0.118 231.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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