#AB51BE

Closest named color: Amethyst (#9B5FC0). oklch(59% 0.181 320.4), rgb(171, 81, 190).

Aa

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

About this color

#AB51BE is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.181 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.038 away. Black text reads best on it, at 4.65:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.181)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.65:1
White text4.51:1

Values

HEX#AB51BE
RGBrgb(171, 81, 190)
HSLhsl(290, 46%, 53%)
OKLCHoklch(59% 0.181 320.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 #AB51BE 4.51:1 AA Lc -76.3 Fine for body text
Black text on #AB51BE 4.65:1 AA Lc 33.3 Non-text elements, placeholder text
#AB51BE text on white 4.51:1 AA Lc 70.8 Content text, not long reading
#AB51BE text on black 4.65:1 AA Lc -30.9 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0EC

    oklch(88.5% 0.045 320.2)

  4. Step 300

    300

    #D9B0E1

    oklch(80.9% 0.081 320.8)

  5. Step 400

    400

    #C584D2

    oklch(70.6% 0.131 320.8)

  6. Step 500

    500

    #B563C6

    oklch(63.1% 0.166 320.5)

  7. Step 600

    600 (this color)

    #AB51BE

    oklch(59% 0.181 320.4)

  8. Step 700

    700

    #89379A

    oklch(49.1% 0.168 320.4)

  9. Step 800

    800

    #6F2F7D

    oklch(42.7% 0.139 320.1)

  10. Step 900

    900

    #5A2B64

    oklch(37.7% 0.107 320.4)

  11. Step 950

    950

    #351A3B

    oklch(27.1% 0.068 320.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB51BE 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)#3B70C10.173
Deuteranopia (no green cones)#5A7ABB0.152
Tritanopia (no blue cones)#AC61800.112
Achromatopsia (no color)#7676760.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB51BE

    #AB51BE

    oklch(59% 0.181 320.4)

  • #319516

    #319516

    oklch(58.9% 0.181 140.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB51BE

    #AB51BE

    oklch(59% 0.181 320.4)

  • #8063DF

    #8063DF

    oklch(59% 0.181 290.5)

  • #C7448B

    #C7448B

    oklch(59% 0.18 350.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB51BE

    #AB51BE

    oklch(59% 0.181 320.4)

  • #828300

    #828300

    oklch(59% 0.129 110.3)

  • #009373

    #009373

    oklch(59% 0.116 170.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB51BE

    #AB51BE

    oklch(59% 0.181 320.4)

  • #A27400

    #A27400

    oklch(59% 0.122 80.9)

  • #008F95

    #008F95

    oklch(59.1% 0.1 200)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB51BE

    #AB51BE

    oklch(59% 0.181 320.4)

  • #C35B00

    #C35B00

    oklch(59% 0.155 50.2)

  • #319516

    #319516

    oklch(58.9% 0.181 140.4)

  • #0089B6

    #0089B6

    oklch(59% 0.118 230.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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