#AB1CD4

Closest named color: Vibrant Purple (#AD03DE). oklch(55.7% 0.257 316.5), rgb(171, 28, 212).

Aa

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

About this color

#AB1CD4 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.257 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.019 away. White text reads best on it, at 5.45:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.257)
Temperaturein between
Nearest nameVibrant Purple (#AD03DE)
Black text3.84:1
White text5.45:1

Values

HEX#AB1CD4
RGBrgb(171, 28, 212)
HSLhsl(287, 77%, 47%)
OKLCHoklch(55.7% 0.257 316.5)

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 #AB1CD4 5.45:1 AA Lc -80.8 Fine for body text
Black text on #AB1CD4 3.84:1 AA large text Lc 28.6 Dividers and decoration only
#AB1CD4 text on white 5.45:1 AA Lc 75.4 Fine for body text
#AB1CD4 text on black 3.84:1 AA large text Lc -26.3 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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3F9

    oklch(93.5% 0.034 316.9)

  3. Step 200

    200

    #EACDF6

    oklch(88.5% 0.063 316)

  4. Step 300

    300

    #DEA9F3

    oklch(80.8% 0.116 316.2)

  5. Step 400

    400

    #CD77EC

    oklch(70.7% 0.184 316.5)

  6. Step 500

    500

    #BF4AE6

    oklch(63.1% 0.237 316.4)

  7. Step 600

    600 (this color)

    #AB1CD4

    oklch(55.7% 0.257 316.5)

  8. Step 700

    700

    #9202B7

    oklch(49% 0.239 316.5)

  9. Step 800

    800

    #770F94

    oklch(42.7% 0.198 316.7)

  10. Step 900

    900

    #601A76

    oklch(37.7% 0.154 316.6)

  11. Step 950

    950

    #381245

    oklch(26.9% 0.097 316.3)

Export this scale for Tailwind in the Tailwind colors tool

#AB1CD4 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)#0062D90.229
Deuteranopia (no green cones)#196DD00.228
Tritanopia (no blue cones)#A84E7E0.163
Achromatopsia (no color)#6969690.260

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB1CD4

    #AB1CD4

    oklch(55.7% 0.257 316.5)

  • #3E8800

    #3E8800

    oklch(55.7% 0.167 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB1CD4

    #AB1CD4

    oklch(55.7% 0.257 316.5)

  • #7342FE

    #7342FE

    oklch(55.6% 0.257 286.6)

  • #CA008F

    #CA008F

    oklch(55.7% 0.236 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB1CD4

    #AB1CD4

    oklch(55.7% 0.257 316.5)

  • #7D7700

    #7D7700

    oklch(55.7% 0.119 106.2)

  • #008864

    #008864

    oklch(55.6% 0.115 166.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB1CD4

    #AB1CD4

    oklch(55.7% 0.257 316.5)

  • #9A6900

    #9A6900

    oklch(55.8% 0.117 76.7)

  • #008486

    #008486

    oklch(55.6% 0.095 196.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB1CD4

    #AB1CD4

    oklch(55.7% 0.257 316.5)

  • #B94F00

    #B94F00

    oklch(55.7% 0.155 46.7)

  • #3E8800

    #3E8800

    oklch(55.7% 0.167 136.5)

  • #007FA3

    #007FA3

    oklch(55.6% 0.107 226.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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