#AB4E9C

Closest named color: Light Plum (#9D5783). oklch(56.8% 0.155 334), rgb(171, 78, 156).

Aa

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

About this color

#AB4E9C is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.155 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.053 away. White text reads best on it, at 4.88:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.155)
Temperaturein between
Nearest nameLight Plum (#9D5783)
Black text4.30:1
White text4.88:1

Values

HEX#AB4E9C
RGBrgb(171, 78, 156)
HSLhsl(310, 37%, 49%)
OKLCHoklch(56.8% 0.155 334)

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 #AB4E9C 4.88:1 AA Lc -78.8 Fine for body text
Black text on #AB4E9C 4.30:1 AA large text Lc 30.8 Non-text elements, placeholder text
#AB4E9C text on white 4.88:1 AA Lc 73.3 Content text, not long reading
#AB4E9C text on black 4.30:1 AA large text Lc -28.4 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5EF

    oklch(93.6% 0.02 335.7)

  3. Step 200

    200

    #EAD0E4

    oklch(88.5% 0.039 333.8)

  4. Step 300

    300

    #DDB0D3

    oklch(80.8% 0.07 334.1)

  5. Step 400

    400

    #CB86BD

    oklch(70.8% 0.111 334.3)

  6. Step 500

    500

    #BC65AD

    oklch(63.1% 0.143 333.9)

  7. Step 600

    600 (this color)

    #AB4E9C

    oklch(56.8% 0.155 334)

  8. Step 700

    700

    #8F3B82

    oklch(49.2% 0.144 333.9)

  9. Step 800

    800

    #743169

    oklch(42.6% 0.119 334.2)

  10. Step 900

    900

    #5E2C56

    oklch(37.7% 0.093 333.6)

  11. Step 950

    950

    #371A32

    oklch(26.9% 0.059 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB4E9C 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)#4D689F0.159
Deuteranopia (no green cones)#6876990.142
Tritanopia (no blue cones)#B2546E0.079
Achromatopsia (no color)#7171710.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4E9C

    #AB4E9C

    oklch(56.8% 0.155 334)

  • #008E4E

    #008E4E

    oklch(56.8% 0.143 154.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4E9C

    #AB4E9C

    oklch(56.8% 0.155 334)

  • #8B5BC0

    #8B5BC0

    oklch(56.8% 0.155 303.8)

  • #BD476C

    #BD476C

    oklch(56.7% 0.155 4)

Open the analogous palette in the generator

Split complementary

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

  • #AB4E9C

    #AB4E9C

    oklch(56.8% 0.155 334)

  • #668400

    #668400

    oklch(56.9% 0.141 124)

  • #008A7E

    #008A7E

    oklch(56.9% 0.101 184.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4E9C

    #AB4E9C

    oklch(56.8% 0.155 334)

  • #8E7500

    #8E7500

    oklch(57% 0.117 94)

  • #00859B

    #00859B

    oklch(56.7% 0.1 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4E9C

    #AB4E9C

    oklch(56.8% 0.155 334)

  • #AA6300

    #AA6300

    oklch(56.7% 0.129 63.7)

  • #008E4E

    #008E4E

    oklch(56.8% 0.143 154.2)

  • #007DC2

    #007DC2

    oklch(56.8% 0.14 243.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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