#AB7FEF

Closest named color: Light Purple (#BF77F6). oklch(68.6% 0.164 300.3), rgb(171, 127, 239).

Aa

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

About this color

#AB7FEF is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.164 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.038 away. Black text reads best on it, at 7.01:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.164)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.01:1
White text2.99:1

Values

HEX#AB7FEF
RGBrgb(171, 127, 239)
HSLhsl(264, 78%, 72%)
OKLCHoklch(68.6% 0.164 300.3)

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

    #F7F4FE

    oklch(97.2% 0.014 299.8)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1FA

    oklch(88.5% 0.058 300.8)

  4. Step 300

    300

    #CBB2F9

    oklch(81% 0.102 300.3)

  5. Step 400

    400 (this color)

    #AB7FEF

    oklch(68.6% 0.164 300.3)

  6. Step 500

    500

    #A061F2

    oklch(63.1% 0.21 300.5)

  7. Step 600

    600

    #8C41E1

    oklch(55.6% 0.228 300.4)

  8. Step 700

    700

    #7731C3

    oklch(49.1% 0.212 300.4)

  9. Step 800

    800

    #602B9E

    oklch(42.7% 0.175 300)

  10. Step 900

    900

    #4E297D

    oklch(37.6% 0.136 300.1)

  11. Step 950

    950

    #2E1949

    oklch(26.9% 0.086 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#AB7FEF 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)#5D95F30.109
Deuteranopia (no green cones)#6794EC0.101
Tritanopia (no blue cones)#9E93AC0.126
Achromatopsia (no color)#9595950.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FEF

    #AB7FEF

    oklch(68.6% 0.164 300.3)

  • #8DA800

    #8DA800

    oklch(68.6% 0.164 120.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FEF

    #AB7FEF

    oklch(68.6% 0.164 300.3)

  • #7491FF

    #7491FF

    oklch(68.6% 0.165 270.4)

  • #D170C9

    #D170C9

    oklch(68.5% 0.164 330.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FEF

    #AB7FEF

    oklch(68.6% 0.164 300.3)

  • #BB9500

    #BB9500

    oklch(68.6% 0.14 90.4)

  • #38B561

    #38B561

    oklch(68.5% 0.163 150.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FEF

    #AB7FEF

    oklch(68.6% 0.164 300.3)

  • #E07E00

    #E07E00

    oklch(68.7% 0.161 60.3)

  • #00B39D

    #00B39D

    oklch(68.7% 0.125 179.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7FEF

    #AB7FEF

    oklch(68.6% 0.164 300.3)

  • #EE6D5A

    #EE6D5A

    oklch(68.7% 0.163 30.3)

  • #8DA800

    #8DA800

    oklch(68.6% 0.164 120.5)

  • #00ADC3

    #00ADC3

    oklch(68.5% 0.119 210.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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