#A21C7A

Closest named color: Red Violet (#9E0168). oklch(48.8% 0.189 343.7), rgb(162, 28, 122).

Aa

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

About this color

#A21C7A is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.189 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.033 away. White text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.98:1
White text7.03:1

Values

HEX#A21C7A
RGBrgb(162, 28, 122)
HSLhsl(318, 71%, 37%)
OKLCHoklch(48.8% 0.189 343.7)

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 #A21C7A 7.03:1 AAA Lc -87.9 Fine for body text
Black text on #A21C7A 2.98:1 Fails Lc 21.2 Dividers and decoration only
#A21C7A text on white 7.03:1 AAA Lc 82.9 Fine for body text
#A21C7A text on black 2.98:1 Fails Lc -19.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 700.

  1. Step 50

    50

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3EE

    oklch(93.6% 0.027 344.6)

  3. Step 200

    200

    #F3CCE2

    oklch(88.5% 0.052 343.3)

  4. Step 300

    300

    #EBA9CF

    oklch(80.8% 0.091 343.9)

  5. Step 400

    400

    #DE78B7

    oklch(70.6% 0.147 343.7)

  6. Step 500

    500

    #D250A5

    oklch(63% 0.187 343.7)

  7. Step 600

    600

    #BD2D90

    oklch(55.5% 0.203 343.7)

  8. Step 700

    700 (this color)

    #A21C7A

    oklch(48.8% 0.189 343.7)

  9. Step 800

    800

    #841C64

    oklch(42.6% 0.157 343.5)

  10. Step 900

    900

    #6B1F51

    oklch(37.7% 0.122 344.2)

  11. Step 950

    950

    #3F1430

    oklch(27.1% 0.077 343.6)

Export this scale for Tailwind in the Tailwind colors tool

#A21C7A 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)#2E4B7C0.213
Deuteranopia (no green cones)#5860770.182
Tritanopia (no blue cones)#AD1B4A0.082
Achromatopsia (no color)#5959590.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #A21C7A

    #A21C7A

    oklch(48.8% 0.189 343.7)

  • #00724F

    #00724F

    oklch(48.9% 0.105 163.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A21C7A

    #A21C7A

    oklch(48.8% 0.189 343.7)

  • #8531A9

    #8531A9

    oklch(48.9% 0.189 313.7)

  • #B10D3F

    #B10D3F

    oklch(48.8% 0.189 13.6)

Open the analogous palette in the generator

Split complementary

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

  • #A21C7A

    #A21C7A

    oklch(48.8% 0.189 343.7)

  • #3C7000

    #3C7000

    oklch(48.9% 0.14 133.9)

  • #006E6D

    #006E6D

    oklch(48.7% 0.083 193.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A21C7A

    #A21C7A

    oklch(48.8% 0.189 343.7)

  • #6A6200

    #6A6200

    oklch(48.8% 0.103 104)

  • #006A86

    #006A86

    oklch(48.7% 0.092 224.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A21C7A

    #A21C7A

    oklch(48.8% 0.189 343.7)

  • #825500

    #825500

    oklch(48.7% 0.103 73.8)

  • #00724F

    #00724F

    oklch(48.9% 0.105 163.5)

  • #005FB4

    #005FB4

    oklch(48.9% 0.154 253.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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