#AB2D98

Closest named color: Warm Purple (#952E8F). oklch(53% 0.198 334.9), rgb(171, 45, 152).

Aa

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

About this color

#AB2D98 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.198 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.045 away. White text reads best on it, at 5.89:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.198)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.56:1
White text5.89:1

Values

HEX#AB2D98
RGBrgb(171, 45, 152)
HSLhsl(309, 58%, 42%)
OKLCHoklch(53% 0.198 334.9)

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 #AB2D98 5.89:1 AA Lc -83.6 Fine for body text
Black text on #AB2D98 3.56:1 AA large text Lc 25.7 Dividers and decoration only
#AB2D98 text on white 5.89:1 AA Lc 78.3 Fine for body text
#AB2D98 text on black 3.56:1 AA large text Lc -23.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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EFCDE6

    oklch(88.4% 0.05 335.4)

  4. Step 300

    300

    #E5ABD8

    oklch(80.9% 0.089 334.5)

  5. Step 400

    400

    #D67CC4

    oklch(70.7% 0.143 334.8)

  6. Step 500

    500

    #C957B4

    oklch(63.2% 0.181 335.2)

  7. Step 600

    600 (this color)

    #AB2D98

    oklch(53% 0.198 334.9)

  8. Step 700

    700

    #9A2789

    oklch(49% 0.184 334.8)

  9. Step 800

    800

    #7D236F

    oklch(42.6% 0.152 334.8)

  10. Step 900

    900

    #65235A

    oklch(37.6% 0.118 334.8)

  11. Step 950

    950

    #3C1635

    oklch(27.1% 0.075 335.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB2D98 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)#2C589B0.215
Deuteranopia (no green cones)#596B950.184
Tritanopia (no blue cones)#B3375F0.099
Achromatopsia (no color)#6464640.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2D98

    #AB2D98

    oklch(53% 0.198 334.9)

  • #008148

    #008148

    oklch(53% 0.131 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2D98

    #AB2D98

    oklch(53% 0.198 334.9)

  • #8741C5

    #8741C5

    oklch(53% 0.198 304.8)

  • #C01C5D

    #C01C5D

    oklch(53% 0.198 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB2D98

    #AB2D98

    oklch(53% 0.198 334.9)

  • #5B7800

    #5B7800

    oklch(53% 0.133 124.7)

  • #007D73

    #007D73

    oklch(53% 0.093 185.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2D98

    #AB2D98

    oklch(53% 0.198 334.9)

  • #806A00

    #806A00

    oklch(53% 0.109 94.6)

  • #00798D

    #00798D

    oklch(53% 0.093 214.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2D98

    #AB2D98

    oklch(53% 0.198 334.9)

  • #9A5B00

    #9A5B00

    oklch(53.1% 0.119 65.1)

  • #008148

    #008148

    oklch(53% 0.131 154.8)

  • #0071B3

    #0071B3

    oklch(53% 0.133 245)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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