#AB7EC2

Closest named color: Wisteria (#A87DC2). oklch(66.2% 0.11 313.8), rgb(171, 126, 194).

Aa

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

About this color

#AB7EC2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.110 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.006 away. Black text reads best on it, at 6.49:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.49:1
White text3.23:1

Values

HEX#AB7EC2
RGBrgb(171, 126, 194)
HSLhsl(280, 36%, 63%)
OKLCHoklch(66.2% 0.11 313.8)

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 #AB7EC2 3.23:1 AA large text Lc -64.9 Content text, not long reading
Black text on #AB7EC2 6.49:1 AA Lc 44.6 Non-text elements, placeholder text
#AB7EC2 text on white 3.23:1 AA large text Lc 59.5 Large or bold text, headings
#AB7EC2 text on black 6.49:1 AA Lc -42.2 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E0D4E7

    oklch(88.5% 0.029 313.3)

  4. Step 300

    300

    #CDB7D9

    oklch(80.9% 0.053 313.7)

  5. Step 400

    400

    #B491C7

    oklch(70.8% 0.086 313.5)

  6. Step 500

    500 (this color)

    #AB7EC2

    oklch(66.2% 0.11 313.8)

  7. Step 600

    600

    #8C5CA4

    oklch(55.5% 0.12 313.7)

  8. Step 700

    700

    #774C8C

    oklch(49.1% 0.11 313.9)

  9. Step 800

    800

    #613E72

    oklch(42.6% 0.093 314)

  10. Step 900

    900

    #4F355C

    oklch(37.6% 0.072 313.8)

  11. Step 950

    950

    #2E2036

    oklch(27.1% 0.044 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB7EC2 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)#738CC50.085
Deuteranopia (no green cones)#7D90C00.079
Tritanopia (no blue cones)#A987970.076
Achromatopsia (no color)#8F8F8F0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7EC2

    #AB7EC2

    oklch(66.2% 0.11 313.8)

  • #77A15A

    #77A15A

    oklch(66.1% 0.109 133.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7EC2

    #AB7EC2

    oklch(66.2% 0.11 313.8)

  • #8A89D4

    #8A89D4

    oklch(66.1% 0.11 283.6)

  • #C277A4

    #C277A4

    oklch(66.3% 0.11 343.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB7EC2

    #AB7EC2

    oklch(66.2% 0.11 313.8)

  • #9E963E

    #9E963E

    oklch(66.2% 0.11 104.1)

  • #47A880

    #47A880

    oklch(66.3% 0.11 163.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7EC2

    #AB7EC2

    oklch(66.2% 0.11 313.8)

  • #BB883E

    #BB883E

    oklch(66.3% 0.11 73.9)

  • #17A7A6

    #17A7A6

    oklch(66.1% 0.109 194.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7EC2

    #AB7EC2

    oklch(66.2% 0.11 313.8)

  • #CB7C5A

    #CB7C5A

    oklch(66.3% 0.11 43.8)

  • #77A15A

    #77A15A

    oklch(66.1% 0.109 133.6)

  • #31A1C4

    #31A1C4

    oklch(66.2% 0.11 223.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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