#AB41D4

Closest named color: Dark Orchid (#9932CC). oklch(58.4% 0.224 314.9), rgb(171, 65, 212).

Aa

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

About this color

#AB41D4 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.224 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.045 away. White text reads best on it, at 4.73:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.224)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.43:1
White text4.73:1

Values

HEX#AB41D4
RGBrgb(171, 65, 212)
HSLhsl(283, 63%, 54%)
OKLCHoklch(58.4% 0.224 314.9)

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 #AB41D4 4.73:1 AA Lc -77.4 Fine for body text
Black text on #AB41D4 4.43:1 AA large text Lc 32.1 Non-text elements, placeholder text
#AB41D4 text on white 4.73:1 AA Lc 71.9 Content text, not long reading
#AB41D4 text on black 4.43:1 AA large text Lc -29.7 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E4F8

    oklch(93.5% 0.03 314)

  3. Step 200

    200

    #E7CFF3

    oklch(88.5% 0.055 314.5)

  4. Step 300

    300

    #D9ADEE

    oklch(80.9% 0.101 314.6)

  5. Step 400

    400

    #C67EE5

    oklch(70.7% 0.162 315)

  6. Step 500

    500

    #B658DD

    oklch(63% 0.206 314.7)

  7. Step 600

    600 (this color)

    #AB41D4

    oklch(58.4% 0.224 314.9)

  8. Step 700

    700

    #8B27AF

    oklch(49.2% 0.208 315.1)

  9. Step 800

    800

    #71238E

    oklch(42.8% 0.173 315)

  10. Step 900

    900

    #5B2471

    oklch(37.7% 0.134 314.8)

  11. Step 950

    950

    #351642

    oklch(26.9% 0.085 314.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB41D4 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)#006DD80.208
Deuteranopia (no green cones)#3C76D10.187
Tritanopia (no blue cones)#A85F860.146
Achromatopsia (no color)#7373730.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB41D4

    #AB41D4

    oklch(58.4% 0.224 314.9)

  • #4A9000

    #4A9000

    oklch(58.4% 0.17 134.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB41D4

    #AB41D4

    oklch(58.4% 0.224 314.9)

  • #755AF7

    #755AF7

    oklch(58.4% 0.223 285)

  • #CF2899

    #CF2899

    oklch(58.5% 0.224 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB41D4

    #AB41D4

    oklch(58.4% 0.224 314.9)

  • #877F00

    #877F00

    oklch(58.5% 0.124 105.2)

  • #009269

    #009269

    oklch(58.5% 0.123 164.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB41D4

    #AB41D4

    oklch(58.4% 0.224 314.9)

  • #A66F00

    #A66F00

    oklch(58.5% 0.124 74.7)

  • #008E8E

    #008E8E

    oklch(58.6% 0.1 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB41D4

    #AB41D4

    oklch(58.4% 0.224 314.9)

  • #C85200

    #C85200

    oklch(58.4% 0.167 45)

  • #4A9000

    #4A9000

    oklch(58.4% 0.17 134.9)

  • #0088AD

    #0088AD

    oklch(58.3% 0.111 225.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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