#AB52FF

Closest named color: Lighter Purple (#A55AF4). oklch(63.2% 0.245 303.6), rgb(171, 82, 255).

Aa

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

About this color

#AB52FF 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.38:1.

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

Values

HEX#AB52FF
RGBrgb(171, 82, 255)
HSLhsl(271, 100%, 66%)
OKLCHoklch(63.2% 0.245 303.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 #AB52FF 3.90:1 AA large text Lc -71.2 Content text, not long reading
Black text on #AB52FF 5.38:1 AA Lc 38.4 Non-text elements, placeholder text
#AB52FF text on white 3.90:1 AA large text Lc 65.7 Content text, not long reading
#AB52FF text on black 5.38:1 AA Lc -36.0 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

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E2CFFE

    oklch(88.5% 0.067 303.4)

  4. Step 300

    300

    #D1AEFF

    oklch(81% 0.117 303.7)

  5. Step 400

    400

    #BA7DFF

    oklch(70.6% 0.189 303.6)

  6. Step 500

    500 (this color)

    #AB52FF

    oklch(63.2% 0.245 303.6)

  7. Step 600

    600

    #9726EE

    oklch(55.6% 0.267 303.6)

  8. Step 700

    700

    #8112CF

    oklch(49.1% 0.248 303.6)

  9. Step 800

    800

    #6917A7

    oklch(42.7% 0.205 303.9)

  10. Step 900

    900

    #551F84

    oklch(37.7% 0.159 303.9)

  11. Step 950

    950

    #31144E

    oklch(26.9% 0.102 303)

Export this scale for Tailwind in the Tailwind colors tool

#AB52FF 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)#007FFF0.187
Deuteranopia (no green cones)#0081FB0.188
Tritanopia (no blue cones)#9B7AA30.178
Achromatopsia (no color)#8181810.247

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB52FF

    #AB52FF

    oklch(63.2% 0.245 303.6)

  • #779800

    #779800

    oklch(63.1% 0.156 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB52FF

    #AB52FF

    oklch(63.2% 0.245 303.6)

  • #6779FF

    #6779FF

    oklch(63.2% 0.198 273.6)

  • #DA36C6

    #DA36C6

    oklch(63.3% 0.245 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB52FF

    #AB52FF

    oklch(63.2% 0.245 303.6)

  • #A48700

    #A48700

    oklch(63.2% 0.129 93.7)

  • #00A559

    #00A559

    oklch(63.3% 0.162 153.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB52FF

    #AB52FF

    oklch(63.2% 0.245 303.6)

  • #C57300

    #C57300

    oklch(63.2% 0.144 63.3)

  • #009F91

    #009F91

    oklch(63.1% 0.112 184)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB52FF

    #AB52FF

    oklch(63.2% 0.245 303.6)

  • #F53800

    #F53800

    oklch(63.2% 0.229 33.7)

  • #779800

    #779800

    oklch(63.1% 0.156 123.6)

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

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

Similar named colors

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

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