#AB87DB

Closest named color: Pale Purple (#B790D4). oklch(69% 0.126 303), rgb(171, 135, 219).

Aa

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

About this color

#AB87DB is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.126 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.035 away. Black text reads best on it, at 7.22:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.22:1
White text2.90:1

Values

HEX#AB87DB
RGBrgb(171, 135, 219)
HSLhsl(266, 54%, 69%)
OKLCHoklch(69% 0.126 303)

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 #AB87DB 2.90:1 Fails Lc -60.7 Content text, not long reading
Black text on #AB87DB 7.22:1 AAA Lc 48.7 Large or bold text, headings
#AB87DB text on white 2.90:1 Fails Lc 55.3 Large or bold text, headings
#AB87DB text on black 7.22:1 AAA Lc -46.5 Large or bold text, headings

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

    #EDE7F7

    oklch(93.7% 0.022 302.9)

  3. Step 200

    200

    #DFD3F2

    oklch(88.6% 0.044 303.1)

  4. Step 300

    300

    #CBB5EB

    oklch(81% 0.078 303.3)

  5. Step 400

    400 (this color)

    #AB87DB

    oklch(69% 0.126 303)

  6. Step 500

    500

    #9E6DD8

    oklch(63.1% 0.161 303.2)

  7. Step 600

    600

    #8952C5

    oklch(55.5% 0.175 303.2)

  8. Step 700

    700

    #7442AB

    oklch(49.1% 0.163 302.8)

  9. Step 800

    800

    #5F378A

    oklch(42.7% 0.135 303.4)

  10. Step 900

    900

    #4D316E

    oklch(37.7% 0.104 303)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB87DB 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)#7397DE0.083
Deuteranopia (no green cones)#7B97D90.076
Tritanopia (no blue cones)#A394A70.095
Achromatopsia (no color)#9797970.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB87DB

    #AB87DB

    oklch(69% 0.126 303)

  • #8DA849

    #8DA849

    oklch(69.1% 0.126 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB87DB

    #AB87DB

    oklch(69% 0.126 303)

  • #8295E9

    #8295E9

    oklch(69% 0.126 273)

  • #C97CBC

    #C97CBC

    oklch(68.9% 0.126 333.2)

Open the analogous palette in the generator

Split complementary

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

  • #AB87DB

    #AB87DB

    oklch(69% 0.126 303)

  • #B6992D

    #B6992D

    oklch(69% 0.126 93.3)

  • #56B175

    #56B175

    oklch(68.9% 0.125 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB87DB

    #AB87DB

    oklch(69% 0.126 303)

  • #D1883F

    #D1883F

    oklch(68.9% 0.125 62.8)

  • #00B3A2

    #00B3A2

    oklch(68.8% 0.123 183)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB87DB

    #AB87DB

    oklch(69% 0.126 303)

  • #DE7C67

    #DE7C67

    oklch(69% 0.126 33.1)

  • #8DA849

    #8DA849

    oklch(69.1% 0.126 123)

  • #00AEC8

    #00AEC8

    oklch(69% 0.121 213.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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