#AB5FBD

Closest named color: Amethyst (#9B5FC0). oklch(60.9% 0.158 319.7), rgb(171, 95, 189).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.158)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text5.10:1
White text4.11:1

Values

HEX#AB5FBD
RGBrgb(171, 95, 189)
HSLhsl(289, 42%, 56%)
OKLCHoklch(60.9% 0.158 319.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 #AB5FBD 4.11:1 AA large text Lc -73.4 Content text, not long reading
Black text on #AB5FBD 5.10:1 AA Lc 36.2 Non-text elements, placeholder text
#AB5FBD text on white 4.11:1 AA large text Lc 67.9 Content text, not long reading
#AB5FBD text on black 5.10:1 AA Lc -33.7 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

    #E6D1EB

    oklch(88.6% 0.042 319.7)

  4. Step 300

    300

    #D7B1E0

    oklch(80.9% 0.077 319.8)

  5. Step 400

    400

    #C286D1

    oklch(70.6% 0.125 319.4)

  6. Step 500

    500 (this color)

    #AB5FBD

    oklch(60.9% 0.158 319.7)

  7. Step 600

    600

    #9D4AB1

    oklch(55.5% 0.172 319.5)

  8. Step 700

    700

    #863B98

    oklch(49.1% 0.159 319.4)

  9. Step 800

    800

    #6D317B

    oklch(42.6% 0.132 319.7)

  10. Step 900

    900

    #592C63

    oklch(37.7% 0.104 320.1)

  11. Step 950

    950

    #341B3A

    oklch(27.1% 0.064 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB5FBD 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)#4F78C00.144
Deuteranopia (no green cones)#6680BA0.129
Tritanopia (no blue cones)#AC6C850.100
Achromatopsia (no color)#7D7D7D0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5FBD

    #AB5FBD

    oklch(60.9% 0.158 319.7)

  • #499833

    #499833

    oklch(60.8% 0.157 139.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5FBD

    #AB5FBD

    oklch(60.9% 0.158 319.7)

  • #836EDA

    #836EDA

    oklch(60.8% 0.159 289.8)

  • #C55590

    #C55590

    oklch(60.9% 0.157 350)

Open the analogous palette in the generator

Split complementary

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

  • #AB5FBD

    #AB5FBD

    oklch(60.9% 0.158 319.7)

  • #898900

    #898900

    oklch(61% 0.133 109.8)

  • #009A77

    #009A77

    oklch(61% 0.122 169.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5FBD

    #AB5FBD

    oklch(60.9% 0.158 319.7)

  • #AA7800

    #AA7800

    oklch(60.8% 0.126 79.4)

  • #00959B

    #00959B

    oklch(60.9% 0.103 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5FBD

    #AB5FBD

    oklch(60.9% 0.158 319.7)

  • #CB600C

    #CB600C

    oklch(61% 0.158 49.7)

  • #499833

    #499833

    oklch(60.8% 0.157 139.5)

  • #008FBD

    #008FBD

    oklch(60.9% 0.121 230)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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