#AB8EFB

Closest named color: Liliac (#C48EFD). oklch(71.8% 0.156 294.4), rgb(171, 142, 251).

Aa

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

About this color

#AB8EFB is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.156 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.039 away. Black text reads best on it, at 7.99:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.156)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.99:1
White text2.62:1

Values

HEX#AB8EFB
RGBrgb(171, 142, 251)
HSLhsl(256, 93%, 77%)
OKLCHoklch(71.8% 0.156 294.4)

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 #AB8EFB 2.62:1 Fails Lc -56.2 Large or bold text, headings
Black text on #AB8EFB 7.99:1 AAA Lc 52.9 Large or bold text, headings
#AB8EFB text on white 2.62:1 Fails Lc 51.1 Large or bold text, headings
#AB8EFB text on black 7.99:1 AAA Lc -50.8 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DBD3FA

    oklch(88.6% 0.054 294.7)

  4. Step 300

    300

    #C4B5FA

    oklch(81% 0.097 294.1)

  5. Step 400

    400 (this color)

    #AB8EFB

    oklch(71.8% 0.156 294.4)

  6. Step 500

    500

    #9469F3

    oklch(63.1% 0.198 294.4)

  7. Step 600

    600

    #804BE2

    oklch(55.7% 0.216 294.4)

  8. Step 700

    700

    #6C3AC4

    oklch(49% 0.201 294.3)

  9. Step 800

    800

    #58329F

    oklch(42.8% 0.167 294.2)

  10. Step 900

    900

    #482E7E

    oklch(37.8% 0.129 294.3)

  11. Step 950

    950

    #2A1C4A

    oklch(27.1% 0.082 294.3)

Export this scale for Tailwind in the Tailwind colors tool

#AB8EFB 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)#6CA1FF0.088
Deuteranopia (no green cones)#709EF80.083
Tritanopia (no blue cones)#99A2B80.127
Achromatopsia (no color)#A0A0A00.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB8EFB

    #AB8EFB

    oklch(71.8% 0.156 294.4)

  • #A3AE19

    #A3AE19

    oklch(71.8% 0.156 114.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB8EFB

    #AB8EFB

    oklch(71.8% 0.156 294.4)

  • #76A1FF

    #76A1FF

    oklch(71.9% 0.145 264.4)

  • #D37FDA

    #D37FDA

    oklch(71.7% 0.156 324.2)

Open the analogous palette in the generator

Split complementary

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

  • #AB8EFB

    #AB8EFB

    oklch(71.8% 0.156 294.4)

  • #CF9B00

    #CF9B00

    oklch(71.9% 0.148 84.4)

  • #5EBD62

    #5EBD62

    oklch(71.9% 0.156 144.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB8EFB

    #AB8EFB

    oklch(71.8% 0.156 294.4)

  • #ED8534

    #ED8534

    oklch(71.8% 0.156 54.2)

  • #00BF9E

    #00BF9E

    oklch(71.8% 0.136 174.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB8EFB

    #AB8EFB

    oklch(71.8% 0.156 294.4)

  • #F67872

    #F67872

    oklch(71.8% 0.156 24.5)

  • #A3AE19

    #A3AE19

    oklch(71.8% 0.156 114.3)

  • #00BAC8

    #00BAC8

    oklch(71.9% 0.123 204.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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