#AB5AB9

Closest named color: Amethyst (#9B5FC0). oklch(59.9% 0.162 321.6), rgb(171, 90, 185).

Aa

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

About this color

#AB5AB9 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.162 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.031 away. Black text reads best on it, at 4.89:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.162)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.89:1
White text4.29:1

Values

HEX#AB5AB9
RGBrgb(171, 90, 185)
HSLhsl(291, 40%, 54%)
OKLCHoklch(59.9% 0.162 321.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 #AB5AB9 4.29:1 AA large text Lc -74.8 Content text, not long reading
Black text on #AB5AB9 4.89:1 AA Lc 34.8 Non-text elements, placeholder text
#AB5AB9 text on white 4.29:1 AA large text Lc 69.3 Content text, not long reading
#AB5AB9 text on black 4.89:1 AA Lc -32.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E7D0EB

    oklch(88.5% 0.044 321.2)

  4. Step 300

    300

    #D9B0E0

    oklch(80.9% 0.08 321.4)

  5. Step 400

    400

    #C585D0

    oklch(70.7% 0.127 321.5)

  6. Step 500

    500 (this color)

    #AB5AB9

    oklch(59.9% 0.162 321.6)

  7. Step 600

    600

    #A048B0

    oklch(55.6% 0.176 321.2)

  8. Step 700

    700

    #893897

    oklch(49.1% 0.164 321.5)

  9. Step 800

    800

    #6F2F7A

    oklch(42.6% 0.136 321.6)

  10. Step 900

    900

    #5A2B63

    oklch(37.7% 0.106 321)

  11. Step 950

    950

    #351A3A

    oklch(27% 0.067 321.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB5AB9 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)#4B74BC0.152
Deuteranopia (no green cones)#647DB60.134
Tritanopia (no blue cones)#AD67810.100
Achromatopsia (no color)#7A7A7A0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5AB9

    #AB5AB9

    oklch(59.9% 0.162 321.6)

  • #3D9732

    #3D9732

    oklch(60% 0.162 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5AB9

    #AB5AB9

    oklch(59.9% 0.162 321.6)

  • #836AD7

    #836AD7

    oklch(60% 0.161 291.3)

  • #C54F8B

    #C54F8B

    oklch(60% 0.163 351.5)

Open the analogous palette in the generator

Split complementary

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

  • #AB5AB9

    #AB5AB9

    oklch(59.9% 0.162 321.6)

  • #838700

    #838700

    oklch(60% 0.133 111.9)

  • #009677

    #009677

    oklch(59.9% 0.117 171.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5AB9

    #AB5AB9

    oklch(59.9% 0.162 321.6)

  • #A57700

    #A57700

    oklch(60% 0.124 81.5)

  • #00929A

    #00929A

    oklch(60.1% 0.102 201.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5AB9

    #AB5AB9

    oklch(59.9% 0.162 321.6)

  • #C55F00

    #C55F00

    oklch(59.9% 0.155 51.7)

  • #3D9732

    #3D9732

    oklch(60% 0.162 141.5)

  • #008CBB

    #008CBB

    oklch(60% 0.121 231)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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