#AB7EDC

Closest named color: Wisteria (#A87DC2). oklch(67.4% 0.142 305), rgb(171, 126, 220).

Aa

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

About this color

#AB7EDC is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.142 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.039 away. Black text reads best on it, at 6.74:1.

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

Values

HEX#AB7EDC
RGBrgb(171, 126, 220)
HSLhsl(269, 57%, 68%)
OKLCHoklch(67.4% 0.142 305)

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 #AB7EDC 3.11:1 AA large text Lc -63.3 Content text, not long reading
Black text on #AB7EDC 6.74:1 AA Lc 46.1 Large or bold text, headings
#AB7EDC text on white 3.11:1 AA large text Lc 58.0 Large or bold text, headings
#AB7EDC text on black 6.74:1 AA Lc -43.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 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)

    #AB7EDC

    oklch(67.4% 0.142 305)

  6. Step 500

    500

    #A367E0

    oklch(63.1% 0.181 304.6)

  7. Step 600

    600

    #8F4ACD

    oklch(55.6% 0.197 305.1)

  8. Step 700

    700

    #7A3AB2

    oklch(49.2% 0.183 305)

  9. Step 800

    800

    #633190

    oklch(42.7% 0.152 305)

  10. Step 900

    900

    #502D73

    oklch(37.7% 0.118 304.4)

  11. Step 950

    950

    #2F1B43

    oklch(27% 0.074 305)

Export this scale for Tailwind in the Tailwind colors tool

#AB7EDC 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)#6791DF0.100
Deuteranopia (no green cones)#7192DA0.092
Tritanopia (no blue cones)#A38DA20.106
Achromatopsia (no color)#9292920.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7EDC

    #AB7EDC

    oklch(67.4% 0.142 305)

  • #83A537

    #83A537

    oklch(67.4% 0.142 124.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7EDC

    #AB7EDC

    oklch(67.4% 0.142 305)

  • #7E8DED

    #7E8DED

    oklch(67.4% 0.142 275.2)

  • #CB72B9

    #CB72B9

    oklch(67.4% 0.142 335)

Open the analogous palette in the generator

Split complementary

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

  • #AB7EDC

    #AB7EDC

    oklch(67.4% 0.142 305)

  • #B19400

    #B19400

    oklch(67.3% 0.138 95)

  • #3BB06F

    #3BB06F

    oklch(67.6% 0.142 155)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7EDC

    #AB7EDC

    oklch(67.4% 0.142 305)

  • #D1811F

    #D1811F

    oklch(67.3% 0.142 64.7)

  • #00AEA0

    #00AEA0

    oklch(67.5% 0.119 184.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7EDC

    #AB7EDC

    oklch(67.4% 0.142 305)

  • #DF7358

    #DF7358

    oklch(67.4% 0.141 35.1)

  • #83A537

    #83A537

    oklch(67.4% 0.142 124.9)

  • #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 #AB7EDC, closest first.

Similar named colors

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

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