#A940B9

Closest named color: Purply (#983FB2). oklch(56.4% 0.2 322.1), rgb(169, 64, 185).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.200)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.12:1
White text5.09:1

Values

HEX#A940B9
RGBrgb(169, 64, 185)
HSLhsl(292, 49%, 49%)
OKLCHoklch(56.4% 0.2 322.1)

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 #A940B9 5.09:1 AA Lc -79.8 Fine for body text
Black text on #A940B9 4.12:1 AA large text Lc 29.7 Dividers and decoration only
#A940B9 text on white 5.09:1 AA Lc 74.3 Content text, not long reading
#A940B9 text on black 4.12:1 AA large text Lc -27.4 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E4F4

    oklch(93.5% 0.026 321.9)

  3. Step 200

    200

    #E9CFED

    oklch(88.5% 0.049 321.7)

  4. Step 300

    300

    #DDAEE3

    oklch(81% 0.089 322.6)

  5. Step 400

    400

    #CA80D5

    oklch(70.7% 0.144 322.2)

  6. Step 500

    500

    #BB5CCA

    oklch(63.1% 0.184 322)

  7. Step 600

    600 (this color)

    #A940B9

    oklch(56.4% 0.2 322.1)

  8. Step 700

    700

    #8E2E9D

    oklch(49% 0.185 322)

  9. Step 800

    800

    #74287F

    oklch(42.7% 0.154 322.4)

  10. Step 900

    900

    #5E2666

    oklch(37.7% 0.12 322.5)

  11. Step 950

    950

    #37173C

    oklch(26.9% 0.077 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#A940B9 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)#2166BD0.201
Deuteranopia (no green cones)#5072B60.172
Tritanopia (no blue cones)#AB54770.121
Achromatopsia (no color)#6E6E6E0.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #A940B9

    #A940B9

    oklch(56.4% 0.2 322.1)

  • #0B8F00

    #0B8F00

    oklch(56.4% 0.19 142.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A940B9

    #A940B9

    oklch(56.4% 0.2 322.1)

  • #7D55DE

    #7D55DE

    oklch(56.5% 0.199 292.3)

  • #C62E81

    #C62E81

    oklch(56.4% 0.2 352.4)

Open the analogous palette in the generator

Split complementary

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

  • #A940B9

    #A940B9

    oklch(56.4% 0.2 322.1)

  • #787C00

    #787C00

    oklch(56.4% 0.125 112)

  • #008A6E

    #008A6E

    oklch(56.4% 0.11 171.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A940B9

    #A940B9

    oklch(56.4% 0.2 322.1)

  • #976E00

    #976E00

    oklch(56.5% 0.116 82.6)

  • #00868E

    #00868E

    oklch(56.5% 0.096 202.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A940B9

    #A940B9

    oklch(56.4% 0.2 322.1)

  • #B55800

    #B55800

    oklch(56.4% 0.144 52.4)

  • #0B8F00

    #0B8F00

    oklch(56.4% 0.19 142.1)

  • #0080AD

    #0080AD

    oklch(56.3% 0.115 232)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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