#AB7FFF

Closest named color: Light Urple (#B36FF6). oklch(69.5% 0.184 297.2), rgb(171, 127, 255).

Aa

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

About this color

#AB7FFF is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.184 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.037 away. Black text reads best on it, at 7.21:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.184)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text7.21:1
White text2.91:1

Values

HEX#AB7FFF
RGBrgb(171, 127, 255)
HSLhsl(261, 100%, 75%)
OKLCHoklch(69.5% 0.184 297.2)

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 #AB7FFF 2.91:1 Fails Lc -60.6 Content text, not long reading
Black text on #AB7FFF 7.21:1 AAA Lc 48.8 Large or bold text, headings
#AB7FFF text on white 2.91:1 Fails Lc 55.2 Large or bold text, headings
#AB7FFF text on black 7.21:1 AAA Lc -46.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

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE6FE

    oklch(93.7% 0.033 297.2)

  3. Step 200

    200

    #DDD1FF

    oklch(88.5% 0.064 297)

  4. Step 300

    300

    #C8B2FF

    oklch(81% 0.109 297)

  5. Step 400

    400 (this color)

    #AB7FFF

    oklch(69.5% 0.184 297.2)

  6. Step 500

    500

    #9C5EFF

    oklch(63.1% 0.228 297.1)

  7. Step 600

    600

    #8937F2

    oklch(55.6% 0.255 297)

  8. Step 700

    700

    #7525D2

    oklch(49.1% 0.237 297.3)

  9. Step 800

    800

    #5F23AA

    oklch(42.7% 0.197 297.3)

  10. Step 900

    900

    #4D2587

    oklch(37.7% 0.154 297.1)

  11. Step 950

    950

    #2D174F

    oklch(27% 0.098 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB7FFF 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)#5098FF0.121
Deuteranopia (no green cones)#5B96FC0.112
Tritanopia (no blue cones)#9898B30.146
Achromatopsia (no color)#9797970.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FFF

    #AB7FFF

    oklch(69.5% 0.184 297.2)

  • #96A900

    #96A900

    oklch(69.6% 0.161 117.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FFF

    #AB7FFF

    oklch(69.5% 0.184 297.2)

  • #7197FF

    #7197FF

    oklch(69.6% 0.159 267.1)

  • #D76ED7

    #D76ED7

    oklch(69.6% 0.183 327.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FFF

    #AB7FFF

    oklch(69.5% 0.184 297.2)

  • #C29600

    #C29600

    oklch(69.5% 0.142 87.6)

  • #33BA53

    #33BA53

    oklch(69.5% 0.184 147.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FFF

    #AB7FFF

    oklch(69.5% 0.184 297.2)

  • #E87D00

    #E87D00

    oklch(69.6% 0.168 57.4)

  • #00B69C

    #00B69C

    oklch(69.4% 0.128 177.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7FFF

    #AB7FFF

    oklch(69.5% 0.184 297.2)

  • #FA665A

    #FA665A

    oklch(69.5% 0.184 27.5)

  • #96A900

    #96A900

    oklch(69.6% 0.161 117.5)

  • #00B1C3

    #00B1C3

    oklch(69.5% 0.119 207.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AB7FFF.

Similar named colors

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

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