#AB87DC

Closest named color: Pale Purple (#B790D4). oklch(69% 0.127 302.7), rgb(171, 135, 220).

Aa

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

About this color

#AB87DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.127 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.23:1.

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

Values

HEX#AB87DC
RGBrgb(171, 135, 220)
HSLhsl(265, 55%, 70%)
OKLCHoklch(69% 0.127 302.7)

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 #AB87DC 2.90:1 Fails Lc -60.6 Content text, not long reading
Black text on #AB87DC 7.23:1 AAA Lc 48.8 Large or bold text, headings
#AB87DC text on white 2.90:1 Fails Lc 55.3 Large or bold text, headings
#AB87DC text on black 7.23: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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #DFD3F2

    oklch(88.6% 0.044 303.1)

  4. Step 300

    300

    #CAB5EC

    oklch(80.9% 0.079 302.1)

  5. Step 400

    400 (this color)

    #AB87DC

    oklch(69% 0.127 302.7)

  6. Step 500

    500

    #9D6DD9

    oklch(63% 0.162 302.5)

  7. Step 600

    600

    #8952C6

    oklch(55.6% 0.176 303)

  8. Step 700

    700

    #7442AC

    oklch(49.2% 0.164 302.5)

  9. Step 800

    800

    #5E378B

    oklch(42.7% 0.136 302.4)

  10. Step 900

    900

    #4D316F

    oklch(37.8% 0.105 302.5)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB87DC 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)#7397DF0.083
Deuteranopia (no green cones)#7A97DA0.077
Tritanopia (no blue cones)#A395A70.098
Achromatopsia (no color)#9797970.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB87DC

    #AB87DC

    oklch(69% 0.127 302.7)

  • #8DA848

    #8DA848

    oklch(69.1% 0.127 122.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB87DC

    #AB87DC

    oklch(69% 0.127 302.7)

  • #8195EA

    #8195EA

    oklch(69% 0.127 272.6)

  • #C97CBD

    #C97CBD

    oklch(68.9% 0.127 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB87DC

    #AB87DC

    oklch(69% 0.127 302.7)

  • #B7992B

    #B7992B

    oklch(69.1% 0.127 92.9)

  • #55B275

    #55B275

    oklch(69.1% 0.127 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB87DC

    #AB87DC

    oklch(69% 0.127 302.7)

  • #D2883E

    #D2883E

    oklch(69% 0.127 62.7)

  • #00B4A2

    #00B4A2

    oklch(69.1% 0.123 182.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB87DC

    #AB87DC

    oklch(69% 0.127 302.7)

  • #DE7C67

    #DE7C67

    oklch(69% 0.126 33.1)

  • #8DA848

    #8DA848

    oklch(69.1% 0.127 122.9)

  • #00AEC7

    #00AEC7

    oklch(69% 0.12 212.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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