#AB87DE

Closest named color: Pale Purple (#B790D4). oklch(69.1% 0.129 302.2), rgb(171, 135, 222).

Aa

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

About this color

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

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

Values

HEX#AB87DE
RGBrgb(171, 135, 222)
HSLhsl(265, 57%, 70%)
OKLCHoklch(69.1% 0.129 302.2)

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 #AB87DE 2.89:1 Fails Lc -60.5 Content text, not long reading
Black text on #AB87DE 7.25:1 AAA Lc 48.9 Large or bold text, headings
#AB87DE text on white 2.89:1 Fails Lc 55.2 Large or bold text, headings
#AB87DE text on black 7.25:1 AAA Lc -46.7 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

    #DED3F2

    oklch(88.5% 0.044 301.7)

  4. Step 300

    300

    #CAB5ED

    oklch(81% 0.081 301.8)

  5. Step 400

    400 (this color)

    #AB87DE

    oklch(69.1% 0.129 302.2)

  6. Step 500

    500

    #9D6CDB

    oklch(63% 0.166 302.3)

  7. Step 600

    600

    #8851C9

    oklch(55.5% 0.181 301.9)

  8. Step 700

    700

    #7441AD

    oklch(49.1% 0.167 302.4)

  9. Step 800

    800

    #5E368C

    oklch(42.6% 0.138 302.3)

  10. Step 900

    900

    #4D3070

    oklch(37.7% 0.108 302.4)

  11. Step 950

    950

    #2D1D42

    oklch(27.1% 0.068 302)

Export this scale for Tailwind in the Tailwind colors tool

#AB87DE 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)#7297E10.084
Deuteranopia (no green cones)#7997DC0.078
Tritanopia (no blue cones)#A295A80.099
Achromatopsia (no color)#9898980.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB87DE

    #AB87DE

    oklch(69.1% 0.129 302.2)

  • #8EA845

    #8EA845

    oklch(69.1% 0.129 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB87DE

    #AB87DE

    oklch(69.1% 0.129 302.2)

  • #8095EC

    #8095EC

    oklch(69% 0.13 272.3)

  • #CA7CBF

    #CA7CBF

    oklch(69.1% 0.129 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB87DE

    #AB87DE

    oklch(69.1% 0.129 302.2)

  • #B89827

    #B89827

    oklch(69% 0.129 92)

  • #55B273

    #55B273

    oklch(69% 0.129 152.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB87DE

    #AB87DE

    oklch(69.1% 0.129 302.2)

  • #D4883C

    #D4883C

    oklch(69.2% 0.129 62.5)

  • #00B4A2

    #00B4A2

    oklch(69.1% 0.123 182.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB87DE

    #AB87DE

    oklch(69.1% 0.129 302.2)

  • #E07B67

    #E07B67

    oklch(69.1% 0.13 32.3)

  • #8EA845

    #8EA845

    oklch(69.1% 0.129 122.2)

  • #00AFC7

    #00AFC7

    oklch(69.2% 0.121 211.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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