#9A0CA2

Closest named color: Dark Magenta (#8B008B). oklch(49% 0.222 325.6), rgb(154, 12, 162).

Aa

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

About this color

#9A0CA2 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.222 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Magenta (#8B008B), ΔE 0.048 away. White text reads best on it, at 7.12:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.222)
Temperaturein between
Nearest nameDark Magenta (#8B008B)
Black text2.94:1
White text7.12:1

Values

HEX#9A0CA2
RGBrgb(154, 12, 162)
HSLhsl(297, 86%, 34%)
OKLCHoklch(49% 0.222 325.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 #9A0CA2 7.12:1 AAA Lc -87.8 Fine for body text
Black text on #9A0CA2 2.94:1 Fails Lc 21.3 Dividers and decoration only
#9A0CA2 text on white 7.12:1 AAA Lc 82.7 Fine for body text
#9A0CA2 text on black 2.94:1 Fails Lc -19.2 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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F5E3F5

    oklch(93.5% 0.031 325.8)

  3. Step 200

    200

    #EECCEF

    oklch(88.4% 0.06 325.2)

  4. Step 300

    300

    #E5A8E6

    oklch(80.8% 0.108 326)

  5. Step 400

    400

    #D576DA

    oklch(70.6% 0.172 325.4)

  6. Step 500

    500

    #C84BCF

    oklch(63% 0.219 325.6)

  7. Step 600

    600

    #B421BC

    oklch(55.6% 0.239 325.8)

  8. Step 700

    700 (this color)

    #9A0CA2

    oklch(49% 0.222 325.6)

  9. Step 800

    800

    #7D1384

    oklch(42.7% 0.185 325.3)

  10. Step 900

    900

    #651B69

    oklch(37.6% 0.143 325.7)

  11. Step 950

    950

    #3C123E

    oklch(27.1% 0.091 325.9)

Export this scale for Tailwind in the Tailwind colors tool

#9A0CA2 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)#004EA50.226
Deuteranopia (no green cones)#385D9F0.202
Tritanopia (no blue cones)#9E325F0.127
Achromatopsia (no color)#5858580.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A0CA2

    #9A0CA2

    oklch(49% 0.222 325.6)

  • #007520

    #007520

    oklch(48.9% 0.151 145.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A0CA2

    #9A0CA2

    oklch(49% 0.222 325.6)

  • #7030CD

    #7030CD

    oklch(49.1% 0.222 295.4)

  • #AE0065

    #AE0065

    oklch(49% 0.201 355.5)

Open the analogous palette in the generator

Split complementary

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

  • #9A0CA2

    #9A0CA2

    oklch(49% 0.222 325.6)

  • #5E6700

    #5E6700

    oklch(48.9% 0.111 115.6)

  • #00715E

    #00715E

    oklch(49% 0.092 175.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A0CA2

    #9A0CA2

    oklch(49% 0.222 325.6)

  • #7A5B00

    #7A5B00

    oklch(49% 0.1 85.4)

  • #006E77

    #006E77

    oklch(49.1% 0.084 204.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A0CA2

    #9A0CA2

    oklch(49% 0.222 325.6)

  • #924A00

    #924A00

    oklch(48.9% 0.12 55.5)

  • #007520

    #007520

    oklch(48.9% 0.151 145.6)

  • #006893

    #006893

    oklch(48.9% 0.105 235.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #9A0CA2 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.