#AB8AEF

Closest named color: Perrywinkle (#8F8CE7). oklch(70.5% 0.147 297.6), rgb(171, 138, 239).

Aa

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

About this color

#AB8AEF is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.147 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.044 away. Black text reads best on it, at 7.61:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.147)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.61:1
White text2.75:1

Values

HEX#AB8AEF
RGBrgb(171, 138, 239)
HSLhsl(260, 76%, 74%)
OKLCHoklch(70.5% 0.147 297.6)

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 #AB8AEF 2.75:1 Fails Lc -58.4 Large or bold text, headings
Black text on #AB8AEF 7.61:1 AAA Lc 50.9 Large or bold text, headings
#AB8AEF text on white 2.75:1 Fails Lc 53.1 Large or bold text, headings
#AB8AEF text on black 7.61:1 AAA Lc -48.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FA

    oklch(93.5% 0.027 297.3)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300

    #C7B4F5

    oklch(80.8% 0.092 297.7)

  5. Step 400

    400 (this color)

    #AB8AEF

    oklch(70.5% 0.147 297.6)

  6. Step 500

    500

    #986AEA

    oklch(63.1% 0.186 297.4)

  7. Step 600

    600

    #844DD9

    oklch(55.7% 0.204 297.4)

  8. Step 700

    700

    #703CBC

    oklch(49.1% 0.19 297.5)

  9. Step 800

    800

    #5B3398

    oklch(42.7% 0.157 297.5)

  10. Step 900

    900

    #4A2E79

    oklch(37.6% 0.123 297.4)

  11. Step 950

    950

    #2B1C47

    oklch(27% 0.078 297)

Export this scale for Tailwind in the Tailwind colors tool

#AB8AEF 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)#6D9CF30.088
Deuteranopia (no green cones)#739BEC0.083
Tritanopia (no blue cones)#9D9CB10.117
Achromatopsia (no color)#9C9C9C0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB8AEF

    #AB8AEF

    oklch(70.5% 0.147 297.6)

  • #99AB2D

    #99AB2D

    oklch(70.4% 0.147 117.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB8AEF

    #AB8AEF

    oklch(70.5% 0.147 297.6)

  • #789BFB

    #789BFB

    oklch(70.6% 0.146 267.5)

  • #D07DCE

    #D07DCE

    oklch(70.6% 0.146 327.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB8AEF

    #AB8AEF

    oklch(70.5% 0.147 297.6)

  • #C69900

    #C69900

    oklch(70.5% 0.144 87.5)

  • #57B868

    #57B868

    oklch(70.4% 0.147 147.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB8AEF

    #AB8AEF

    oklch(70.5% 0.147 297.6)

  • #E38534

    #E38534

    oklch(70.5% 0.147 57.1)

  • #00BA9F

    #00BA9F

    oklch(70.5% 0.131 177.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB8AEF

    #AB8AEF

    oklch(70.5% 0.147 297.6)

  • #ED786C

    #ED786C

    oklch(70.4% 0.147 27.4)

  • #99AB2D

    #99AB2D

    oklch(70.4% 0.147 117.5)

  • #00B4C7

    #00B4C7

    oklch(70.4% 0.121 208.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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