#AB8FEF

Closest named color: Liliac (#C48EFD). oklch(71.4% 0.139 296.1), rgb(171, 143, 239).

Aa

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

About this color

#AB8FEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.139 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.044 away. Black text reads best on it, at 7.90:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.90:1
White text2.65:1

Values

HEX#AB8FEF
RGBrgb(171, 143, 239)
HSLhsl(257, 75%, 75%)
OKLCHoklch(71.4% 0.139 296.1)

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 #AB8FEF 2.65:1 Fails Lc -56.8 Large or bold text, headings
Black text on #AB8FEF 7.90:1 AAA Lc 52.5 Large or bold text, headings
#AB8FEF text on white 2.65:1 Fails Lc 51.6 Large or bold text, headings
#AB8FEF text on black 7.90:1 AAA Lc -50.3 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

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DBD3F6

    oklch(88.4% 0.048 295.9)

  4. Step 300

    300

    #C5B6F3

    oklch(81% 0.086 295.7)

  5. Step 400

    400 (this color)

    #AB8FEF

    oklch(71.4% 0.139 296.1)

  6. Step 500

    500

    #956DE7

    oklch(63.1% 0.178 296)

  7. Step 600

    600

    #8151D5

    oklch(55.6% 0.194 296.3)

  8. Step 700

    700

    #6D41B8

    oklch(49.1% 0.179 296.2)

  9. Step 800

    800

    #593695

    oklch(42.7% 0.149 296.5)

  10. Step 900

    900

    #483077

    oklch(37.6% 0.117 295.9)

  11. Step 950

    950

    #2A1D46

    oklch(27% 0.074 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB8FEF 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)#749FF30.078
Deuteranopia (no green cones)#789EED0.075
Tritanopia (no blue cones)#9DA0B40.111
Achromatopsia (no color)#9F9F9F0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB8FEF

    #AB8FEF

    oklch(71.4% 0.139 296.1)

  • #9EAD39

    #9EAD39

    oklch(71.4% 0.139 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB8FEF

    #AB8FEF

    oklch(71.4% 0.139 296.1)

  • #7A9FF9

    #7A9FF9

    oklch(71.4% 0.138 266.1)

  • #CF82D1

    #CF82D1

    oklch(71.4% 0.139 326)

Open the analogous palette in the generator

Split complementary

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

  • #AB8FEF

    #AB8FEF

    oklch(71.4% 0.139 296.1)

  • #C99B1E

    #C99B1E

    oklch(71.3% 0.139 85.9)

  • #63B96C

    #63B96C

    oklch(71.2% 0.138 146.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB8FEF

    #AB8FEF

    oklch(71.4% 0.139 296.1)

  • #E38942

    #E38942

    oklch(71.3% 0.139 56.1)

  • #00BDA0

    #00BDA0

    oklch(71.3% 0.133 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB8FEF

    #AB8FEF

    oklch(71.4% 0.139 296.1)

  • #ED7D74

    #ED7D74

    oklch(71.4% 0.139 25.9)

  • #9EAD39

    #9EAD39

    oklch(71.4% 0.139 116.4)

  • #00B8C8

    #00B8C8

    oklch(71.5% 0.122 205.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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