#8C197A

Closest named color: Dark Magenta (#8B008B). oklch(44.9% 0.179 335.7), rgb(140, 25, 122).

Aa

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

About this color

#8C197A is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.179 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Magenta (#8B008B), ΔE 0.036 away. White text reads best on it, at 8.28:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.179)
Temperaturewarm
Nearest nameDark Magenta (#8B008B)
Black text2.53:1
White text8.28:1

Values

HEX#8C197A
RGBrgb(140, 25, 122)
HSLhsl(309, 70%, 32%)
OKLCHoklch(44.9% 0.179 335.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 #8C197A 8.28:1 AAA Lc -91.9 Preferred for body text
Black text on #8C197A 2.53:1 Fails Lc 16.8 Dividers and decoration only
#8C197A text on white 8.28:1 AAA Lc 87.2 Fine for body text
#8C197A text on black 2.53:1 Fails Lc -14.9 Not readable

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 800.

  1. Step 50

    50

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E3F2

    oklch(93.7% 0.03 335.9)

  3. Step 200

    200

    #F3CBE8

    oklch(88.5% 0.059 336)

  4. Step 300

    300

    #ECA7DB

    oklch(81% 0.105 335.8)

  5. Step 400

    400

    #DF73C8

    oklch(70.6% 0.168 335.8)

  6. Step 500

    500

    #D347BA

    oklch(63.1% 0.214 335.7)

  7. Step 600

    600

    #BE1AA6

    oklch(55.6% 0.233 335.7)

  8. Step 700

    700

    #A4028E

    oklch(49.2% 0.217 335.9)

  9. Step 800

    800 (this color)

    #8C197A

    oklch(44.9% 0.179 335.7)

  10. Step 900

    900

    #6B195D

    oklch(37.7% 0.139 335.8)

  11. Step 950

    950

    #3F1137

    oklch(27% 0.088 335.3)

Export this scale for Tailwind in the Tailwind colors tool

#8C197A 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)#1A447C0.199
Deuteranopia (no green cones)#4554770.168
Tritanopia (no blue cones)#9323490.089
Achromatopsia (no color)#4E4E4E0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C197A

    #8C197A

    oklch(44.9% 0.179 335.7)

  • #00663A

    #00663A

    oklch(44.9% 0.109 155.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C197A

    #8C197A

    oklch(44.9% 0.179 335.7)

  • #6E2DA1

    #6E2DA1

    oklch(44.9% 0.179 305.9)

  • #9E0246

    #9E0246

    oklch(45% 0.179 5.9)

Open the analogous palette in the generator

Split complementary

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

  • #8C197A

    #8C197A

    oklch(44.9% 0.179 335.7)

  • #465F00

    #465F00

    oklch(44.9% 0.113 125.4)

  • #00635B

    #00635B

    oklch(44.9% 0.079 185.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C197A

    #8C197A

    oklch(44.9% 0.179 335.7)

  • #655400

    #655400

    oklch(45% 0.092 95.4)

  • #006071

    #006071

    oklch(45% 0.08 215.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C197A

    #8C197A

    oklch(44.9% 0.179 335.7)

  • #7A4700

    #7A4700

    oklch(44.8% 0.101 65.1)

  • #00663A

    #00663A

    oklch(44.9% 0.109 155.9)

  • #005990

    #005990

    oklch(44.9% 0.115 245.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8C197A 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.