#AB2B9D

Closest named color: Warm Purple (#952E8F). oklch(53.1% 0.203 333), rgb(171, 43, 157).

Aa

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

About this color

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

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

Values

HEX#AB2B9D
RGBrgb(171, 43, 157)
HSLhsl(307, 60%, 42%)
OKLCHoklch(53.1% 0.203 333)

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 #AB2B9D 5.89:1 AA Lc -83.5 Fine for body text
Black text on #AB2B9D 3.56:1 AA large text Lc 25.8 Dividers and decoration only
#AB2B9D text on white 5.89:1 AA Lc 78.2 Fine for body text
#AB2B9D 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

    #F5E4F2

    oklch(93.6% 0.026 331.5)

  3. Step 200

    200

    #EFCDE8

    oklch(88.5% 0.052 333.1)

  4. Step 300

    300

    #E5ABDA

    oklch(80.9% 0.091 333.2)

  5. Step 400

    400

    #D67BC7

    oklch(70.7% 0.147 333.3)

  6. Step 500

    500

    #C855B9

    oklch(63% 0.187 332.9)

  7. Step 600

    600 (this color)

    #AB2B9D

    oklch(53.1% 0.203 333)

  8. Step 700

    700

    #9A258D

    oklch(49.1% 0.189 333.1)

  9. Step 800

    800

    #7D2173

    oklch(42.7% 0.157 332.8)

  10. Step 900

    900

    #65225D

    oklch(37.7% 0.122 332.7)

  11. Step 950

    950

    #3B1536

    oklch(26.9% 0.077 332.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB2B9D 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)#2559A00.221
Deuteranopia (no green cones)#566B9A0.188
Tritanopia (no blue cones)#B339620.105
Achromatopsia (no color)#6464640.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2B9D

    #AB2B9D

    oklch(53.1% 0.203 333)

  • #008243

    #008243

    oklch(53.2% 0.138 152.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2B9D

    #AB2B9D

    oklch(53.1% 0.203 333)

  • #8541CA

    #8541CA

    oklch(53.1% 0.203 302.8)

  • #C11661

    #C11661

    oklch(53% 0.203 2.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB2B9D

    #AB2B9D

    oklch(53.1% 0.203 333)

  • #5E7700

    #5E7700

    oklch(53% 0.13 123)

  • #007E71

    #007E71

    oklch(53.2% 0.095 182.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2B9D

    #AB2B9D

    oklch(53.1% 0.203 333)

  • #826A00

    #826A00

    oklch(53.2% 0.109 93.2)

  • #007A8C

    #007A8C

    oklch(53.2% 0.093 212.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2B9D

    #AB2B9D

    oklch(53.1% 0.203 333)

  • #9C5A00

    #9C5A00

    oklch(53.2% 0.121 63.3)

  • #008243

    #008243

    oklch(53.2% 0.138 152.8)

  • #0072B0

    #0072B0

    oklch(53.1% 0.129 243.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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