#AB4AAC

Closest named color: Purply (#983FB2). oklch(57.1% 0.175 327.2), rgb(171, 74, 172).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.175)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.30:1
White text4.87:1

Values

HEX#AB4AAC
RGBrgb(171, 74, 172)
HSLhsl(299, 40%, 48%)
OKLCHoklch(57.1% 0.175 327.2)

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 #AB4AAC 4.87:1 AA Lc -78.6 Fine for body text
Black text on #AB4AAC 4.30:1 AA large text Lc 30.9 Non-text elements, placeholder text
#AB4AAC text on white 4.87:1 AA Lc 73.2 Content text, not long reading
#AB4AAC text on black 4.30:1 AA large text Lc -28.5 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F3E5F2

    oklch(93.7% 0.023 327.9)

  3. Step 200

    200

    #E9D0E8

    oklch(88.5% 0.042 327.2)

  4. Step 300

    300

    #DDAFDB

    oklch(80.9% 0.079 327.7)

  5. Step 400

    400

    #CA83C9

    oklch(70.6% 0.126 327.3)

  6. Step 500

    500

    #BB62BB

    oklch(63.2% 0.16 327.3)

  7. Step 600

    600 (this color)

    #AB4AAC

    oklch(57.1% 0.175 327.2)

  8. Step 700

    700

    #8E368F

    oklch(49.1% 0.162 327.3)

  9. Step 800

    800

    #742E74

    oklch(42.8% 0.134 327.6)

  10. Step 900

    900

    #5E2A5E

    oklch(37.8% 0.105 327.4)

  11. Step 950

    950

    #371937

    oklch(27% 0.067 327.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB4AAC 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)#3F69AF0.176
Deuteranopia (no green cones)#5F76A90.154
Tritanopia (no blue cones)#B056740.099
Achromatopsia (no color)#7171710.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4AAC

    #AB4AAC

    oklch(57.1% 0.175 327.2)

  • #009134

    #009134

    oklch(57.2% 0.169 147.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4AAC

    #AB4AAC

    oklch(57.1% 0.175 327.2)

  • #855AD0

    #855AD0

    oklch(57% 0.175 297.3)

  • #C33F79

    #C33F79

    oklch(57.2% 0.175 357.2)

Open the analogous palette in the generator

Split complementary

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

  • #AB4AAC

    #AB4AAC

    oklch(57.1% 0.175 327.2)

  • #738100

    #738100

    oklch(57.2% 0.132 117.1)

  • #008C77

    #008C77

    oklch(57.2% 0.106 177.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4AAC

    #AB4AAC

    oklch(57.1% 0.175 327.2)

  • #957200

    #957200

    oklch(57.1% 0.117 87.2)

  • #008795

    #008795

    oklch(57% 0.098 207.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4AAC

    #AB4AAC

    oklch(57.1% 0.175 327.2)

  • #B25E00

    #B25E00

    oklch(57% 0.138 57.1)

  • #009134

    #009134

    oklch(57.2% 0.169 147.2)

  • #0081B8

    #0081B8

    oklch(57.2% 0.125 237.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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