#AB5FB5

Closest named color: Amethyst (#9B5FC0). oklch(60.5% 0.15 322.8), rgb(171, 95, 181).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.150)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text5.03:1
White text4.17:1

Values

HEX#AB5FB5
RGBrgb(171, 95, 181)
HSLhsl(293, 37%, 54%)
OKLCHoklch(60.5% 0.15 322.8)

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 #AB5FB5 4.17:1 AA large text Lc -73.9 Content text, not long reading
Black text on #AB5FB5 5.03:1 AA Lc 35.7 Non-text elements, placeholder text
#AB5FB5 text on white 4.17:1 AA large text Lc 68.4 Content text, not long reading
#AB5FB5 text on black 5.03:1 AA Lc -33.3 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F2

    oklch(93.5% 0.022 323.4)

  3. Step 200

    200

    #E7D1E9

    oklch(88.6% 0.04 323.3)

  4. Step 300

    300

    #D8B1DD

    oklch(80.9% 0.074 322.5)

  5. Step 400

    400

    #C387CB

    oklch(70.6% 0.117 322.6)

  6. Step 500

    500 (this color)

    #AB5FB5

    oklch(60.5% 0.15 322.8)

  7. Step 600

    600

    #9F4CAA

    oklch(55.7% 0.163 322.8)

  8. Step 700

    700

    #873C92

    oklch(49% 0.152 322.4)

  9. Step 800

    800

    #6E3376

    oklch(42.7% 0.124 322.7)

  10. Step 900

    900

    #592D5F

    oklch(37.6% 0.097 322.7)

  11. Step 950

    950

    #341B38

    oklch(26.9% 0.062 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#AB5FB5 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)#5476B80.139
Deuteranopia (no green cones)#6A7FB20.124
Tritanopia (no blue cones)#AD6A820.091
Achromatopsia (no color)#7C7C7C0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5FB5

    #AB5FB5

    oklch(60.5% 0.15 322.8)

  • #43973F

    #43973F

    oklch(60.4% 0.149 142.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5FB5

    #AB5FB5

    oklch(60.5% 0.15 322.8)

  • #866DD2

    #866DD2

    oklch(60.4% 0.15 292.8)

  • #C3568A

    #C3568A

    oklch(60.5% 0.15 352.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB5FB5

    #AB5FB5

    oklch(60.5% 0.15 322.8)

  • #838900

    #838900

    oklch(60.5% 0.135 112.8)

  • #00987B

    #00987B

    oklch(60.6% 0.117 172.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5FB5

    #AB5FB5

    oklch(60.5% 0.15 322.8)

  • #A67900

    #A67900

    oklch(60.5% 0.125 82.4)

  • #00939D

    #00939D

    oklch(60.4% 0.103 203.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5FB5

    #AB5FB5

    oklch(60.5% 0.15 322.8)

  • #C4630E

    #C4630E

    oklch(60.4% 0.149 52.9)

  • #43973F

    #43973F

    oklch(60.4% 0.149 142.7)

  • #008DBF

    #008DBF

    oklch(60.5% 0.124 232.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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