#AB1CD2

Closest named color: Vibrant Purple (#AD03DE). oklch(55.5% 0.255 317), rgb(171, 28, 210).

Aa

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

About this color

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

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

Values

HEX#AB1CD2
RGBrgb(171, 28, 210)
HSLhsl(287, 76%, 47%)
OKLCHoklch(55.5% 0.255 317)

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 #AB1CD2 5.48:1 AA Lc -81.0 Fine for body text
Black text on #AB1CD2 3.82:1 AA large text Lc 28.5 Dividers and decoration only
#AB1CD2 text on white 5.48:1 AA Lc 75.6 Fine for body text
#AB1CD2 text on black 3.82:1 AA large text Lc -26.1 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F3E3F9

    oklch(93.5% 0.034 316.9)

  3. Step 200

    200

    #EBCDF6

    oklch(88.6% 0.064 317)

  4. Step 300

    300

    #DFA9F2

    oklch(80.9% 0.116 317.1)

  5. Step 400

    400

    #CE77EB

    oklch(70.8% 0.184 317.2)

  6. Step 500

    500

    #C04AE4

    oklch(63.1% 0.235 317.3)

  7. Step 600

    600 (this color)

    #AB1CD2

    oklch(55.5% 0.255 317)

  8. Step 700

    700

    #9303B6

    oklch(49.1% 0.238 317.1)

  9. Step 800

    800

    #771093

    oklch(42.6% 0.196 317)

  10. Step 900

    900

    #601A76

    oklch(37.7% 0.154 316.6)

  11. Step 950

    950

    #391245

    oklch(27.1% 0.097 317.3)

Export this scale for Tailwind in the Tailwind colors tool

#AB1CD2 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)#0061D60.230
Deuteranopia (no green cones)#1E6DCE0.227
Tritanopia (no blue cones)#A94D7D0.161
Achromatopsia (no color)#6969690.258

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB1CD2

    #AB1CD2

    oklch(55.5% 0.255 317)

  • #3B8800

    #3B8800

    oklch(55.6% 0.169 137.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB1CD2

    #AB1CD2

    oklch(55.5% 0.255 317)

  • #7442FC

    #7442FC

    oklch(55.6% 0.255 287.2)

  • #C9008D

    #C9008D

    oklch(55.5% 0.234 346.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB1CD2

    #AB1CD2

    oklch(55.5% 0.255 317)

  • #7C7700

    #7C7700

    oklch(55.6% 0.119 106.8)

  • #008865

    #008865

    oklch(55.6% 0.114 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB1CD2

    #AB1CD2

    oklch(55.5% 0.255 317)

  • #996800

    #996800

    oklch(55.5% 0.116 76.4)

  • #008486

    #008486

    oklch(55.6% 0.095 196.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB1CD2

    #AB1CD2

    oklch(55.5% 0.255 317)

  • #B84F00

    #B84F00

    oklch(55.5% 0.154 46.9)

  • #3B8800

    #3B8800

    oklch(55.6% 0.169 137.1)

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

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

Similar named colors

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

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