#AB45D9

Closest named color: Medium Orchid (#BA55D3). oklch(59.2% 0.224 313.3), rgb(171, 69, 217).

Aa

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

About this color

#AB45D9 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.224 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.045 away. Black text reads best on it, at 4.58:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.224)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.58:1
White text4.58:1

Values

HEX#AB45D9
RGBrgb(171, 69, 217)
HSLhsl(281, 66%, 56%)
OKLCHoklch(59.2% 0.224 313.3)

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 #AB45D9 4.58:1 AA Lc -76.4 Fine for body text
Black text on #AB45D9 4.58:1 AA Lc 33.1 Non-text elements, placeholder text
#AB45D9 text on white 4.58:1 AA Lc 71.0 Content text, not long reading
#AB45D9 text on black 4.58:1 AA Lc -30.7 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F8

    oklch(93.7% 0.028 313.4)

  3. Step 200

    200

    #E6CFF4

    oklch(88.5% 0.056 312.8)

  4. Step 300

    300

    #D8AEEF

    oklch(81% 0.1 313.4)

  5. Step 400

    400

    #C47FE7

    oklch(70.7% 0.162 313.4)

  6. Step 500

    500

    #B459DF

    oklch(63% 0.206 313.4)

  7. Step 600

    600 (this color)

    #AB45D9

    oklch(59.2% 0.224 313.3)

  8. Step 700

    700

    #8828B1

    oklch(49% 0.208 313.2)

  9. Step 800

    800

    #6F248F

    oklch(42.7% 0.172 313.5)

  10. Step 900

    900

    #5A2473

    oklch(37.7% 0.135 313.2)

  11. Step 950

    950

    #351743

    oklch(27.1% 0.084 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB45D9 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)#0070DD0.204
Deuteranopia (no green cones)#3A78D60.185
Tritanopia (no blue cones)#A6638A0.148
Achromatopsia (no color)#7575750.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB45D9

    #AB45D9

    oklch(59.2% 0.224 313.3)

  • #529100

    #529100

    oklch(59.1% 0.167 133.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB45D9

    #AB45D9

    oklch(59.2% 0.224 313.3)

  • #735EFB

    #735EFB

    oklch(59.2% 0.224 283.3)

  • #D02D9F

    #D02D9F

    oklch(59.2% 0.224 343.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB45D9

    #AB45D9

    oklch(59.2% 0.224 313.3)

  • #8B8000

    #8B8000

    oklch(59.1% 0.125 103.5)

  • #009568

    #009568

    oklch(59.3% 0.128 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB45D9

    #AB45D9

    oklch(59.2% 0.224 313.3)

  • #AA7000

    #AA7000

    oklch(59.2% 0.126 73.4)

  • #00908F

    #00908F

    oklch(59.1% 0.101 193.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB45D9

    #AB45D9

    oklch(59.2% 0.224 313.3)

  • #CE5000

    #CE5000

    oklch(59.1% 0.175 43.2)

  • #529100

    #529100

    oklch(59.1% 0.167 133.3)

  • #008BAE

    #008BAE

    oklch(59.1% 0.111 223.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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