#AB8CF2

Closest named color: Liliac (#C48EFD). oklch(71% 0.148 296.5), rgb(171, 140, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.148)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.76:1
White text2.70:1

Values

HEX#AB8CF2
RGBrgb(171, 140, 242)
HSLhsl(258, 80%, 75%)
OKLCHoklch(71% 0.148 296.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 #AB8CF2 2.70:1 Fails Lc -57.5 Large or bold text, headings
Black text on #AB8CF2 7.76:1 AAA Lc 51.7 Large or bold text, headings
#AB8CF2 text on white 2.70:1 Fails Lc 52.3 Large or bold text, headings
#AB8CF2 text on black 7.76:1 AAA Lc -49.6 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

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DCD3F8

    oklch(88.6% 0.051 296.5)

  4. Step 300

    300

    #C6B5F6

    oklch(81% 0.092 296.3)

  5. Step 400

    400 (this color)

    #AB8CF2

    oklch(71% 0.148 296.5)

  6. Step 500

    500

    #976AEC

    oklch(63.1% 0.189 296.6)

  7. Step 600

    600

    #824DDA

    oklch(55.5% 0.205 296.4)

  8. Step 700

    700

    #6F3DBD

    oklch(49.2% 0.19 296.7)

  9. Step 800

    800

    #5A3399

    oklch(42.6% 0.158 296.7)

  10. Step 900

    900

    #492F7A

    oklch(37.7% 0.122 296)

  11. Step 950

    950

    #2B1C47

    oklch(27% 0.078 297)

Export this scale for Tailwind in the Tailwind colors tool

#AB8CF2 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)#6E9EF60.086
Deuteranopia (no green cones)#739CEF0.082
Tritanopia (no blue cones)#9C9EB30.118
Achromatopsia (no color)#9D9D9D0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB8CF2

    #AB8CF2

    oklch(71% 0.148 296.5)

  • #9DAC2C

    #9DAC2C

    oklch(71% 0.147 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB8CF2

    #AB8CF2

    oklch(71% 0.148 296.5)

  • #779DFD

    #779DFD

    oklch(71% 0.147 266.4)

  • #D17ED2

    #D17ED2

    oklch(71% 0.149 326.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB8CF2

    #AB8CF2

    oklch(71% 0.148 296.5)

  • #C99A00

    #C99A00

    oklch(71.1% 0.145 86.6)

  • #5CBA68

    #5CBA68

    oklch(71.1% 0.148 146.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB8CF2

    #AB8CF2

    oklch(71% 0.148 296.5)

  • #E58637

    #E58637

    oklch(70.9% 0.147 56.4)

  • #00BC9F

    #00BC9F

    oklch(71.1% 0.133 176.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB8CF2

    #AB8CF2

    oklch(71% 0.148 296.5)

  • #EF796F

    #EF796F

    oklch(70.9% 0.147 26.4)

  • #9DAC2C

    #9DAC2C

    oklch(71% 0.147 116.2)

  • #00B6C7

    #00B6C7

    oklch(70.9% 0.121 206.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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