#AB2FAE

Closest named color: Purply (#983FB2). oklch(54.4% 0.212 327), rgb(171, 47, 174).

Aa

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

About this color

#AB2FAE is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.212 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.041 away. White text reads best on it, at 5.60:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.212)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.74:1
White text5.60:1

Values

HEX#AB2FAE
RGBrgb(171, 47, 174)
HSLhsl(299, 57%, 43%)
OKLCHoklch(54.4% 0.212 327)

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 #AB2FAE 5.60:1 AA Lc -82.1 Fine for body text
Black text on #AB2FAE 3.74:1 AA large text Lc 27.3 Dividers and decoration only
#AB2FAE text on white 5.60:1 AA Lc 76.8 Fine for body text
#AB2FAE text on black 3.74:1 AA large text Lc -24.9 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #EDCDEC

    oklch(88.4% 0.054 327)

  4. Step 300

    300

    #E2ABE1

    oklch(80.9% 0.096 327)

  5. Step 400

    400

    #D27CD2

    oklch(70.8% 0.153 327)

  6. Step 500

    500

    #C455C5

    oklch(63.1% 0.195 327.2)

  7. Step 600

    600 (this color)

    #AB2FAE

    oklch(54.4% 0.212 327)

  8. Step 700

    700

    #962499

    oklch(49.1% 0.197 326.9)

  9. Step 800

    800

    #7A217C

    oklch(42.7% 0.163 327)

  10. Step 900

    900

    #632264

    oklch(37.8% 0.128 327.1)

  11. Step 950

    950

    #3A153A

    oklch(26.9% 0.08 327.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB2FAE 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)#105EB10.226
Deuteranopia (no green cones)#4F6DAB0.190
Tritanopia (no blue cones)#B0446C0.120
Achromatopsia (no color)#6868680.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2FAE

    #AB2FAE

    oklch(54.4% 0.212 327)

  • #00872F

    #00872F

    oklch(54.3% 0.161 147)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2FAE

    #AB2FAE

    oklch(54.4% 0.212 327)

  • #8146D9

    #8146D9

    oklch(54.4% 0.212 297.2)

  • #C61672

    #C61672

    oklch(54.5% 0.212 356.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB2FAE

    #AB2FAE

    oklch(54.4% 0.212 327)

  • #6B7800

    #6B7800

    oklch(54.3% 0.125 117)

  • #00836F

    #00836F

    oklch(54.5% 0.101 177)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2FAE

    #AB2FAE

    oklch(54.4% 0.212 327)

  • #8C6A00

    #8C6A00

    oklch(54.3% 0.111 86.4)

  • #007F8B

    #007F8B

    oklch(54.5% 0.093 206.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2FAE

    #AB2FAE

    oklch(54.4% 0.212 327)

  • #A75800

    #A75800

    oklch(54.4% 0.131 57.2)

  • #00872F

    #00872F

    oklch(54.3% 0.161 147)

  • #0078AC

    #0078AC

    oklch(54.3% 0.119 237.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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