#AB48A0

Closest named color: Purply (#983FB2). oklch(56.3% 0.168 332.1), rgb(171, 72, 160).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.168)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.16:1
White text5.04:1

Values

HEX#AB48A0
RGBrgb(171, 72, 160)
HSLhsl(307, 41%, 48%)
OKLCHoklch(56.3% 0.168 332.1)

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 #AB48A0 5.04:1 AA Lc -79.6 Fine for body text
Black text on #AB48A0 4.16:1 AA large text Lc 29.9 Dividers and decoration only
#AB48A0 text on white 5.04:1 AA Lc 74.2 Content text, not long reading
#AB48A0 text on black 4.16:1 AA large text Lc -27.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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5F0

    oklch(93.6% 0.021 332.9)

  3. Step 200

    200

    #EBCFE6

    oklch(88.5% 0.044 331.9)

  4. Step 300

    300

    #DEAFD6

    oklch(80.8% 0.075 332.2)

  5. Step 400

    400

    #CC83C2

    oklch(70.6% 0.121 331.8)

  6. Step 500

    500

    #BE62B2

    oklch(63.1% 0.154 332.3)

  7. Step 600

    600 (this color)

    #AB48A0

    oklch(56.3% 0.168 332.1)

  8. Step 700

    700

    #913787

    oklch(49.2% 0.156 332.3)

  9. Step 800

    800

    #762E6E

    oklch(42.8% 0.13 332.1)

  10. Step 900

    900

    #5F2A59

    oklch(37.7% 0.101 331.8)

  11. Step 950

    950

    #381934

    oklch(26.9% 0.064 332.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB48A0 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)#4466A30.173
Deuteranopia (no green cones)#63749D0.152
Tritanopia (no blue cones)#B2506D0.089
Achromatopsia (no color)#6F6F6F0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB48A0

    #AB48A0

    oklch(56.3% 0.168 332.1)

  • #008D47

    #008D47

    oklch(56.4% 0.148 152.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB48A0

    #AB48A0

    oklch(56.3% 0.168 332.1)

  • #8957C5

    #8957C5

    oklch(56.3% 0.167 302.3)

  • #BF3F6D

    #BF3F6D

    oklch(56.2% 0.167 2.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB48A0

    #AB48A0

    oklch(56.3% 0.168 332.1)

  • #688100

    #688100

    oklch(56.3% 0.137 122.2)

  • #00887A

    #00887A

    oklch(56.2% 0.101 182.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB48A0

    #AB48A0

    oklch(56.3% 0.168 332.1)

  • #8D7200

    #8D7200

    oklch(56.2% 0.115 92.3)

  • #008497

    #008497

    oklch(56.3% 0.098 212.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB48A0

    #AB48A0

    oklch(56.3% 0.168 332.1)

  • #AA6100

    #AA6100

    oklch(56.4% 0.13 62.2)

  • #008D47

    #008D47

    oklch(56.4% 0.148 152.1)

  • #007CBC

    #007CBC

    oklch(56.2% 0.134 242.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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