#AB7EDB

Closest named color: Wisteria (#A87DC2). oklch(67.4% 0.14 305.2), rgb(171, 126, 219).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.140)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.73:1
White text3.11:1

Values

HEX#AB7EDB
RGBrgb(171, 126, 219)
HSLhsl(269, 56%, 68%)
OKLCHoklch(67.4% 0.14 305.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 #AB7EDB 3.11:1 AA large text Lc -63.4 Content text, not long reading
Black text on #AB7EDB 6.73:1 AA Lc 46.0 Large or bold text, headings
#AB7EDB text on white 3.11:1 AA large text Lc 58.0 Large or bold text, headings
#AB7EDB text on black 6.73:1 AA Lc -43.7 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

    #E0D2F4

    oklch(88.6% 0.048 304.1)

  4. Step 300

    300

    #CEB3EF

    oklch(81% 0.088 305)

  5. Step 400

    400 (this color)

    #AB7EDB

    oklch(67.4% 0.14 305.2)

  6. Step 500

    500

    #A467DF

    oklch(63.2% 0.18 305.3)

  7. Step 600

    600

    #8F4ACC

    oklch(55.5% 0.195 305.3)

  8. Step 700

    700

    #7A3AB1

    oklch(49.1% 0.182 305.3)

  9. Step 800

    800

    #63318F

    oklch(42.6% 0.151 305.3)

  10. Step 900

    900

    #512D72

    oklch(37.8% 0.117 305.6)

  11. Step 950

    950

    #2F1B43

    oklch(27% 0.074 305)

Export this scale for Tailwind in the Tailwind colors tool

#AB7EDB 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)#6790DE0.100
Deuteranopia (no green cones)#7292D90.091
Tritanopia (no blue cones)#A38DA20.105
Achromatopsia (no color)#9292920.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7EDB

    #AB7EDB

    oklch(67.4% 0.14 305.2)

  • #82A539

    #82A539

    oklch(67.4% 0.141 125.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7EDB

    #AB7EDB

    oklch(67.4% 0.14 305.2)

  • #7E8DEC

    #7E8DEC

    oklch(67.3% 0.141 275.2)

  • #CA73B8

    #CA73B8

    oklch(67.4% 0.139 335.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB7EDB

    #AB7EDB

    oklch(67.4% 0.14 305.2)

  • #B19400

    #B19400

    oklch(67.3% 0.138 95)

  • #3CAF70

    #3CAF70

    oklch(67.3% 0.139 155.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7EDB

    #AB7EDB

    oklch(67.4% 0.14 305.2)

  • #D08221

    #D08221

    oklch(67.4% 0.14 65.5)

  • #00AEA0

    #00AEA0

    oklch(67.5% 0.119 184.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7EDB

    #AB7EDB

    oklch(67.4% 0.14 305.2)

  • #DF7358

    #DF7358

    oklch(67.4% 0.141 35.1)

  • #82A539

    #82A539

    oklch(67.4% 0.141 125.4)

  • #00A8C4

    #00A8C4

    oklch(67.3% 0.119 215.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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