#AB4ABB

Closest named color: Purply (#983FB2). oklch(57.9% 0.189 321.8), rgb(171, 74, 187).

Aa

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

About this color

#AB4ABB is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.189 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.045 away. White text reads best on it, at 4.74:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.189)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.42:1
White text4.74:1

Values

HEX#AB4ABB
RGBrgb(171, 74, 187)
HSLhsl(292, 45%, 51%)
OKLCHoklch(57.9% 0.189 321.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 #AB4ABB 4.74:1 AA Lc -77.7 Fine for body text
Black text on #AB4ABB 4.42:1 AA large text Lc 31.8 Non-text elements, placeholder text
#AB4ABB text on white 4.74:1 AA Lc 72.3 Content text, not long reading
#AB4ABB text on black 4.42:1 AA large text Lc -29.4 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

    #E8CFEC

    oklch(88.4% 0.048 321.6)

  4. Step 300

    300

    #DBAFE2

    oklch(81% 0.085 321.7)

  5. Step 400

    400

    #C882D3

    oklch(70.7% 0.137 322)

  6. Step 500

    500

    #B860C7

    oklch(63.1% 0.173 321.6)

  7. Step 600

    600 (this color)

    #AB4ABB

    oklch(57.9% 0.189 321.8)

  8. Step 700

    700

    #8C339A

    oklch(49.1% 0.175 322)

  9. Step 800

    800

    #722C7D

    oklch(42.8% 0.145 322)

  10. Step 900

    900

    #5C2965

    oklch(37.7% 0.113 321.4)

  11. Step 950

    950

    #36193B

    oklch(27.1% 0.071 321.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB4ABB 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)#326CBE0.185
Deuteranopia (no green cones)#5777B80.161
Tritanopia (no blue cones)#AD5B7C0.114
Achromatopsia (no color)#7373730.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4ABB

    #AB4ABB

    oklch(57.9% 0.189 321.8)

  • #1C930D

    #1C930D

    oklch(57.8% 0.188 141.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4ABB

    #AB4ABB

    oklch(57.9% 0.189 321.8)

  • #805DDE

    #805DDE

    oklch(58% 0.188 292)

  • #C73C86

    #C73C86

    oklch(58% 0.188 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB4ABB

    #AB4ABB

    oklch(57.9% 0.189 321.8)

  • #7D8100

    #7D8100

    oklch(58% 0.128 111.9)

  • #008F72

    #008F72

    oklch(57.9% 0.113 171.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4ABB

    #AB4ABB

    oklch(57.9% 0.189 321.8)

  • #9D7200

    #9D7200

    oklch(58% 0.119 82.2)

  • #008B93

    #008B93

    oklch(58% 0.099 202)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4ABB

    #AB4ABB

    oklch(57.9% 0.189 321.8)

  • #BC5B00

    #BC5B00

    oklch(57.9% 0.149 52.1)

  • #1C930D

    #1C930D

    oklch(57.8% 0.188 141.8)

  • #0085B3

    #0085B3

    oklch(57.9% 0.118 231.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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