#AB7FFE

Closest named color: Light Urple (#B36FF6). oklch(69.5% 0.183 297.4), rgb(171, 127, 254).

Aa

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

About this color

#AB7FFE is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.183 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.036 away. Black text reads best on it, at 7.19:1.

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

Values

HEX#AB7FFE
RGBrgb(171, 127, 254)
HSLhsl(261, 98%, 75%)
OKLCHoklch(69.5% 0.183 297.4)

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 #AB7FFE 2.91:1 Fails Lc -60.6 Content text, not long reading
Black text on #AB7FFE 7.19:1 AAA Lc 48.7 Large or bold text, headings
#AB7FFE text on white 2.91:1 Fails Lc 55.3 Large or bold text, headings
#AB7FFE text on black 7.19:1 AAA Lc -46.5 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

    #C8B1FF

    oklch(80.8% 0.111 297.4)

  5. Step 400

    400 (this color)

    #AB7FFE

    oklch(69.5% 0.183 297.4)

  6. Step 500

    500

    #9D5DFF

    oklch(63.1% 0.229 297.6)

  7. Step 600

    600

    #8A37F1

    oklch(55.7% 0.254 297.5)

  8. Step 700

    700

    #7526D1

    oklch(49% 0.235 297.5)

  9. Step 800

    800

    #5F24A9

    oklch(42.7% 0.195 297.4)

  10. Step 900

    900

    #4D2586

    oklch(37.7% 0.152 297.4)

  11. Step 950

    950

    #2D184E

    oklch(27.1% 0.095 297.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB7FFE 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)#5198FF0.120
Deuteranopia (no green cones)#5C96FB0.111
Tritanopia (no blue cones)#9998B30.144
Achromatopsia (no color)#9797970.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FFE

    #AB7FFE

    oklch(69.5% 0.183 297.4)

  • #96A900

    #96A900

    oklch(69.6% 0.161 117.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FFE

    #AB7FFE

    oklch(69.5% 0.183 297.4)

  • #7196FF

    #7196FF

    oklch(69.4% 0.16 267.5)

  • #D66ED6

    #D66ED6

    oklch(69.4% 0.182 327.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FFE

    #AB7FFE

    oklch(69.5% 0.183 297.4)

  • #C29600

    #C29600

    oklch(69.5% 0.142 87.6)

  • #33BA54

    #33BA54

    oklch(69.5% 0.183 147.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FFE

    #AB7FFE

    oklch(69.5% 0.183 297.4)

  • #E77D00

    #E77D00

    oklch(69.4% 0.167 57.6)

  • #00B69C

    #00B69C

    oklch(69.4% 0.128 177.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7FFE

    #AB7FFE

    oklch(69.5% 0.183 297.4)

  • #F9665A

    #F9665A

    oklch(69.4% 0.183 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 #AB7FFE, closest first.

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

Similar named colors

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

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