#AB2FB6

Closest named color: Purply (#983FB2). oklch(54.9% 0.218 324.4), rgb(171, 47, 182).

Aa

White text reads best on this color (5.50:1).

About this color

#AB2FB6 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.218 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.041 away. White text reads best on it, at 5.50:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.218)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.81:1
White text5.50:1

Values

HEX#AB2FB6
RGBrgb(171, 47, 182)
HSLhsl(295, 59%, 45%)
OKLCHoklch(54.9% 0.218 324.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 #AB2FB6 5.50:1 AA Lc -81.6 Fine for body text
Black text on #AB2FB6 3.81:1 AA large text Lc 27.8 Dividers and decoration only
#AB2FB6 text on white 5.50:1 AA Lc 76.3 Fine for body text
#AB2FB6 text on black 3.81:1 AA large text Lc -25.4 Dividers and decoration only

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

  1. Step 50

    50

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #ECCDEE

    oklch(88.4% 0.056 324.1)

  4. Step 300

    300

    #E1ABE4

    oklch(80.9% 0.098 324.7)

  5. Step 400

    400

    #D07BD7

    oklch(70.7% 0.158 324.3)

  6. Step 500

    500

    #C254CC

    oklch(63.1% 0.201 324.3)

  7. Step 600

    600 (this color)

    #AB2FB6

    oklch(54.9% 0.218 324.4)

  8. Step 700

    700

    #95229F

    oklch(49.2% 0.203 324.4)

  9. Step 800

    800

    #792081

    oklch(42.8% 0.168 324.4)

  10. Step 900

    900

    #622167

    oklch(37.7% 0.131 324.8)

  11. Step 950

    950

    #39153D

    oklch(27% 0.083 323.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB2FB6 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)#005FBA0.228
Deuteranopia (no green cones)#496EB30.194
Tritanopia (no blue cones)#AE47710.126
Achromatopsia (no color)#6969690.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2FB6

    #AB2FB6

    oklch(54.9% 0.218 324.4)

  • #008A1E

    #008A1E

    oklch(55% 0.176 144.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2FB6

    #AB2FB6

    oklch(54.9% 0.218 324.4)

  • #7E48E0

    #7E48E0

    oklch(54.9% 0.218 294.4)

  • #C81279

    #C81279

    oklch(54.9% 0.218 354.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB2FB6

    #AB2FB6

    oklch(54.9% 0.218 324.4)

  • #707900

    #707900

    oklch(55% 0.124 114.8)

  • #00846D

    #00846D

    oklch(54.7% 0.103 174.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2FB6

    #AB2FB6

    oklch(54.9% 0.218 324.4)

  • #906B00

    #906B00

    oklch(55% 0.113 84.6)

  • #00818B

    #00818B

    oklch(55% 0.094 204.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2FB6

    #AB2FB6

    oklch(54.9% 0.218 324.4)

  • #AC5700

    #AC5700

    oklch(54.9% 0.136 54.7)

  • #008A1E

    #008A1E

    oklch(55% 0.176 144.4)

  • #007BAA

    #007BAA

    oklch(54.9% 0.115 234.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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