#9404B6

Closest named color: Dark Violet (#9400D3). oklch(49.3% 0.238 317.4), rgb(148, 4, 182).

Aa

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

About this color

#9404B6 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.238 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Violet (#9400D3), ΔE 0.046 away. White text reads best on it, at 7.11:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.238)
Temperaturein between
Nearest nameDark Violet (#9400D3)
Black text2.95:1
White text7.11:1

Values

HEX#9404B6
RGBrgb(148, 4, 182)
HSLhsl(289, 96%, 36%)
OKLCHoklch(49.3% 0.238 317.4)

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 #9404B6 7.11:1 AAA Lc -87.5 Fine for body text
Black text on #9404B6 2.95:1 Fails Lc 21.6 Dividers and decoration only
#9404B6 text on white 7.11:1 AAA Lc 82.4 Fine for body text
#9404B6 text on black 2.95:1 Fails Lc -19.5 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F3E3F9

    oklch(93.5% 0.034 316.9)

  3. Step 200

    200

    #EBCDF5

    oklch(88.6% 0.063 317.6)

  4. Step 300

    300

    #DFA9F1

    oklch(80.9% 0.114 317.5)

  5. Step 400

    400

    #CE76EA

    oklch(70.6% 0.184 317.5)

  6. Step 500

    500

    #C04AE4

    oklch(63.1% 0.235 317.3)

  7. Step 600

    600

    #AC1CD1

    oklch(55.6% 0.255 317.6)

  8. Step 700

    700 (this color)

    #9404B6

    oklch(49.3% 0.238 317.4)

  9. Step 800

    800

    #780F93

    oklch(42.7% 0.197 317.5)

  10. Step 900

    900

    #611A75

    oklch(37.7% 0.153 317.6)

  11. Step 950

    950

    #391245

    oklch(27.1% 0.097 317.3)

Export this scale for Tailwind in the Tailwind colors tool

#9404B6 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)#0051BA0.212
Deuteranopia (no green cones)#0A5CB30.215
Tritanopia (no blue cones)#923D6A0.148
Achromatopsia (no color)#5858580.240

Harmonies

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

Complementary

The opposite hue (180°).

  • #9404B6

    #9404B6

    oklch(49.3% 0.238 317.4)

  • #2F7300

    #2F7300

    oklch(49.2% 0.15 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9404B6

    #9404B6

    oklch(49.3% 0.238 317.4)

  • #6331DD

    #6331DD

    oklch(49.3% 0.238 287.3)

  • #AC0076

    #AC0076

    oklch(49.3% 0.207 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #9404B6

    #9404B6

    oklch(49.3% 0.238 317.4)

  • #686500

    #686500

    oklch(49.3% 0.106 107.7)

  • #007355

    #007355

    oklch(49.3% 0.101 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9404B6

    #9404B6

    oklch(49.3% 0.238 317.4)

  • #815800

    #815800

    oklch(49.2% 0.103 77.4)

  • #006F72

    #006F72

    oklch(49.2% 0.084 198.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9404B6

    #9404B6

    oklch(49.3% 0.238 317.4)

  • #9C4300

    #9C4300

    oklch(49.3% 0.135 47.6)

  • #2F7300

    #2F7300

    oklch(49.2% 0.15 137.5)

  • #006B8B

    #006B8B

    oklch(49.2% 0.095 227.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #9404B6 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.