#AB7CD9

Closest named color: Wisteria (#A87DC2). oklch(66.9% 0.141 306.2), rgb(171, 124, 217).

Aa

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

About this color

#AB7CD9 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.141 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.036 away. Black text reads best on it, at 6.61:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.141)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.61:1
White text3.17:1

Values

HEX#AB7CD9
RGBrgb(171, 124, 217)
HSLhsl(270, 55%, 67%)
OKLCHoklch(66.9% 0.141 306.2)

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 #AB7CD9 3.17:1 AA large text Lc -64.1 Content text, not long reading
Black text on #AB7CD9 6.61:1 AA Lc 45.3 Large or bold text, headings
#AB7CD9 text on white 3.17:1 AA large text Lc 58.7 Large or bold text, headings
#AB7CD9 text on black 6.61:1 AA Lc -43.0 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 400.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E1D1F3

    oklch(88.4% 0.049 306.6)

  4. Step 300

    300

    #CFB2EE

    oklch(80.9% 0.088 306.5)

  5. Step 400

    400 (this color)

    #AB7CD9

    oklch(66.9% 0.141 306.2)

  6. Step 500

    500

    #A566DE

    oklch(63.1% 0.181 306.1)

  7. Step 600

    600

    #9149CB

    oklch(55.6% 0.196 306.5)

  8. Step 700

    700

    #7B39B0

    oklch(49% 0.183 306.2)

  9. Step 800

    800

    #64318E

    oklch(42.7% 0.15 306.3)

  10. Step 900

    900

    #512C72

    oklch(37.6% 0.118 305.9)

  11. Step 950

    950

    #301B43

    oklch(27.1% 0.075 306.3)

Export this scale for Tailwind in the Tailwind colors tool

#AB7CD9 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)#668FDC0.102
Deuteranopia (no green cones)#7191D70.094
Tritanopia (no blue cones)#A48BA00.105
Achromatopsia (no color)#9090900.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7CD9

    #AB7CD9

    oklch(66.9% 0.141 306.2)

  • #7FA438

    #7FA438

    oklch(66.9% 0.142 126.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7CD9

    #AB7CD9

    oklch(66.9% 0.141 306.2)

  • #7F8BEB

    #7F8BEB

    oklch(66.9% 0.142 276.5)

  • #CA71B6

    #CA71B6

    oklch(67% 0.141 336)

Open the analogous palette in the generator

Split complementary

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

  • #AB7CD9

    #AB7CD9

    oklch(66.9% 0.141 306.2)

  • #AE9400

    #AE9400

    oklch(67% 0.138 96.5)

  • #35AE70

    #35AE70

    oklch(66.9% 0.141 156.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7CD9

    #AB7CD9

    oklch(66.9% 0.141 306.2)

  • #CE811B

    #CE811B

    oklch(66.9% 0.141 66.5)

  • #00ACA0

    #00ACA0

    oklch(67% 0.117 186.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7CD9

    #AB7CD9

    oklch(66.9% 0.141 306.2)

  • #DD7254

    #DD7254

    oklch(66.9% 0.141 36.6)

  • #7FA438

    #7FA438

    oklch(66.9% 0.142 126.2)

  • #00A6C4

    #00A6C4

    oklch(66.9% 0.119 216.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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