#AB51AD

Closest named color: Amethyst (#9B5FC0). oklch(58.1% 0.165 326.6), rgb(171, 81, 173).

Aa

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

About this color

#AB51AD is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.165 and its hue 327°. 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.65:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.165)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.51:1
White text4.65:1

Values

HEX#AB51AD
RGBrgb(171, 81, 173)
HSLhsl(299, 36%, 50%)
OKLCHoklch(58.1% 0.165 326.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 #AB51AD 4.65:1 AA Lc -77.3 Fine for body text
Black text on #AB51AD 4.51:1 AA Lc 32.3 Non-text elements, placeholder text
#AB51AD text on white 4.65:1 AA Lc 71.8 Content text, not long reading
#AB51AD text on black 4.51:1 AA Lc -29.9 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F2

    oklch(93.6% 0.022 325.8)

  3. Step 200

    200

    #E8D0E8

    oklch(88.5% 0.042 325.9)

  4. Step 300

    300

    #DBB0DA

    oklch(80.9% 0.075 327)

  5. Step 400

    400

    #C785C8

    oklch(70.6% 0.12 326.2)

  6. Step 500

    500

    #B865B9

    oklch(63.1% 0.151 326.8)

  7. Step 600

    600 (this color)

    #AB51AD

    oklch(58.1% 0.165 326.6)

  8. Step 700

    700

    #8B3A8D

    oklch(49% 0.153 326.7)

  9. Step 800

    800

    #713173

    oklch(42.7% 0.126 326.3)

  10. Step 900

    900

    #5C2C5D

    oklch(37.7% 0.099 326.6)

  11. Step 950

    950

    #361A36

    oklch(26.9% 0.063 327.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB51AD 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)#476DB00.163
Deuteranopia (no green cones)#6378AA0.143
Tritanopia (no blue cones)#AF5C770.095
Achromatopsia (no color)#7474740.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB51AD

    #AB51AD

    oklch(58.1% 0.165 326.6)

  • #199338

    #199338

    oklch(58.1% 0.165 146.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB51AD

    #AB51AD

    oklch(58.1% 0.165 326.6)

  • #8660CF

    #8660CF

    oklch(58% 0.165 296.7)

  • #C2477D

    #C2477D

    oklch(58.1% 0.165 356.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB51AD

    #AB51AD

    oklch(58.1% 0.165 326.6)

  • #768400

    #768400

    oklch(58.2% 0.134 116.9)

  • #008F79

    #008F79

    oklch(58.1% 0.108 176.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB51AD

    #AB51AD

    oklch(58.1% 0.165 326.6)

  • #997500

    #997500

    oklch(58.2% 0.119 87)

  • #008B98

    #008B98

    oklch(58.2% 0.1 206.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB51AD

    #AB51AD

    oklch(58.1% 0.165 326.6)

  • #B76000

    #B76000

    oklch(58% 0.141 56.6)

  • #199338

    #199338

    oklch(58.1% 0.165 146.7)

  • #0084BB

    #0084BB

    oklch(58.1% 0.126 236.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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