#9D009E

Closest named color: Dark Magenta (#8B008B). oklch(48.9% 0.225 328), rgb(157, 0, 158).

Aa

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

About this color

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

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

Values

HEX#9D009E
RGBrgb(157, 0, 158)
HSLhsl(300, 100%, 31%)
OKLCHoklch(48.9% 0.225 328)

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 #9D009E 7.17:1 AAA Lc -87.6 Fine for body text
Black text on #9D009E 2.92:1 Fails Lc 21.5 Dividers and decoration only
#9D009E text on white 7.17:1 AAA Lc 82.5 Fine for body text
#9D009E text on black 2.92:1 Fails Lc -19.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 700.

  1. Step 50

    50

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F5

    oklch(93.6% 0.031 327.4)

  3. Step 200

    200

    #F0CCEE

    oklch(88.6% 0.06 327.8)

  4. Step 300

    300

    #E7A7E4

    oklch(80.8% 0.109 328.1)

  5. Step 400

    400

    #D974D7

    oklch(70.7% 0.175 328)

  6. Step 500

    500

    #CC48CC

    oklch(63.1% 0.223 327.8)

  7. Step 600

    600

    #B71AB8

    oklch(55.5% 0.242 327.9)

  8. Step 700

    700 (this color)

    #9D009E

    oklch(48.9% 0.225 328)

  9. Step 800

    800

    #800E81

    oklch(42.7% 0.187 327.8)

  10. Step 900

    900

    #671967

    oklch(37.6% 0.145 328)

  11. Step 950

    950

    #3D113D

    oklch(27.1% 0.093 327.8)

Export this scale for Tailwind in the Tailwind colors tool

#9D009E 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)#004CA10.235
Deuteranopia (no green cones)#3C5D9B0.206
Tritanopia (no blue cones)#A22B5B0.125
Achromatopsia (no color)#5757570.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D009E

    #9D009E

    oklch(48.9% 0.225 328)

  • #00752C

    #00752C

    oklch(49% 0.142 148)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D009E

    #9D009E

    oklch(48.9% 0.225 328)

  • #742BCB

    #742BCB

    oklch(48.8% 0.225 297.9)

  • #AF0060

    #AF0060

    oklch(49% 0.2 357.9)

Open the analogous palette in the generator

Split complementary

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

  • #9D009E

    #9D009E

    oklch(48.9% 0.225 328)

  • #5B6800

    #5B6800

    oklch(48.9% 0.114 117.9)

  • #007060

    #007060

    oklch(48.8% 0.09 178.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D009E

    #9D009E

    oklch(48.9% 0.225 328)

  • #785C00

    #785C00

    oklch(49% 0.1 87.9)

  • #006D79

    #006D79

    oklch(48.9% 0.084 208)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D009E

    #9D009E

    oklch(48.9% 0.225 328)

  • #904C00

    #904C00

    oklch(49% 0.117 57.9)

  • #00752C

    #00752C

    oklch(49% 0.142 148)

  • #006796

    #006796

    oklch(48.8% 0.109 238.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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