#AB6BD4

Closest named color: Medium Purple (#9370DB). oklch(63.9% 0.163 310.7), rgb(171, 107, 212).

Aa

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

About this color

#AB6BD4 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.163 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.041 away. Black text reads best on it, at 5.78:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.163)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.78:1
White text3.62:1

Values

HEX#AB6BD4
RGBrgb(171, 107, 212)
HSLhsl(277, 55%, 63%)
OKLCHoklch(63.9% 0.163 310.7)

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 #AB6BD4 3.62:1 AA large text Lc -69.1 Content text, not long reading
Black text on #AB6BD4 5.78:1 AA Lc 40.5 Non-text elements, placeholder text
#AB6BD4 text on white 3.62:1 AA large text Lc 63.6 Content text, not long reading
#AB6BD4 text on black 5.78:1 AA Lc -38.1 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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E2D1EF

    oklch(88.4% 0.044 310.6)

  4. Step 300

    300

    #D1B3E7

    oklch(81% 0.079 310.7)

  5. Step 400

    400

    #BA89DB

    oklch(70.8% 0.127 310.9)

  6. Step 500

    500 (this color)

    #AB6BD4

    oklch(63.9% 0.163 310.7)

  7. Step 600

    600

    #944DBE

    oklch(55.6% 0.177 310.9)

  8. Step 700

    700

    #7E3DA4

    oklch(49.1% 0.165 310.8)

  9. Step 800

    800

    #663385

    oklch(42.6% 0.137 310.6)

  10. Step 900

    900

    #532E6B

    oklch(37.7% 0.107 310.3)

  11. Step 950

    950

    #311C3E

    oklch(27.1% 0.066 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB6BD4 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)#5183D80.133
Deuteranopia (no green cones)#6387D10.120
Tritanopia (no blue cones)#A67C960.114
Achromatopsia (no color)#8686860.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6BD4

    #AB6BD4

    oklch(63.9% 0.163 310.7)

  • #689F1C

    #689F1C

    oklch(64% 0.164 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6BD4

    #AB6BD4

    oklch(63.9% 0.163 310.7)

  • #7C7CEB

    #7C7CEB

    oklch(63.9% 0.163 280.8)

  • #CB5EA9

    #CB5EA9

    oklch(63.9% 0.163 341)

Open the analogous palette in the generator

Split complementary

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

  • #AB6BD4

    #AB6BD4

    oklch(63.9% 0.163 310.7)

  • #9E8D00

    #9E8D00

    oklch(63.9% 0.133 100.8)

  • #00A66E

    #00A66E

    oklch(64% 0.144 160.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6BD4

    #AB6BD4

    oklch(63.9% 0.163 310.7)

  • #C07B00

    #C07B00

    oklch(64% 0.138 70.6)

  • #00A19B

    #00A19B

    oklch(64% 0.11 190.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6BD4

    #AB6BD4

    oklch(63.9% 0.163 310.7)

  • #DB6233

    #DB6233

    oklch(63.9% 0.164 40.5)

  • #689F1C

    #689F1C

    oklch(64% 0.164 130.8)

  • #009BBD

    #009BBD

    oklch(63.8% 0.117 220.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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