#AB7FFD

Closest named color: Light Purple (#BF77F6). oklch(69.4% 0.181 297.6), rgb(171, 127, 253).

Aa

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

About this color

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

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

Values

HEX#AB7FFD
RGBrgb(171, 127, 253)
HSLhsl(261, 97%, 75%)
OKLCHoklch(69.4% 0.181 297.6)

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 #AB7FFD 2.92:1 Fails Lc -60.7 Content text, not long reading
Black text on #AB7FFD 7.18:1 AAA Lc 48.7 Large or bold text, headings
#AB7FFD text on white 2.92:1 Fails Lc 55.4 Large or bold text, headings
#AB7FFD text on black 7.18:1 AAA Lc -46.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

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE6FE

    oklch(93.7% 0.033 297.2)

  3. Step 200

    200

    #DDD1FE

    oklch(88.5% 0.063 297.3)

  4. Step 300

    300

    #C9B1FF

    oklch(80.9% 0.111 298)

  5. Step 400

    400 (this color)

    #AB7FFD

    oklch(69.4% 0.181 297.6)

  6. Step 500

    500

    #9D5DFF

    oklch(63.1% 0.229 297.6)

  7. Step 600

    600

    #8A38EF

    oklch(55.6% 0.251 297.8)

  8. Step 700

    700

    #7527D0

    oklch(49% 0.234 297.6)

  9. Step 800

    800

    #5F24A8

    oklch(42.6% 0.194 297.7)

  10. Step 900

    900

    #4D2585

    oklch(37.6% 0.151 297.7)

  11. Step 950

    950

    #2D184E

    oklch(27.1% 0.095 297.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB7FFD 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)#5297FF0.119
Deuteranopia (no green cones)#5D96FA0.110
Tritanopia (no blue cones)#9997B20.143
Achromatopsia (no color)#9797970.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FFD

    #AB7FFD

    oklch(69.4% 0.181 297.6)

  • #95A900

    #95A900

    oklch(69.5% 0.162 117.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FFD

    #AB7FFD

    oklch(69.4% 0.181 297.6)

  • #7196FF

    #7196FF

    oklch(69.4% 0.16 267.5)

  • #D66ED5

    #D66ED5

    oklch(69.4% 0.181 327.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FFD

    #AB7FFD

    oklch(69.4% 0.181 297.6)

  • #C29600

    #C29600

    oklch(69.5% 0.142 87.6)

  • #33B955

    #33B955

    oklch(69.3% 0.181 147.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FFD

    #AB7FFD

    oklch(69.4% 0.181 297.6)

  • #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.

  • #AB7FFD

    #AB7FFD

    oklch(69.4% 0.181 297.6)

  • #F9675A

    #F9675A

    oklch(69.5% 0.181 27.8)

  • #95A900

    #95A900

    oklch(69.5% 0.162 117.9)

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

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

Similar named colors

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

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