#AB5CBA

Closest named color: Amethyst (#9B5FC0). oklch(60.3% 0.16 321), rgb(171, 92, 186).

Aa

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

About this color

#AB5CBA is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.160 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.030 away. Black text reads best on it, at 4.97:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.160)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.97:1
White text4.22:1

Values

HEX#AB5CBA
RGBrgb(171, 92, 186)
HSLhsl(290, 41%, 55%)
OKLCHoklch(60.3% 0.16 321)

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 #AB5CBA 4.22:1 AA large text Lc -74.3 Content text, not long reading
Black text on #AB5CBA 4.97:1 AA Lc 35.3 Non-text elements, placeholder text
#AB5CBA text on white 4.22:1 AA large text Lc 68.8 Content text, not long reading
#AB5CBA text on black 4.97:1 AA Lc -32.9 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

    #D8B1E0

    oklch(81% 0.077 320.5)

  5. Step 400

    400

    #C486D0

    oklch(70.8% 0.125 320.9)

  6. Step 500

    500 (this color)

    #AB5CBA

    oklch(60.3% 0.16 321)

  7. Step 600

    600

    #9F49B0

    oklch(55.6% 0.174 320.8)

  8. Step 700

    700

    #883997

    oklch(49.1% 0.162 321)

  9. Step 800

    800

    #6F307A

    oklch(42.7% 0.134 321.5)

  10. Step 900

    900

    #5A2C63

    oklch(37.8% 0.104 320.9)

  11. Step 950

    950

    #351A3A

    oklch(27% 0.067 321.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB5CBA 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)#4D75BD0.148
Deuteranopia (no green cones)#657EB70.132
Tritanopia (no blue cones)#AD69830.099
Achromatopsia (no color)#7B7B7B0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5CBA

    #AB5CBA

    oklch(60.3% 0.16 321)

  • #419734

    #419734

    oklch(60.2% 0.159 141.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5CBA

    #AB5CBA

    oklch(60.3% 0.16 321)

  • #836BD8

    #836BD8

    oklch(60.2% 0.161 290.9)

  • #C5528D

    #C5528D

    oklch(60.4% 0.16 351)

Open the analogous palette in the generator

Split complementary

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

  • #AB5CBA

    #AB5CBA

    oklch(60.3% 0.16 321)

  • #858700

    #858700

    oklch(60.2% 0.132 110.8)

  • #009778

    #009778

    oklch(60.2% 0.117 171.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5CBA

    #AB5CBA

    oklch(60.3% 0.16 321)

  • #A77800

    #A77800

    oklch(60.4% 0.125 81.1)

  • #00939A

    #00939A

    oklch(60.3% 0.103 200.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5CBA

    #AB5CBA

    oklch(60.3% 0.16 321)

  • #C85F00

    #C85F00

    oklch(60.3% 0.157 50.9)

  • #419734

    #419734

    oklch(60.2% 0.159 141.1)

  • #008DBC

    #008DBC

    oklch(60.3% 0.121 230.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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