#9704A8

Closest named color: Dark Magenta (#8B008B). oklch(48.7% 0.228 322.7), rgb(151, 4, 168).

Aa

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

About this color

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

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

Values

HEX#9704A8
RGBrgb(151, 4, 168)
HSLhsl(294, 95%, 34%)
OKLCHoklch(48.7% 0.228 322.7)

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 #9704A8 7.24:1 AAA Lc -88.0 Fine for body text
Black text on #9704A8 2.89:1 Fails Lc 21.1 Dividers and decoration only
#9704A8 text on white 7.24:1 AAA Lc 83.0 Fine for body text
#9704A8 text on black 2.89:1 Fails Lc -19.0 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F5E3F7

    oklch(93.6% 0.033 322.8)

  3. Step 200

    200

    #EDCCF1

    oklch(88.4% 0.061 322.6)

  4. Step 300

    300

    #E3A8EA

    oklch(80.8% 0.111 322.9)

  5. Step 400

    400

    #D376E0

    oklch(70.7% 0.177 322.6)

  6. Step 500

    500

    #C64AD7

    oklch(63.1% 0.226 322.7)

  7. Step 600

    600

    #B11EC4

    oklch(55.5% 0.246 322.6)

  8. Step 700

    700 (this color)

    #9704A8

    oklch(48.7% 0.228 322.7)

  9. Step 800

    800

    #7C1189

    oklch(42.7% 0.189 322.9)

  10. Step 900

    900

    #641A6E

    oklch(37.7% 0.148 322.7)

  11. Step 950

    950

    #3B1240

    oklch(27.1% 0.093 323.2)

Export this scale for Tailwind in the Tailwind colors tool

#9704A8 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)#004EAC0.221
Deuteranopia (no green cones)#2C5CA50.207
Tritanopia (no blue cones)#9934620.134
Achromatopsia (no color)#5757570.230

Harmonies

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

Complementary

The opposite hue (180°).

  • #9704A8

    #9704A8

    oklch(48.7% 0.228 322.7)

  • #007503

    #007503

    oklch(48.7% 0.165 142.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9704A8

    #9704A8

    oklch(48.7% 0.228 322.7)

  • #6B2ED1

    #6B2ED1

    oklch(48.7% 0.228 292.8)

  • #AC006A

    #AC006A

    oklch(48.8% 0.202 352.8)

Open the analogous palette in the generator

Split complementary

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

  • #9704A8

    #9704A8

    oklch(48.7% 0.228 322.7)

  • #616500

    #616500

    oklch(48.7% 0.108 112.5)

  • #00705A

    #00705A

    oklch(48.6% 0.093 172.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9704A8

    #9704A8

    oklch(48.7% 0.228 322.7)

  • #7B5900

    #7B5900

    oklch(48.7% 0.1 82.7)

  • #006D74

    #006D74

    oklch(48.7% 0.083 202.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9704A8

    #9704A8

    oklch(48.7% 0.228 322.7)

  • #944700

    #944700

    oklch(48.7% 0.124 52.6)

  • #007503

    #007503

    oklch(48.7% 0.165 142.7)

  • #00688F

    #00688F

    oklch(48.7% 0.101 233.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #9704A8 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.