#AB6FD9

Closest named color: Medium Purple (#9370DB). oklch(64.8% 0.163 308.7), rgb(171, 111, 217).

Aa

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

About this color

#AB6FD9 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.163 and its hue 309°. 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 6.00:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.163)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.00:1
White text3.49:1

Values

HEX#AB6FD9
RGBrgb(171, 111, 217)
HSLhsl(274, 58%, 64%)
OKLCHoklch(64.8% 0.163 308.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 #AB6FD9 3.49:1 AA large text Lc -67.7 Content text, not long reading
Black text on #AB6FD9 6.00:1 AA Lc 41.8 Non-text elements, placeholder text
#AB6FD9 text on white 3.49:1 AA large text Lc 62.3 Content text, not long reading
#AB6FD9 text on black 6.00:1 AA Lc -39.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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E1D2F0

    oklch(88.5% 0.044 307.9)

  4. Step 300

    300

    #CFB3E8

    oklch(80.8% 0.079 308.6)

  5. Step 400

    400

    #B78ADD

    oklch(70.7% 0.127 308.4)

  6. Step 500

    500 (this color)

    #AB6FD9

    oklch(64.8% 0.163 308.7)

  7. Step 600

    600

    #914EC0

    oklch(55.5% 0.177 308.9)

  8. Step 700

    700

    #7B3EA6

    oklch(49% 0.165 308.5)

  9. Step 800

    800

    #643486

    oklch(42.6% 0.136 308.7)

  10. Step 900

    900

    #522F6C

    oklch(37.8% 0.106 308.7)

  11. Step 950

    950

    #301C3F

    oklch(27% 0.067 309)

Export this scale for Tailwind in the Tailwind colors tool

#AB6FD9 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)#5387DD0.129
Deuteranopia (no green cones)#648AD60.117
Tritanopia (no blue cones)#A5819A0.117
Achromatopsia (no color)#8989890.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6FD9

    #AB6FD9

    oklch(64.8% 0.163 308.7)

  • #70A019

    #70A019

    oklch(64.7% 0.162 128.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6FD9

    #AB6FD9

    oklch(64.8% 0.163 308.7)

  • #7B80EF

    #7B80EF

    oklch(64.8% 0.163 278.9)

  • #CC62B0

    #CC62B0

    oklch(64.9% 0.163 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #AB6FD9

    #AB6FD9

    oklch(64.8% 0.163 308.7)

  • #A48F00

    #A48F00

    oklch(64.9% 0.134 98.8)

  • #00A96B

    #00A96B

    oklch(64.8% 0.15 158.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6FD9

    #AB6FD9

    oklch(64.8% 0.163 308.7)

  • #C57C00

    #C57C00

    oklch(64.8% 0.141 69.1)

  • #00A49C

    #00A49C

    oklch(64.8% 0.112 188.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6FD9

    #AB6FD9

    oklch(64.8% 0.163 308.7)

  • #DE653C

    #DE653C

    oklch(64.8% 0.162 38.8)

  • #70A019

    #70A019

    oklch(64.7% 0.162 128.5)

  • #009FBE

    #009FBE

    oklch(64.9% 0.117 218.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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