#AB7FDD

Closest named color: Wisteria (#A87DC2). oklch(67.7% 0.141 304.5), rgb(171, 127, 221).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.141)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.81:1
White text3.08:1

Values

HEX#AB7FDD
RGBrgb(171, 127, 221)
HSLhsl(268, 58%, 68%)
OKLCHoklch(67.7% 0.141 304.5)

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 #AB7FDD 3.08:1 AA large text Lc -63.0 Content text, not long reading
Black text on #AB7FDD 6.81:1 AA Lc 46.5 Large or bold text, headings
#AB7FDD text on white 3.08:1 AA large text Lc 57.6 Large or bold text, headings
#AB7FDD text on black 6.81:1 AA Lc -44.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 400.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #E0D2F4

    oklch(88.6% 0.048 304.1)

  4. Step 300

    300

    #CDB3EF

    oklch(80.9% 0.087 304.3)

  5. Step 400

    400 (this color)

    #AB7FDD

    oklch(67.7% 0.141 304.5)

  6. Step 500

    500

    #A367E0

    oklch(63.1% 0.181 304.6)

  7. Step 600

    600

    #8E4ACE

    oklch(55.6% 0.197 304.4)

  8. Step 700

    700

    #793AB2

    oklch(49.1% 0.183 304.5)

  9. Step 800

    800

    #623190

    oklch(42.6% 0.152 304.4)

  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

#AB7FDD 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)#6891E00.098
Deuteranopia (no green cones)#7293DB0.091
Tritanopia (no blue cones)#A38EA30.106
Achromatopsia (no color)#9393930.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FDD

    #AB7FDD

    oklch(67.7% 0.141 304.5)

  • #84A538

    #84A538

    oklch(67.5% 0.141 124.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FDD

    #AB7FDD

    oklch(67.7% 0.141 304.5)

  • #7E8EED

    #7E8EED

    oklch(67.6% 0.141 274.8)

  • #CB73BA

    #CB73BA

    oklch(67.6% 0.142 334.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FDD

    #AB7FDD

    oklch(67.7% 0.141 304.5)

  • #B39500

    #B39500

    oklch(67.7% 0.139 94.5)

  • #3EB06F

    #3EB06F

    oklch(67.6% 0.141 154.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FDD

    #AB7FDD

    oklch(67.7% 0.141 304.5)

  • #D28222

    #D28222

    oklch(67.7% 0.141 64.6)

  • #00AFA0

    #00AFA0

    oklch(67.8% 0.12 184.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7FDD

    #AB7FDD

    oklch(67.7% 0.141 304.5)

  • #E0735A

    #E0735A

    oklch(67.6% 0.141 34.1)

  • #84A538

    #84A538

    oklch(67.5% 0.141 124.5)

  • #00A9C4

    #00A9C4

    oklch(67.6% 0.119 214.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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