#9D039D

Closest named color: Dark Magenta (#8B008B). oklch(48.9% 0.223 328.3), rgb(157, 3, 157).

Aa

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

About this color

#9D039D is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.223 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.046 away. White text reads best on it, at 7.15:1.

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

Values

HEX#9D039D
RGBrgb(157, 3, 157)
HSLhsl(300, 96%, 31%)
OKLCHoklch(48.9% 0.223 328.3)

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 #9D039D 7.15:1 AAA Lc -87.6 Fine for body text
Black text on #9D039D 2.93:1 Fails Lc 21.4 Dividers and decoration only
#9D039D text on white 7.15:1 AAA Lc 82.6 Fine for body text
#9D039D text on black 2.93:1 Fails Lc -19.3 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

    #F0CCED

    oklch(88.6% 0.059 328.7)

  4. Step 300

    300

    #E7A8E4

    oklch(81% 0.107 328.1)

  5. Step 400

    400

    #D975D6

    oklch(70.8% 0.173 328.3)

  6. Step 500

    500

    #CC49CA

    oklch(63.1% 0.22 328.4)

  7. Step 600

    600

    #B71CB7

    oklch(55.5% 0.24 328.2)

  8. Step 700

    700 (this color)

    #9D039D

    oklch(48.9% 0.223 328.3)

  9. Step 800

    800

    #801080

    oklch(42.7% 0.185 328.2)

  10. Step 900

    900

    #671967

    oklch(37.6% 0.145 328)

  11. Step 950

    950

    #3D113C

    oklch(27% 0.092 328.7)

Export this scale for Tailwind in the Tailwind colors tool

#9D039D 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)#004CA00.234
Deuteranopia (no green cones)#3E5E9A0.205
Tritanopia (no blue cones)#A22B5B0.123
Achromatopsia (no color)#5858580.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D039D

    #9D039D

    oklch(48.9% 0.223 328.3)

  • #00752D

    #00752D

    oklch(49.1% 0.141 148.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D039D

    #9D039D

    oklch(48.9% 0.223 328.3)

  • #752CCA

    #752CCA

    oklch(49% 0.223 298.5)

  • #AF005F

    #AF005F

    oklch(49% 0.199 358.4)

Open the analogous palette in the generator

Split complementary

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

  • #9D039D

    #9D039D

    oklch(48.9% 0.223 328.3)

  • #5A6800

    #5A6800

    oklch(48.8% 0.114 118.5)

  • #007060

    #007060

    oklch(48.8% 0.09 178.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D039D

    #9D039D

    oklch(48.9% 0.223 328.3)

  • #775C00

    #775C00

    oklch(48.9% 0.1 88.7)

  • #006D79

    #006D79

    oklch(48.9% 0.084 208)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D039D

    #9D039D

    oklch(48.9% 0.223 328.3)

  • #8F4C00

    #8F4C00

    oklch(48.8% 0.116 58.4)

  • #00752D

    #00752D

    oklch(49.1% 0.141 148.2)

  • #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 #9D039D, closest first.

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

Similar named colors

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

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