#9700AF

Closest named color: Dark Violet (#9400D3). oklch(49.1% 0.235 320.6), rgb(151, 0, 175).

Aa

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

About this color

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

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

Values

HEX#9700AF
RGBrgb(151, 0, 175)
HSLhsl(292, 100%, 34%)
OKLCHoklch(49.1% 0.235 320.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 #9700AF 7.15:1 AAA Lc -87.5 Fine for body text
Black text on #9700AF 2.93:1 Fails Lc 21.6 Dividers and decoration only
#9700AF text on white 7.15:1 AAA Lc 82.5 Fine for body text
#9700AF text on black 2.93: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

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EDCCF3

    oklch(88.5% 0.063 321.1)

  4. Step 300

    300

    #E2A8EE

    oklch(80.9% 0.115 320.5)

  5. Step 400

    400

    #D275E5

    oklch(70.7% 0.183 320.6)

  6. Step 500

    500

    #C449DD

    oklch(63.1% 0.232 320.4)

  7. Step 600

    600

    #B01ACA

    oklch(55.6% 0.252 320.7)

  8. Step 700

    700 (this color)

    #9700AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7B0E8E

    oklch(42.8% 0.195 320.6)

  10. Step 900

    900

    #631971

    oklch(37.7% 0.152 320.7)

  11. Step 950

    950

    #3A1142

    oklch(26.9% 0.096 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#9700AF 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)#004FB30.220
Deuteranopia (no green cones)#225CAC0.213
Tritanopia (no blue cones)#9838660.141
Achromatopsia (no color)#5858580.237

Harmonies

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

Complementary

The opposite hue (180°).

  • #9700AF

    #9700AF

    oklch(49.1% 0.235 320.6)

  • #1C7500

    #1C7500

    oklch(49.2% 0.16 140.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9700AF

    #9700AF

    oklch(49.1% 0.235 320.6)

  • #692ED8

    #692ED8

    oklch(49.1% 0.235 290.7)

  • #AC006F

    #AC006F

    oklch(49% 0.204 350.6)

Open the analogous palette in the generator

Split complementary

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

  • #9700AF

    #9700AF

    oklch(49.1% 0.235 320.6)

  • #646600

    #646600

    oklch(49.2% 0.108 111.1)

  • #007259

    #007259

    oklch(49.1% 0.097 170.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9700AF

    #9700AF

    oklch(49.1% 0.235 320.6)

  • #7E5900

    #7E5900

    oklch(49% 0.101 80.5)

  • #006F74

    #006F74

    oklch(49.2% 0.084 200.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9700AF

    #9700AF

    oklch(49.1% 0.235 320.6)

  • #984600

    #984600

    oklch(49.2% 0.129 50.6)

  • #1C7500

    #1C7500

    oklch(49.2% 0.16 140.5)

  • #006A8E

    #006A8E

    oklch(49.1% 0.099 230.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9700AF.

Similar named colors

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

Use #9700AF 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.