#AB71C2

Closest named color: Soft Purple (#A66FB5). oklch(64% 0.133 315.9), rgb(171, 113, 194).

Aa

Black text reads best on this color (5.87:1).

About this color

#AB71C2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.133 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.021 away. Black text reads best on it, at 5.87:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.87:1
White text3.57:1

Values

HEX#AB71C2
RGBrgb(171, 113, 194)
HSLhsl(283, 40%, 60%)
OKLCHoklch(64% 0.133 315.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 #AB71C2 3.57:1 AA large text Lc -68.6 Content text, not long reading
Black text on #AB71C2 5.87:1 AA Lc 40.9 Non-text elements, placeholder text
#AB71C2 text on white 3.57:1 AA large text Lc 63.2 Content text, not long reading
#AB71C2 text on black 5.87:1 AA Lc -38.5 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E3D2EA

    oklch(88.5% 0.037 316.2)

  4. Step 300

    300

    #D1B4DD

    oklch(80.8% 0.065 316)

  5. Step 400

    400

    #BA8CCC

    oklch(70.6% 0.104 316.2)

  6. Step 500

    500 (this color)

    #AB71C2

    oklch(64% 0.133 315.9)

  7. Step 600

    600

    #9355AB

    oklch(55.6% 0.143 315.9)

  8. Step 700

    700

    #7D4593

    oklch(49.1% 0.133 315.7)

  9. Step 800

    800

    #663977

    oklch(42.7% 0.11 316.1)

  10. Step 900

    900

    #533260

    oklch(37.7% 0.085 315.9)

  11. Step 950

    950

    #311D38

    oklch(26.9% 0.055 317)

Export this scale for Tailwind in the Tailwind colors tool

#AB71C2 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)#6384C50.111
Deuteranopia (no green cones)#7289C00.101
Tritanopia (no blue cones)#AA7C900.089
Achromatopsia (no color)#8787870.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB71C2

    #AB71C2

    oklch(64% 0.133 315.9)

  • #669E48

    #669E48

    oklch(64% 0.132 135.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB71C2

    #AB71C2

    oklch(64% 0.133 315.9)

  • #867ED8

    #867ED8

    oklch(63.9% 0.132 286.1)

  • #C4689D

    #C4689D

    oklch(63.9% 0.133 345.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB71C2

    #AB71C2

    oklch(64% 0.133 315.9)

  • #979010

    #979010

    oklch(63.9% 0.133 106)

  • #02A579

    #02A579

    oklch(64% 0.133 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB71C2

    #AB71C2

    oklch(64% 0.133 315.9)

  • #B97F08

    #B97F08

    oklch(63.9% 0.132 76.2)

  • #00A0A1

    #00A0A1

    oklch(63.9% 0.109 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB71C2

    #AB71C2

    oklch(64% 0.133 315.9)

  • #CC6F41

    #CC6F41

    oklch(63.9% 0.132 45.7)

  • #669E48

    #669E48

    oklch(64% 0.132 135.9)

  • #009AC4

    #009AC4

    oklch(63.9% 0.122 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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