#AB51FE

Closest named color: Lighter Purple (#A55AF4). oklch(63% 0.245 303.9), rgb(171, 81, 254).

Aa

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

About this color

#AB51FE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.245 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.023 away. Black text reads best on it, at 5.33:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.245)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.33:1
White text3.93:1

Values

HEX#AB51FE
RGBrgb(171, 81, 254)
HSLhsl(271, 99%, 66%)
OKLCHoklch(63% 0.245 303.9)

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 #AB51FE 3.93:1 AA large text Lc -71.4 Content text, not long reading
Black text on #AB51FE 5.33:1 AA Lc 38.2 Non-text elements, placeholder text
#AB51FE text on white 3.93:1 AA large text Lc 65.9 Content text, not long reading
#AB51FE text on black 5.33:1 AA Lc -35.7 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #EFE5FD

    oklch(93.7% 0.034 304.5)

  3. Step 200

    200

    #E2CFFE

    oklch(88.5% 0.067 303.4)

  4. Step 300

    300

    #D1ADFF

    oklch(80.8% 0.119 304)

  5. Step 400

    400

    #BB7DFF

    oklch(70.7% 0.19 304)

  6. Step 500

    500 (this color)

    #AB51FE

    oklch(63% 0.245 303.9)

  7. Step 600

    600

    #9726ED

    oklch(55.5% 0.266 303.8)

  8. Step 700

    700

    #8111CF

    oklch(49.1% 0.248 303.6)

  9. Step 800

    800

    #6917A7

    oklch(42.7% 0.205 303.9)

  10. Step 900

    900

    #551E84

    oklch(37.6% 0.16 304.1)

  11. Step 950

    950

    #32144D

    oklch(27% 0.101 304.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB51FE 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)#007EFF0.187
Deuteranopia (no green cones)#0080FA0.189
Tritanopia (no blue cones)#9B79A20.178
Achromatopsia (no color)#8080800.247

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB51FE

    #AB51FE

    oklch(63% 0.245 303.9)

  • #769800

    #769800

    oklch(63.1% 0.157 124)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB51FE

    #AB51FE

    oklch(63% 0.245 303.9)

  • #6778FF

    #6778FF

    oklch(63% 0.199 273.8)

  • #D935C5

    #D935C5

    oklch(63% 0.245 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB51FE

    #AB51FE

    oklch(63% 0.245 303.9)

  • #A38700

    #A38700

    oklch(63.1% 0.129 94.2)

  • #00A45A

    #00A45A

    oklch(63.1% 0.159 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB51FE

    #AB51FE

    oklch(63% 0.245 303.9)

  • #C47300

    #C47300

    oklch(63.1% 0.143 63.7)

  • #009F91

    #009F91

    oklch(63.1% 0.112 184)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB51FE

    #AB51FE

    oklch(63% 0.245 303.9)

  • #F33900

    #F33900

    oklch(63% 0.227 33.9)

  • #769800

    #769800

    oklch(63.1% 0.157 124)

  • #009AB2

    #009AB2

    oklch(63.1% 0.111 213.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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