#AB5FAB

Closest named color: Soft Purple (#A66FB5). oklch(60% 0.14 327.1), rgb(171, 95, 171).

Aa

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

About this color

#AB5FAB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.140 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.037 away. Black text reads best on it, at 4.95:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text4.95:1
White text4.23:1

Values

HEX#AB5FAB
RGBrgb(171, 95, 171)
HSLhsl(300, 31%, 52%)
OKLCHoklch(60% 0.14 327.1)

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 #AB5FAB 4.23:1 AA large text Lc -74.4 Content text, not long reading
Black text on #AB5FAB 4.95:1 AA Lc 35.1 Non-text elements, placeholder text
#AB5FAB text on white 4.23:1 AA large text Lc 68.9 Content text, not long reading
#AB5FAB text on black 4.95:1 AA Lc -32.7 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F1

    oklch(93.5% 0.02 325.7)

  3. Step 200

    200

    #E7D1E6

    oklch(88.5% 0.037 327.3)

  4. Step 300

    300

    #D9B2D8

    oklch(81% 0.068 327)

  5. Step 400

    400

    #C588C4

    oklch(70.7% 0.109 327.2)

  6. Step 500

    500 (this color)

    #AB5FAB

    oklch(60% 0.14 327.1)

  7. Step 600

    600

    #A04EA1

    oklch(55.6% 0.152 326.9)

  8. Step 700

    700

    #893E89

    oklch(49.1% 0.141 327.5)

  9. Step 800

    800

    #6F3470

    oklch(42.7% 0.117 326.8)

  10. Step 900

    900

    #5A2E5A

    oklch(37.6% 0.091 327.2)

  11. Step 950

    950

    #351B35

    oklch(26.9% 0.059 327.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB5FAB 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)#5975AE0.134
Deuteranopia (no green cones)#6E7EA90.119
Tritanopia (no blue cones)#AF677D0.080
Achromatopsia (no color)#7B7B7B0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5FAB

    #AB5FAB

    oklch(60% 0.14 327.1)

  • #3B964C

    #3B964C

    oklch(60% 0.139 147.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5FAB

    #AB5FAB

    oklch(60% 0.14 327.1)

  • #8A6BC8

    #8A6BC8

    oklch(59.9% 0.14 297.4)

  • #BF5881

    #BF5881

    oklch(59.9% 0.139 357.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB5FAB

    #AB5FAB

    oklch(60% 0.14 327.1)

  • #7B8A00

    #7B8A00

    oklch(60% 0.139 117.1)

  • #00957F

    #00957F

    oklch(59.9% 0.111 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5FAB

    #AB5FAB

    oklch(60% 0.14 327.1)

  • #9F7A00

    #9F7A00

    oklch(59.9% 0.122 87.3)

  • #00919F

    #00919F

    oklch(60% 0.103 206.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5FAB

    #AB5FAB

    oklch(60% 0.14 327.1)

  • #BD6711

    #BD6711

    oklch(60.1% 0.14 57.2)

  • #3B964C

    #3B964C

    oklch(60% 0.139 147.2)

  • #008AC4

    #008AC4

    oklch(60% 0.131 237)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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