#AB6DD2

Closest named color: Medium Purple (#9370DB). oklch(64.1% 0.158 311), rgb(171, 109, 210).

Aa

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

About this color

#AB6DD2 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.158 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.042 away. Black text reads best on it, at 5.84:1.

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

Values

HEX#AB6DD2
RGBrgb(171, 109, 210)
HSLhsl(277, 53%, 63%)
OKLCHoklch(64.1% 0.158 311)

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 #AB6DD2 3.58:1 AA large text Lc -68.7 Content text, not long reading
Black text on #AB6DD2 5.84:1 AA Lc 40.8 Non-text elements, placeholder text
#AB6DD2 text on white 3.58:1 AA large text Lc 63.2 Content text, not long reading
#AB6DD2 text on black 5.84:1 AA Lc -38.4 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

    #D1B3E6

    oklch(80.9% 0.077 311.2)

  5. Step 400

    400

    #B98AD9

    oklch(70.7% 0.123 310.8)

  6. Step 500

    500 (this color)

    #AB6DD2

    oklch(64.1% 0.158 311)

  7. Step 600

    600

    #934FBB

    oklch(55.6% 0.171 311.1)

  8. Step 700

    700

    #7D3FA2

    oklch(49.1% 0.16 310.7)

  9. Step 800

    800

    #663583

    oklch(42.8% 0.132 311)

  10. Step 900

    900

    #532F69

    oklch(37.7% 0.103 311.1)

  11. Step 950

    950

    #311C3E

    oklch(27.1% 0.066 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB6DD2 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)#5584D60.128
Deuteranopia (no green cones)#6788CF0.115
Tritanopia (no blue cones)#A77D960.110
Achromatopsia (no color)#8787870.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6DD2

    #AB6DD2

    oklch(64.1% 0.158 311)

  • #699F27

    #699F27

    oklch(64.1% 0.158 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6DD2

    #AB6DD2

    oklch(64.1% 0.158 311)

  • #7D7DE9

    #7D7DE9

    oklch(64% 0.159 280.9)

  • #CA61A9

    #CA61A9

    oklch(64.2% 0.158 340.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB6DD2

    #AB6DD2

    oklch(64.1% 0.158 311)

  • #9F8E00

    #9F8E00

    oklch(64.2% 0.134 100.9)

  • #00A66F

    #00A66F

    oklch(64% 0.143 160.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6DD2

    #AB6DD2

    oklch(64.1% 0.158 311)

  • #C07C00

    #C07C00

    oklch(64.2% 0.138 71.3)

  • #00A19D

    #00A19D

    oklch(64% 0.11 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6DD2

    #AB6DD2

    oklch(64.1% 0.158 311)

  • #D96537

    #D96537

    oklch(64% 0.158 41)

  • #699F27

    #699F27

    oklch(64.1% 0.158 131.2)

  • #009CBF

    #009CBF

    oklch(64.2% 0.118 221.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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