#AB4DBA

Closest named color: Amethyst (#9B5FC0). oklch(58.2% 0.183 322), rgb(171, 77, 186).

Aa

White text reads best on this color (4.66:1).

About this color

#AB4DBA is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.183 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.044 away. White text reads best on it, at 4.66:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.183)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.50:1
White text4.66:1

Values

HEX#AB4DBA
RGBrgb(171, 77, 186)
HSLhsl(292, 44%, 52%)
OKLCHoklch(58.2% 0.183 322)

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 #AB4DBA 4.66:1 AA Lc -77.3 Fine for body text
Black text on #AB4DBA 4.50:1 AA Lc 32.3 Non-text elements, placeholder text
#AB4DBA text on white 4.66:1 AA Lc 71.8 Content text, not long reading
#AB4DBA text on black 4.50:1 AA Lc -29.9 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F4

    oklch(93.7% 0.024 321.7)

  3. Step 200

    200

    #E8D0EC

    oklch(88.6% 0.046 321.4)

  4. Step 300

    300

    #DAAFE1

    oklch(80.8% 0.083 321.6)

  5. Step 400

    400

    #C783D1

    oklch(70.7% 0.133 322.2)

  6. Step 500

    500

    #B761C5

    oklch(63% 0.169 321.9)

  7. Step 600

    600 (this color)

    #AB4DBA

    oklch(58.2% 0.183 322)

  8. Step 700

    700

    #8B3599

    oklch(49.1% 0.171 321.8)

  9. Step 800

    800

    #712D7C

    oklch(42.7% 0.142 321.9)

  10. Step 900

    900

    #5C2A64

    oklch(37.8% 0.11 321.9)

  11. Step 950

    950

    #36193A

    oklch(27% 0.07 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB4DBA 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)#386DBD0.178
Deuteranopia (no green cones)#5A78B70.155
Tritanopia (no blue cones)#AD5D7C0.112
Achromatopsia (no color)#7474740.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4DBA

    #AB4DBA

    oklch(58.2% 0.183 322)

  • #239419

    #239419

    oklch(58.3% 0.183 142)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4DBA

    #AB4DBA

    oklch(58.2% 0.183 322)

  • #805FDC

    #805FDC

    oklch(58.2% 0.183 291.9)

  • #C64086

    #C64086

    oklch(58.2% 0.182 352.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB4DBA

    #AB4DBA

    oklch(58.2% 0.183 322)

  • #7E8200

    #7E8200

    oklch(58.4% 0.129 111.9)

  • #009073

    #009073

    oklch(58.2% 0.113 171.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4DBA

    #AB4DBA

    oklch(58.2% 0.183 322)

  • #9E7300

    #9E7300

    oklch(58.3% 0.12 82.4)

  • #008C94

    #008C94

    oklch(58.3% 0.099 201.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4DBA

    #AB4DBA

    oklch(58.2% 0.183 322)

  • #BD5C00

    #BD5C00

    oklch(58.2% 0.149 52.3)

  • #239419

    #239419

    oklch(58.3% 0.183 142)

  • #0086B5

    #0086B5

    oklch(58.2% 0.119 232.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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