#AB7EC8

Closest named color: Wisteria (#A87DC2). oklch(66.5% 0.117 311.4), rgb(171, 126, 200).

Aa

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

About this color

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

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

Values

HEX#AB7EC8
RGBrgb(171, 126, 200)
HSLhsl(276, 40%, 64%)
OKLCHoklch(66.5% 0.117 311.4)

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 #AB7EC8 3.20:1 AA large text Lc -64.6 Content text, not long reading
Black text on #AB7EC8 6.54:1 AA Lc 44.9 Non-text elements, placeholder text
#AB7EC8 text on white 3.20:1 AA large text Lc 59.2 Large or bold text, headings
#AB7EC8 text on black 6.54:1 AA Lc -42.6 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

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #E0D4E9

    oklch(88.6% 0.031 311)

  4. Step 300

    300

    #CDB7DC

    oklch(81% 0.056 311.6)

  5. Step 400

    400

    #B390CB

    oklch(70.6% 0.092 311.1)

  6. Step 500

    500 (this color)

    #AB7EC8

    oklch(66.5% 0.117 311.4)

  7. Step 600

    600

    #8B5BA9

    oklch(55.5% 0.127 311.2)

  8. Step 700

    700

    #764B91

    oklch(49.1% 0.117 311.1)

  9. Step 800

    800

    #603E76

    oklch(42.8% 0.097 310.9)

  10. Step 900

    900

    #4F355F

    oklch(37.8% 0.076 311.6)

  11. Step 950

    950

    #2E1F38

    oklch(27% 0.049 310.9)

Export this scale for Tailwind in the Tailwind colors tool

#AB7EC8 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)#708DCB0.089
Deuteranopia (no green cones)#7B91C60.082
Tritanopia (no blue cones)#A8889A0.082
Achromatopsia (no color)#9090900.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7EC8

    #AB7EC8

    oklch(66.5% 0.117 311.4)

  • #79A253

    #79A253

    oklch(66.4% 0.117 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7EC8

    #AB7EC8

    oklch(66.5% 0.117 311.4)

  • #888ADA

    #888ADA

    oklch(66.5% 0.118 281.6)

  • #C476A8

    #C476A8

    oklch(66.5% 0.116 341.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB7EC8

    #AB7EC8

    oklch(66.5% 0.117 311.4)

  • #A39534

    #A39534

    oklch(66.4% 0.117 101)

  • #44AA7C

    #44AA7C

    oklch(66.6% 0.118 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7EC8

    #AB7EC8

    oklch(66.5% 0.117 311.4)

  • #C08638

    #C08638

    oklch(66.4% 0.117 71.1)

  • #00A9A5

    #00A9A5

    oklch(66.4% 0.114 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7EC8

    #AB7EC8

    oklch(66.5% 0.117 311.4)

  • #CF7A59

    #CF7A59

    oklch(66.5% 0.116 41.7)

  • #79A253

    #79A253

    oklch(66.4% 0.117 131.5)

  • #1CA3C6

    #1CA3C6

    oklch(66.4% 0.117 221.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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