#A940A4

Closest named color: Purply (#983FB2). oklch(55.2% 0.182 329.6), rgb(169, 64, 164).

Aa

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

About this color

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

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

Values

HEX#A940A4
RGBrgb(169, 64, 164)
HSLhsl(303, 45%, 46%)
OKLCHoklch(55.2% 0.182 329.6)

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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E5F2

    oklch(93.7% 0.023 327.9)

  3. Step 200

    200

    #EBCFE8

    oklch(88.5% 0.045 329.4)

  4. Step 300

    300

    #DFAEDA

    oklch(80.9% 0.081 329.7)

  5. Step 400

    400

    #CE81C8

    oklch(70.7% 0.132 329.7)

  6. Step 500

    500

    #BF5EB9

    oklch(63% 0.167 329.7)

  7. Step 600

    600 (this color)

    #A940A4

    oklch(55.2% 0.182 329.6)

  8. Step 700

    700

    #92328E

    oklch(49.1% 0.169 329.5)

  9. Step 800

    800

    #772B73

    oklch(42.8% 0.14 329.8)

  10. Step 900

    900

    #60285D

    oklch(37.7% 0.109 329.6)

  11. Step 950

    950

    #381836

    oklch(26.9% 0.069 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#A940A4 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)#3762A70.188
Deuteranopia (no green cones)#5B70A10.163
Tritanopia (no blue cones)#AF4C6C0.100
Achromatopsia (no color)#6B6B6B0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #A940A4

    #A940A4

    oklch(55.2% 0.182 329.6)

  • #008A3C

    #008A3C

    oklch(55.3% 0.154 149.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A940A4

    #A940A4

    oklch(55.2% 0.182 329.6)

  • #8451CB

    #8451CB

    oklch(55.2% 0.182 299.7)

  • #C0346F

    #C0346F

    oklch(55.3% 0.182 359.5)

Open the analogous palette in the generator

Split complementary

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

  • #A940A4

    #A940A4

    oklch(55.2% 0.182 329.6)

  • #6A7C00

    #6A7C00

    oklch(55.2% 0.13 119.3)

  • #008574

    #008574

    oklch(55.2% 0.1 179.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A940A4

    #A940A4

    oklch(55.2% 0.182 329.6)

  • #8C6E00

    #8C6E00

    oklch(55.2% 0.113 89.7)

  • #008191

    #008191

    oklch(55.3% 0.096 209.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A940A4

    #A940A4

    oklch(55.2% 0.182 329.6)

  • #A85C00

    #A85C00

    oklch(55.2% 0.13 59.5)

  • #008A3C

    #008A3C

    oklch(55.3% 0.154 149.5)

  • #007AB3

    #007AB3

    oklch(55.2% 0.125 239.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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