#AB5EAA

Closest named color: Soft Purple (#A66FB5). oklch(59.8% 0.14 327.6), rgb(171, 94, 170).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.140)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text4.91:1
White text4.27:1

Values

HEX#AB5EAA
RGBrgb(171, 94, 170)
HSLhsl(301, 31%, 52%)
OKLCHoklch(59.8% 0.14 327.6)

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 #AB5EAA 4.27:1 AA large text Lc -74.7 Content text, not long reading
Black text on #AB5EAA 4.91:1 AA Lc 34.9 Non-text elements, placeholder text
#AB5EAA text on white 4.27:1 AA large text Lc 69.2 Content text, not long reading
#AB5EAA text on black 4.91:1 AA Lc -32.4 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

    #F2E5F1

    oklch(93.6% 0.021 328.1)

  3. Step 200

    200

    #E8D1E6

    oklch(88.6% 0.038 328.6)

  4. Step 300

    300

    #D9B1D8

    oklch(80.8% 0.07 327)

  5. Step 400

    400

    #C588C4

    oklch(70.7% 0.109 327.2)

  6. Step 500

    500 (this color)

    #AB5EAA

    oklch(59.8% 0.14 327.6)

  7. Step 600

    600

    #A14DA0

    oklch(55.6% 0.153 327.8)

  8. Step 700

    700

    #893E89

    oklch(49.1% 0.141 327.5)

  9. Step 800

    800

    #70346F

    oklch(42.8% 0.117 328)

  10. Step 900

    900

    #5B2E5A

    oklch(37.8% 0.091 328)

  11. Step 950

    950

    #351B35

    oklch(26.9% 0.059 327.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB5EAA 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)#5874AD0.135
Deuteranopia (no green cones)#6D7EA80.122
Tritanopia (no blue cones)#AF667C0.080
Achromatopsia (no color)#7A7A7A0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5EAA

    #AB5EAA

    oklch(59.8% 0.14 327.6)

  • #38964C

    #38964C

    oklch(59.9% 0.141 147.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5EAA

    #AB5EAA

    oklch(59.8% 0.14 327.6)

  • #8A6BC8

    #8A6BC8

    oklch(59.9% 0.14 297.4)

  • #BF5780

    #BF5780

    oklch(59.8% 0.14 357.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB5EAA

    #AB5EAA

    oklch(59.8% 0.14 327.6)

  • #7A8A00

    #7A8A00

    oklch(59.9% 0.139 117.6)

  • #00957F

    #00957F

    oklch(59.9% 0.111 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5EAA

    #AB5EAA

    oklch(59.8% 0.14 327.6)

  • #9E7A00

    #9E7A00

    oklch(59.8% 0.122 87.9)

  • #00909F

    #00909F

    oklch(59.7% 0.103 207.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5EAA

    #AB5EAA

    oklch(59.8% 0.14 327.6)

  • #BC660B

    #BC660B

    oklch(59.8% 0.141 57.6)

  • #38964C

    #38964C

    oklch(59.9% 0.141 147.7)

  • #0089C4

    #0089C4

    oklch(59.8% 0.132 237.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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