#AB7ED4

Closest named color: Wisteria (#A87DC2). oklch(67% 0.132 307.3), rgb(171, 126, 212).

Aa

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

About this color

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

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

Values

HEX#AB7ED4
RGBrgb(171, 126, 212)
HSLhsl(271, 50%, 66%)
OKLCHoklch(67% 0.132 307.3)

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 #AB7ED4 3.15:1 AA large text Lc -63.9 Content text, not long reading
Black text on #AB7ED4 6.66:1 AA Lc 45.6 Large or bold text, headings
#AB7ED4 text on white 3.15:1 AA large text Lc 58.5 Large or bold text, headings
#AB7ED4 text on black 6.66:1 AA Lc -43.3 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E1D2F1

    oklch(88.5% 0.045 307.2)

  4. Step 300

    300

    #CFB3EB

    oklch(80.9% 0.083 307.3)

  5. Step 400

    400 (this color)

    #AB7ED4

    oklch(67% 0.132 307.3)

  6. Step 500

    500

    #A569D7

    oklch(63.1% 0.168 307.5)

  7. Step 600

    600

    #904DC5

    oklch(55.6% 0.184 307.2)

  8. Step 700

    700

    #7B3DAA

    oklch(49.1% 0.171 307.4)

  9. Step 800

    800

    #64338A

    oklch(42.7% 0.142 307.4)

  10. Step 900

    900

    #512E6E

    oklch(37.7% 0.11 307.2)

  11. Step 950

    950

    #301C40

    oklch(27.1% 0.068 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB7ED4 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)#6B8FD70.095
Deuteranopia (no green cones)#7592D20.089
Tritanopia (no blue cones)#A58B9F0.096
Achromatopsia (no color)#9191910.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7ED4

    #AB7ED4

    oklch(67% 0.132 307.3)

  • #7FA444

    #7FA444

    oklch(67.1% 0.132 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7ED4

    #AB7ED4

    oklch(67% 0.132 307.3)

  • #828CE5

    #828CE5

    oklch(67% 0.132 277.4)

  • #C874B2

    #C874B2

    oklch(67.1% 0.131 337.5)

Open the analogous palette in the generator

Split complementary

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

  • #AB7ED4

    #AB7ED4

    oklch(67% 0.132 307.3)

  • #AC951A

    #AC951A

    oklch(67.1% 0.132 97.4)

  • #3FAD74

    #3FAD74

    oklch(67% 0.132 157.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7ED4

    #AB7ED4

    oklch(67% 0.132 307.3)

  • #CA842B

    #CA842B

    oklch(67.1% 0.131 67.7)

  • #00ACA2

    #00ACA2

    oklch(67.1% 0.117 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7ED4

    #AB7ED4

    oklch(67% 0.132 307.3)

  • #D97658

    #D97658

    oklch(67.1% 0.131 37.6)

  • #7FA444

    #7FA444

    oklch(67.1% 0.132 127.3)

  • #00A7C5

    #00A7C5

    oklch(67.1% 0.12 216.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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