#AC21CC

Closest named color: Vibrant Purple (#AD03DE). oklch(55.5% 0.248 318.8), rgb(172, 33, 204).

Aa

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

About this color

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

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

Values

HEX#AC21CC
RGBrgb(172, 33, 204)
HSLhsl(289, 72%, 46%)
OKLCHoklch(55.5% 0.248 318.8)

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 #AC21CC 5.46:1 AA Lc -81.0 Fine for body text
Black text on #AC21CC 3.84:1 AA large text Lc 28.4 Dividers and decoration only
#AC21CC text on white 5.46:1 AA Lc 75.6 Fine for body text
#AC21CC text on black 3.84: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

    #F3E3F8

    oklch(93.5% 0.033 318.1)

  3. Step 200

    200

    #EBCDF4

    oklch(88.5% 0.062 318.4)

  4. Step 300

    300

    #E0A9EF

    oklch(80.9% 0.113 318.9)

  5. Step 400

    400

    #CF77E6

    oklch(70.7% 0.179 319)

  6. Step 500

    500

    #C14CDF

    oklch(63.1% 0.229 318.8)

  7. Step 600

    600 (this color)

    #AC21CC

    oklch(55.5% 0.248 318.8)

  8. Step 700

    700

    #940DB1

    oklch(49.2% 0.231 318.8)

  9. Step 800

    800

    #78148F

    oklch(42.7% 0.191 318.8)

  10. Step 900

    900

    #611C72

    oklch(37.7% 0.148 318.9)

  11. Step 950

    950

    #391243

    oklch(27% 0.095 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#AC21CC 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)#0061D00.231
Deuteranopia (no green cones)#2E6DC80.219
Tritanopia (no blue cones)#AB4B7A0.153
Achromatopsia (no color)#6969690.250

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC21CC

    #AC21CC

    oklch(55.5% 0.248 318.8)

  • #318900

    #318900

    oklch(55.5% 0.174 138.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC21CC

    #AC21CC

    oklch(55.5% 0.248 318.8)

  • #7743F7

    #7743F7

    oklch(55.5% 0.249 288.8)

  • #CA0089

    #CA0089

    oklch(55.5% 0.233 348.5)

Open the analogous palette in the generator

Split complementary

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

  • #AC21CC

    #AC21CC

    oklch(55.5% 0.248 318.8)

  • #797800

    #797800

    oklch(55.5% 0.121 109.2)

  • #008767

    #008767

    oklch(55.4% 0.111 168.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC21CC

    #AC21CC

    oklch(55.5% 0.248 318.8)

  • #976900

    #976900

    oklch(55.4% 0.115 78.5)

  • #008388

    #008388

    oklch(55.4% 0.094 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC21CC

    #AC21CC

    oklch(55.5% 0.248 318.8)

  • #B65100

    #B65100

    oklch(55.5% 0.15 48.4)

  • #318900

    #318900

    oklch(55.5% 0.174 138.8)

  • #007EA5

    #007EA5

    oklch(55.4% 0.109 228.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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