#AB82E2

Closest named color: Perrywinkle (#8F8CE7). oklch(68.4% 0.143 302.5), rgb(171, 130, 226).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.143)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.02:1
White text2.99:1

Values

HEX#AB82E2
RGBrgb(171, 130, 226)
HSLhsl(266, 62%, 70%)
OKLCHoklch(68.4% 0.143 302.5)

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 #AB82E2 2.99:1 Fails Lc -61.8 Content text, not long reading
Black text on #AB82E2 7.02:1 AAA Lc 47.6 Large or bold text, headings
#AB82E2 text on white 2.99:1 Fails Lc 56.4 Large or bold text, headings
#AB82E2 text on black 7.02:1 AAA Lc -45.4 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

    #CBB3F1

    oklch(80.8% 0.09 302.2)

  5. Step 400

    400 (this color)

    #AB82E2

    oklch(68.4% 0.143 302.5)

  6. Step 500

    500

    #A068E3

    oklch(63.2% 0.182 302.5)

  7. Step 600

    600

    #8B4BD1

    oklch(55.6% 0.199 302.3)

  8. Step 700

    700

    #773BB5

    oklch(49.2% 0.185 302.7)

  9. Step 800

    800

    #603292

    oklch(42.7% 0.152 302.4)

  10. Step 900

    900

    #4E2D75

    oklch(37.6% 0.12 302.1)

  11. Step 950

    950

    #2E1B44

    oklch(26.9% 0.076 303.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB82E2 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)#6994E60.095
Deuteranopia (no green cones)#7295DF0.089
Tritanopia (no blue cones)#A192A70.109
Achromatopsia (no color)#9595950.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB82E2

    #AB82E2

    oklch(68.4% 0.143 302.5)

  • #8AA735

    #8AA735

    oklch(68.4% 0.143 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB82E2

    #AB82E2

    oklch(68.4% 0.143 302.5)

  • #7C92F1

    #7C92F1

    oklch(68.5% 0.142 272.3)

  • #CC76C0

    #CC76C0

    oklch(68.4% 0.142 332.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB82E2

    #AB82E2

    oklch(68.4% 0.143 302.5)

  • #B89600

    #B89600

    oklch(68.4% 0.14 92.6)

  • #46B26D

    #46B26D

    oklch(68.4% 0.142 152.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB82E2

    #AB82E2

    oklch(68.4% 0.143 302.5)

  • #D78327

    #D78327

    oklch(68.5% 0.143 62.5)

  • #00B2A0

    #00B2A0

    oklch(68.5% 0.123 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB82E2

    #AB82E2

    oklch(68.4% 0.143 302.5)

  • #E4755F

    #E4755F

    oklch(68.5% 0.143 32.5)

  • #8AA735

    #8AA735

    oklch(68.4% 0.143 122.6)

  • #00ACC5

    #00ACC5

    oklch(68.4% 0.12 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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