#AB7FED

Closest named color: Light Purple (#BF77F6). oklch(68.5% 0.161 300.7), rgb(171, 127, 237).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.161)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.99:1
White text3.00:1

Values

HEX#AB7FED
RGBrgb(171, 127, 237)
HSLhsl(264, 75%, 71%)
OKLCHoklch(68.5% 0.161 300.7)

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 #AB7FED 3.00:1 AA large text Lc -61.9 Content text, not long reading
Black text on #AB7FED 6.99:1 AA Lc 47.5 Large or bold text, headings
#AB7FED text on white 3.00:1 AA large text Lc 56.5 Large or bold text, headings
#AB7FED text on black 6.99:1 AA Lc -45.2 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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1F9

    oklch(88.5% 0.056 301.2)

  4. Step 300

    300

    #CBB2F8

    oklch(80.9% 0.1 300.6)

  5. Step 400

    400 (this color)

    #AB7FED

    oklch(68.5% 0.161 300.7)

  6. Step 500

    500

    #A062F0

    oklch(63.1% 0.206 300.8)

  7. Step 600

    600

    #8C43DF

    oklch(55.7% 0.224 300.6)

  8. Step 700

    700

    #7732C1

    oklch(49% 0.208 300.8)

  9. Step 800

    800

    #612C9C

    oklch(42.8% 0.172 300.9)

  10. Step 900

    900

    #4F2A7C

    oklch(37.8% 0.134 300.9)

  11. Step 950

    950

    #2E1A49

    oklch(27.1% 0.085 300.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB7FED 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)#5E94F10.108
Deuteranopia (no green cones)#6894EA0.100
Tritanopia (no blue cones)#9E93AB0.125
Achromatopsia (no color)#9595950.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FED

    #AB7FED

    oklch(68.5% 0.161 300.7)

  • #8CA80B

    #8CA80B

    oklch(68.6% 0.162 121)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FED

    #AB7FED

    oklch(68.5% 0.161 300.7)

  • #7591FD

    #7591FD

    oklch(68.5% 0.162 270.7)

  • #D171C8

    #D171C8

    oklch(68.6% 0.161 330.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FED

    #AB7FED

    oklch(68.5% 0.161 300.7)

  • #BB9500

    #BB9500

    oklch(68.6% 0.14 90.4)

  • #38B563

    #38B563

    oklch(68.6% 0.161 150.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FED

    #AB7FED

    oklch(68.5% 0.161 300.7)

  • #DF7E00

    #DF7E00

    oklch(68.5% 0.16 60.6)

  • #00B29E

    #00B29E

    oklch(68.5% 0.123 181)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7FED

    #AB7FED

    oklch(68.5% 0.161 300.7)

  • #ED6D5A

    #ED6D5A

    oklch(68.5% 0.162 30.4)

  • #8CA80B

    #8CA80B

    oklch(68.6% 0.162 121)

  • #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 #AB7FED, closest first.

Similar named colors

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

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