#AB81E2

Closest named color: Perrywinkle (#8F8CE7). oklch(68.3% 0.144 302.7), rgb(171, 129, 226).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.144)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text6.96:1
White text3.01:1

Values

HEX#AB81E2
RGBrgb(171, 129, 226)
HSLhsl(266, 63%, 70%)
OKLCHoklch(68.3% 0.144 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 #AB81E2 3.01:1 AA large text Lc -62.1 Content text, not long reading
Black text on #AB81E2 6.96:1 AA Lc 47.4 Large or bold text, headings
#AB81E2 text on white 3.01:1 AA large text Lc 56.7 Large or bold text, headings
#AB81E2 text on black 6.96:1 AA Lc -45.1 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

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DFD2F5

    oklch(88.5% 0.049 302.3)

  4. Step 300

    300

    #CCB3F1

    oklch(80.9% 0.09 302.9)

  5. Step 400

    400 (this color)

    #AB81E2

    oklch(68.3% 0.144 302.7)

  6. Step 500

    500

    #A067E4

    oklch(63.1% 0.185 302.5)

  7. Step 600

    600

    #8C4AD1

    oklch(55.5% 0.2 302.8)

  8. Step 700

    700

    #773AB5

    oklch(49% 0.186 302.8)

  9. Step 800

    800

    #613193

    oklch(42.7% 0.155 302.8)

  10. Step 900

    900

    #4F2D75

    oklch(37.7% 0.12 302.8)

  11. Step 950

    950

    #2E1B45

    oklch(27% 0.077 302.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB81E2 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)#6894E60.097
Deuteranopia (no green cones)#7194DF0.090
Tritanopia (no blue cones)#A191A70.109
Achromatopsia (no color)#9595950.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB81E2

    #AB81E2

    oklch(68.3% 0.144 302.7)

  • #89A733

    #89A733

    oklch(68.3% 0.144 122.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB81E2

    #AB81E2

    oklch(68.3% 0.144 302.7)

  • #7C91F2

    #7C91F2

    oklch(68.3% 0.145 272.8)

  • #CC75BF

    #CC75BF

    oklch(68.2% 0.143 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB81E2

    #AB81E2

    oklch(68.3% 0.144 302.7)

  • #B79600

    #B79600

    oklch(68.3% 0.14 93.1)

  • #43B26C

    #43B26C

    oklch(68.2% 0.144 152.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB81E2

    #AB81E2

    oklch(68.3% 0.144 302.7)

  • #D78223

    #D78223

    oklch(68.3% 0.145 62.5)

  • #00B1A0

    #00B1A0

    oklch(68.3% 0.122 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB81E2

    #AB81E2

    oklch(68.3% 0.144 302.7)

  • #E4745D

    #E4745D

    oklch(68.3% 0.144 32.9)

  • #89A733

    #89A733

    oklch(68.3% 0.144 122.9)

  • #00ACC4

    #00ACC4

    oklch(68.3% 0.119 212.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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