#AB6DD7

Closest named color: Medium Purple (#9370DB). oklch(64.4% 0.163 309.5), rgb(171, 109, 215).

Aa

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

About this color

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

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

Values

HEX#AB6DD7
RGBrgb(171, 109, 215)
HSLhsl(275, 57%, 64%)
OKLCHoklch(64.4% 0.163 309.5)

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 #AB6DD7 3.55:1 AA large text Lc -68.4 Content text, not long reading
Black text on #AB6DD7 5.90:1 AA Lc 41.2 Non-text elements, placeholder text
#AB6DD7 text on white 3.55:1 AA large text Lc 62.9 Content text, not long reading
#AB6DD7 text on black 5.90:1 AA Lc -38.8 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

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E2D2F0

    oklch(88.6% 0.044 309.3)

  4. Step 300

    300

    #D0B3E8

    oklch(80.9% 0.08 309.4)

  5. Step 400

    400

    #B889DC

    oklch(70.6% 0.128 309.4)

  6. Step 500

    500 (this color)

    #AB6DD7

    oklch(64.4% 0.163 309.5)

  7. Step 600

    600

    #924EC0

    oklch(55.6% 0.177 309.3)

  8. Step 700

    700

    #7D3EA5

    oklch(49.2% 0.164 309.9)

  9. Step 800

    800

    #653486

    oklch(42.7% 0.136 309.4)

  10. Step 900

    900

    #522E6B

    oklch(37.6% 0.106 309.4)

  11. Step 950

    950

    #301C3F

    oklch(27% 0.067 309)

Export this scale for Tailwind in the Tailwind colors tool

#AB6DD7 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)#5285DB0.131
Deuteranopia (no green cones)#6489D40.118
Tritanopia (no blue cones)#A57F980.117
Achromatopsia (no color)#8888880.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6DD7

    #AB6DD7

    oklch(64.4% 0.163 309.5)

  • #6CA019

    #6CA019

    oklch(64.5% 0.164 129.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6DD7

    #AB6DD7

    oklch(64.4% 0.163 309.5)

  • #7B7EEE

    #7B7EEE

    oklch(64.3% 0.164 279.6)

  • #CC60AD

    #CC60AD

    oklch(64.5% 0.164 339.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB6DD7

    #AB6DD7

    oklch(64.4% 0.163 309.5)

  • #A18E00

    #A18E00

    oklch(64.4% 0.134 99.8)

  • #00A86D

    #00A86D

    oklch(64.5% 0.147 159.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6DD7

    #AB6DD7

    oklch(64.4% 0.163 309.5)

  • #C37B00

    #C37B00

    oklch(64.4% 0.14 69.3)

  • #00A39C

    #00A39C

    oklch(64.5% 0.112 189.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6DD7

    #AB6DD7

    oklch(64.4% 0.163 309.5)

  • #DD6337

    #DD6337

    oklch(64.3% 0.164 39.5)

  • #6CA019

    #6CA019

    oklch(64.5% 0.164 129.7)

  • #009DBE

    #009DBE

    oklch(64.4% 0.117 219.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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