#AB5AA2

Closest named color: Dark Lilac (#9C6DA5). oklch(58.8% 0.14 331.4), rgb(171, 90, 162).

Aa

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

About this color

#AB5AA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.140 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.049 away. Black text reads best on it, at 4.71:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text4.71:1
White text4.45:1

Values

HEX#AB5AA2
RGBrgb(171, 90, 162)
HSLhsl(307, 33%, 51%)
OKLCHoklch(58.8% 0.14 331.4)

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 #AB5AA2 4.45:1 AA large text Lc -76.0 Fine for body text
Black text on #AB5AA2 4.71:1 AA Lc 33.5 Non-text elements, placeholder text
#AB5AA2 text on white 4.45:1 AA large text Lc 70.5 Content text, not long reading
#AB5AA2 text on black 4.71:1 AA Lc -31.1 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 600.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E6EF

    oklch(93.7% 0.018 334.2)

  3. Step 200

    200

    #E8D1E4

    oklch(88.5% 0.036 331.6)

  4. Step 300

    300

    #D9B2D3

    oklch(80.8% 0.063 331.4)

  5. Step 400

    400

    #C589BD

    oklch(70.6% 0.1 331.3)

  6. Step 500

    500

    #B66AAD

    oklch(63.1% 0.13 331.4)

  7. Step 600

    600 (this color)

    #AB5AA2

    oklch(58.8% 0.14 331.4)

  8. Step 700

    700

    #894182

    oklch(49.1% 0.13 331.1)

  9. Step 800

    800

    #703669

    oklch(42.8% 0.107 332)

  10. Step 900

    900

    #5B2F56

    oklch(37.7% 0.085 331.4)

  11. Step 950

    950

    #351C32

    oklch(27% 0.053 331.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB5AA2 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)#5770A40.139
Deuteranopia (no green cones)#6E7CA00.125
Tritanopia (no blue cones)#B160760.075
Achromatopsia (no color)#7777770.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5AA2

    #AB5AA2

    oklch(58.8% 0.14 331.4)

  • #279350

    #279350

    oklch(58.7% 0.139 151.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5AA2

    #AB5AA2

    oklch(58.8% 0.14 331.4)

  • #8C66C2

    #8C66C2

    oklch(58.9% 0.14 301.3)

  • #BD5477

    #BD5477

    oklch(58.8% 0.139 1.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB5AA2

    #AB5AA2

    oklch(58.8% 0.14 331.4)

  • #708906

    #708906

    oklch(58.9% 0.141 121.7)

  • #009181

    #009181

    oklch(58.9% 0.106 181.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5AA2

    #AB5AA2

    oklch(58.8% 0.14 331.4)

  • #977900

    #977900

    oklch(58.8% 0.12 91.4)

  • #008C9F

    #008C9F

    oklch(58.7% 0.102 211.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5AA2

    #AB5AA2

    oklch(58.8% 0.14 331.4)

  • #B56600

    #B56600

    oklch(58.8% 0.136 61.1)

  • #279350

    #279350

    oklch(58.7% 0.139 151.6)

  • #0084C7

    #0084C7

    oklch(58.7% 0.139 241.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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