#AB5ABB

Closest named color: Amethyst (#9B5FC0). oklch(60% 0.164 320.8), rgb(171, 90, 187).

Aa

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

About this color

#AB5ABB is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.164 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.91:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.164)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.91:1
White text4.27:1

Values

HEX#AB5ABB
RGBrgb(171, 90, 187)
HSLhsl(290, 42%, 54%)
OKLCHoklch(60% 0.164 320.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 #AB5ABB 4.27:1 AA large text Lc -74.6 Content text, not long reading
Black text on #AB5ABB 4.91:1 AA Lc 34.9 Non-text elements, placeholder text
#AB5ABB text on white 4.27:1 AA large text Lc 69.2 Content text, not long reading
#AB5ABB text on black 4.91:1 AA Lc -32.5 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

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0EB

    oklch(88.5% 0.044 321.2)

  4. Step 300

    300

    #D9B0E1

    oklch(80.9% 0.081 320.8)

  5. Step 400

    400

    #C585D1

    oklch(70.8% 0.128 321.1)

  6. Step 500

    500 (this color)

    #AB5ABB

    oklch(60% 0.164 320.8)

  7. Step 600

    600

    #A047B1

    oklch(55.5% 0.178 320.9)

  8. Step 700

    700

    #893899

    oklch(49.2% 0.166 320.7)

  9. Step 800

    800

    #6F2F7C

    oklch(42.7% 0.138 320.6)

  10. Step 900

    900

    #5A2B64

    oklch(37.7% 0.107 320.4)

  11. Step 950

    950

    #351A3A

    oklch(27% 0.067 321.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB5ABB 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)#4A75BE0.153
Deuteranopia (no green cones)#637DB80.135
Tritanopia (no blue cones)#AC67820.101
Achromatopsia (no color)#7A7A7A0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5ABB

    #AB5ABB

    oklch(60% 0.164 320.8)

  • #3F972F

    #3F972F

    oklch(60.1% 0.164 140.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5ABB

    #AB5ABB

    oklch(60% 0.164 320.8)

  • #836AD9

    #836AD9

    oklch(60.1% 0.163 291)

  • #C54F8D

    #C54F8D

    oklch(60% 0.164 350.5)

Open the analogous palette in the generator

Split complementary

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

  • #AB5ABB

    #AB5ABB

    oklch(60% 0.164 320.8)

  • #858700

    #858700

    oklch(60.2% 0.132 110.8)

  • #009677

    #009677

    oklch(59.9% 0.117 171.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5ABB

    #AB5ABB

    oklch(60% 0.164 320.8)

  • #A67700

    #A67700

    oklch(60.1% 0.124 80.9)

  • #009299

    #009299

    oklch(60% 0.102 200.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5ABB

    #AB5ABB

    oklch(60% 0.164 320.8)

  • #C75E00

    #C75E00

    oklch(60% 0.157 50.7)

  • #3F972F

    #3F972F

    oklch(60.1% 0.164 140.8)

  • #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 #AB5ABB, closest first.

Similar named colors

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

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