#AB71D4

Closest named color: Medium Purple (#9370DB). oklch(64.9% 0.153 309.8), rgb(171, 113, 212).

Aa

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

About this color

#AB71D4 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.153 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.042 away. Black text reads best on it, at 6.04:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.153)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.04:1
White text3.47:1

Values

HEX#AB71D4
RGBrgb(171, 113, 212)
HSLhsl(275, 54%, 64%)
OKLCHoklch(64.9% 0.153 309.8)

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 #AB71D4 3.47:1 AA large text Lc -67.5 Content text, not long reading
Black text on #AB71D4 6.04:1 AA Lc 42.0 Non-text elements, placeholder text
#AB71D4 text on white 3.47:1 AA large text Lc 62.1 Content text, not long reading
#AB71D4 text on black 6.04:1 AA Lc -39.6 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F5

    oklch(93.6% 0.022 309.6)

  3. Step 200

    200

    #E1D2EE

    oklch(88.4% 0.041 309.4)

  4. Step 300

    300

    #CFB4E6

    oklch(80.9% 0.075 309.2)

  5. Step 400

    400

    #B78BD9

    oklch(70.7% 0.12 309.5)

  6. Step 500

    500 (this color)

    #AB71D4

    oklch(64.9% 0.153 309.8)

  7. Step 600

    600

    #9151BB

    oklch(55.6% 0.167 309.9)

  8. Step 700

    700

    #7B41A1

    oklch(49.1% 0.155 309.7)

  9. Step 800

    800

    #643683

    oklch(42.7% 0.129 309.6)

  10. Step 900

    900

    #523069

    oklch(37.8% 0.1 310)

  11. Step 950

    950

    #301D3D

    oklch(27.1% 0.062 310.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB71D4 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)#5987D70.122
Deuteranopia (no green cones)#698BD10.111
Tritanopia (no blue cones)#A681980.110
Achromatopsia (no color)#8A8A8A0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB71D4

    #AB71D4

    oklch(64.9% 0.153 309.8)

  • #6FA02B

    #6FA02B

    oklch(64.8% 0.154 129.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB71D4

    #AB71D4

    oklch(64.9% 0.153 309.8)

  • #7E81EA

    #7E81EA

    oklch(64.9% 0.154 279.9)

  • #CA65AC

    #CA65AC

    oklch(64.8% 0.153 339.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB71D4

    #AB71D4

    oklch(64.9% 0.153 309.8)

  • #A38F00

    #A38F00

    oklch(64.8% 0.134 99.3)

  • #00A96E

    #00A96E

    oklch(64.8% 0.147 159.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB71D4

    #AB71D4

    oklch(64.9% 0.153 309.8)

  • #C47D00

    #C47D00

    oklch(64.9% 0.14 70.2)

  • #00A49E

    #00A49E

    oklch(64.9% 0.112 190.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB71D4

    #AB71D4

    oklch(64.9% 0.153 309.8)

  • #DA6940

    #DA6940

    oklch(64.9% 0.153 40)

  • #6FA02B

    #6FA02B

    oklch(64.8% 0.154 129.8)

  • #009FC0

    #009FC0

    oklch(65% 0.118 219.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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