#AB6DD4

Closest named color: Medium Purple (#9370DB). oklch(64.2% 0.16 310.4), rgb(171, 109, 212).

Aa

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

About this color

#AB6DD4 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.160 and its hue 310°. 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.86:1.

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

Values

HEX#AB6DD4
RGBrgb(171, 109, 212)
HSLhsl(276, 54%, 63%)
OKLCHoklch(64.2% 0.16 310.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 #AB6DD4 3.57:1 AA large text Lc -68.6 Content text, not long reading
Black text on #AB6DD4 5.86:1 AA Lc 41.0 Non-text elements, placeholder text
#AB6DD4 text on white 3.57:1 AA large text Lc 63.1 Content text, not long reading
#AB6DD4 text on black 5.86:1 AA Lc -38.6 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

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E2D2EF

    oklch(88.6% 0.043 310.1)

  4. Step 300

    300

    #D0B3E7

    oklch(80.9% 0.078 309.9)

  5. Step 400

    400

    #B989DA

    oklch(70.6% 0.125 310.7)

  6. Step 500

    500 (this color)

    #AB6DD4

    oklch(64.2% 0.16 310.4)

  7. Step 600

    600

    #934EBD

    oklch(55.6% 0.174 310.6)

  8. Step 700

    700

    #7D3EA3

    oklch(49% 0.162 310.5)

  9. Step 800

    800

    #663484

    oklch(42.7% 0.134 310.8)

  10. Step 900

    900

    #532F6A

    oklch(37.8% 0.104 310.5)

  11. Step 950

    950

    #301C3E

    oklch(27% 0.066 309.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB6DD4 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)#5484D80.129
Deuteranopia (no green cones)#6588D10.117
Tritanopia (no blue cones)#A67E970.113
Achromatopsia (no color)#8787870.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6DD4

    #AB6DD4

    oklch(64.2% 0.16 310.4)

  • #6B9F22

    #6B9F22

    oklch(64.2% 0.16 130.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6DD4

    #AB6DD4

    oklch(64.2% 0.16 310.4)

  • #7D7EEB

    #7D7EEB

    oklch(64.3% 0.16 280.5)

  • #CB61AA

    #CB61AA

    oklch(64.3% 0.159 340.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB6DD4

    #AB6DD4

    oklch(64.2% 0.16 310.4)

  • #A08E00

    #A08E00

    oklch(64.3% 0.134 100.3)

  • #00A76E

    #00A76E

    oklch(64.3% 0.145 160.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6DD4

    #AB6DD4

    oklch(64.2% 0.16 310.4)

  • #C17B00

    #C17B00

    oklch(64.1% 0.139 70.2)

  • #00A29C

    #00A29C

    oklch(64.3% 0.111 190.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6DD4

    #AB6DD4

    oklch(64.2% 0.16 310.4)

  • #DB6437

    #DB6437

    oklch(64.2% 0.161 40.3)

  • #6B9F22

    #6B9F22

    oklch(64.2% 0.16 130.2)

  • #009CBE

    #009CBE

    oklch(64.1% 0.117 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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