#9800AC

Closest named color: Dark Magenta (#8B008B). oklch(49.1% 0.233 321.9), rgb(152, 0, 172).

Aa

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

About this color

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

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

Values

HEX#9800AC
RGBrgb(152, 0, 172)
HSLhsl(293, 100%, 34%)
OKLCHoklch(49.1% 0.233 321.9)

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 #9800AC 7.16:1 AAA Lc -87.6 Fine for body text
Black text on #9800AC 2.93:1 Fails Lc 21.5 Dividers and decoration only
#9800AC text on white 7.16:1 AAA Lc 82.5 Fine for body text
#9800AC text on black 2.93: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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F5E3F7

    oklch(93.6% 0.033 322.8)

  3. Step 200

    200

    #EDCCF2

    oklch(88.5% 0.062 321.8)

  4. Step 300

    300

    #E3A8EC

    oklch(80.9% 0.113 322)

  5. Step 400

    400

    #D375E2

    oklch(70.6% 0.18 322)

  6. Step 500

    500

    #C649DA

    oklch(63.2% 0.23 321.9)

  7. Step 600

    600

    #B11AC7

    oklch(55.6% 0.25 321.8)

  8. Step 700

    700 (this color)

    #9800AC

    oklch(49.1% 0.233 321.9)

  9. Step 800

    800

    #7C0E8B

    oklch(42.7% 0.193 322.2)

  10. Step 900

    900

    #64196F

    oklch(37.7% 0.15 322.2)

  11. Step 950

    950

    #3B1141

    oklch(27% 0.096 322.5)

Export this scale for Tailwind in the Tailwind colors tool

#9800AC 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)#004EB00.222
Deuteranopia (no green cones)#285CA90.211
Tritanopia (no blue cones)#9936640.138
Achromatopsia (no color)#5858580.235

Harmonies

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

Complementary

The opposite hue (180°).

  • #9800AC

    #9800AC

    oklch(49.1% 0.233 321.9)

  • #0D7600

    #0D7600

    oklch(49.2% 0.165 141.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9800AC

    #9800AC

    oklch(49.1% 0.233 321.9)

  • #6B2ED6

    #6B2ED6

    oklch(49.1% 0.233 291.8)

  • #AD006D

    #AD006D

    oklch(49.1% 0.204 351.8)

Open the analogous palette in the generator

Split complementary

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

  • #9800AC

    #9800AC

    oklch(49.1% 0.233 321.9)

  • #636600

    #636600

    oklch(49.1% 0.109 111.8)

  • #00725A

    #00725A

    oklch(49.2% 0.096 171.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9800AC

    #9800AC

    oklch(49.1% 0.233 321.9)

  • #7D5A00

    #7D5A00

    oklch(49.1% 0.101 82.2)

  • #006E75

    #006E75

    oklch(49% 0.083 202.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9800AC

    #9800AC

    oklch(49.1% 0.233 321.9)

  • #964700

    #964700

    oklch(49% 0.126 51.9)

  • #0D7600

    #0D7600

    oklch(49.2% 0.165 141.8)

  • #00698F

    #00698F

    oklch(48.9% 0.1 232.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9800AC.

Similar named colors

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

Use #9800AC 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.