#AB4CA5

Closest named color: Purply (#983FB2). oklch(57% 0.166 330), rgb(171, 76, 165).

Aa

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

About this color

#AB4CA5 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.166 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.055 away. White text reads best on it, at 4.87:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.166)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.30:1
White text4.87:1

Values

HEX#AB4CA5
RGBrgb(171, 76, 165)
HSLhsl(304, 38%, 48%)
OKLCHoklch(57% 0.166 330)

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 #AB4CA5 4.87:1 AA Lc -78.7 Fine for body text
Black text on #AB4CA5 4.30:1 AA large text Lc 30.9 Non-text elements, placeholder text
#AB4CA5 text on white 4.87:1 AA Lc 73.2 Content text, not long reading
#AB4CA5 text on black 4.30:1 AA large text Lc -28.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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E5F1

    oklch(93.6% 0.022 330.3)

  3. Step 200

    200

    #EAD0E6

    oklch(88.6% 0.041 331)

  4. Step 300

    300

    #DDB0D8

    oklch(81% 0.074 330)

  5. Step 400

    400

    #CA84C4

    oklch(70.6% 0.12 329.8)

  6. Step 500

    500

    #BB63B5

    oklch(63% 0.153 329.8)

  7. Step 600

    600 (this color)

    #AB4CA5

    oklch(57% 0.166 330)

  8. Step 700

    700

    #8E3889

    oklch(49% 0.154 330)

  9. Step 800

    800

    #742F70

    oklch(42.7% 0.129 329.8)

  10. Step 900

    900

    #5E2B5A

    oklch(37.7% 0.099 330.3)

  11. Step 950

    950

    #371A35

    oklch(27% 0.063 329.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB4CA5 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)#4669A80.168
Deuteranopia (no green cones)#6376A20.149
Tritanopia (no blue cones)#B155710.091
Achromatopsia (no color)#7171710.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4CA5

    #AB4CA5

    oklch(57% 0.166 330)

  • #009041

    #009041

    oklch(57.1% 0.157 150)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4CA5

    #AB4CA5

    oklch(57% 0.166 330)

  • #885BC9

    #885BC9

    oklch(57.1% 0.166 300.1)

  • #C04373

    #C04373

    oklch(57% 0.165 0.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB4CA5

    #AB4CA5

    oklch(57% 0.166 330)

  • #6E8200

    #6E8200

    oklch(57% 0.135 119.9)

  • #008B7A

    #008B7A

    oklch(57.1% 0.103 180.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4CA5

    #AB4CA5

    oklch(57% 0.166 330)

  • #927300

    #927300

    oklch(57% 0.116 89.9)

  • #008797

    #008797

    oklch(57.1% 0.099 209.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4CA5

    #AB4CA5

    oklch(57% 0.166 330)

  • #AF6100

    #AF6100

    oklch(57.1% 0.134 60.2)

  • #009041

    #009041

    oklch(57.1% 0.157 150)

  • #007FBC

    #007FBC

    oklch(56.9% 0.131 240.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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