#AB5AC4

Closest named color: Amethyst (#9B5FC0). oklch(60.5% 0.173 317.7), rgb(171, 90, 196).

Aa

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

About this color

#AB5AC4 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.173 and its hue 318°. 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.99:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.173)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.99:1
White text4.20:1

Values

HEX#AB5AC4
RGBrgb(171, 90, 196)
HSLhsl(286, 47%, 56%)
OKLCHoklch(60.5% 0.173 317.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 #AB5AC4 4.20:1 AA large text Lc -74.1 Content text, not long reading
Black text on #AB5AC4 4.99:1 AA Lc 35.5 Non-text elements, placeholder text
#AB5AC4 text on white 4.20:1 AA large text Lc 68.6 Content text, not long reading
#AB5AC4 text on black 4.99:1 AA Lc -33.1 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0EE

    oklch(88.5% 0.047 317.1)

  4. Step 300

    300

    #D8B0E5

    oklch(81% 0.085 317.8)

  5. Step 400

    400

    #C384D7

    oklch(70.7% 0.135 317.8)

  6. Step 500

    500 (this color)

    #AB5AC4

    oklch(60.5% 0.173 317.7)

  7. Step 600

    600

    #9F45B9

    oklch(55.6% 0.188 318)

  8. Step 700

    700

    #8736A0

    oklch(49.1% 0.175 317.3)

  9. Step 800

    800

    #6E2E81

    oklch(42.7% 0.144 317.7)

  10. Step 900

    900

    #592A68

    oklch(37.7% 0.113 317.3)

  11. Step 950

    950

    #34193D

    oklch(26.9% 0.072 317.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB5AC4 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)#4376C70.159
Deuteranopia (no green cones)#5E7EC10.140
Tritanopia (no blue cones)#AB6A870.111
Achromatopsia (no color)#7B7B7B0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5AC4

    #AB5AC4

    oklch(60.5% 0.173 317.7)

  • #46981C

    #46981C

    oklch(60.5% 0.173 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5AC4

    #AB5AC4

    oklch(60.5% 0.173 317.7)

  • #7F6BE2

    #7F6BE2

    oklch(60.5% 0.174 287.8)

  • #C84D94

    #C84D94

    oklch(60.5% 0.174 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB5AC4

    #AB5AC4

    oklch(60.5% 0.173 317.7)

  • #8A8600

    #8A8600

    oklch(60.4% 0.13 107.6)

  • #009973

    #009973

    oklch(60.6% 0.123 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5AC4

    #AB5AC4

    oklch(60.5% 0.173 317.7)

  • #AB7600

    #AB7600

    oklch(60.5% 0.126 77.4)

  • #009498

    #009498

    oklch(60.5% 0.103 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5AC4

    #AB5AC4

    oklch(60.5% 0.173 317.7)

  • #CD5B00

    #CD5B00

    oklch(60.5% 0.165 47.9)

  • #46981C

    #46981C

    oklch(60.5% 0.173 137.7)

  • #008FB9

    #008FB9

    oklch(60.7% 0.118 227.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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