#8F5178

Closest named color: Dusky Purple (#895B7B). oklch(52% 0.097 342.7), rgb(143, 81, 120).

Aa

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

About this color

#8F5178 is a medium-dark, moderately saturated pink. In OKLCH its lightness is 52%, its chroma 0.097 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Dusky Purple (#895B7B), ΔE 0.026 away. White text reads best on it, at 5.80:1.

Hue familyPinks
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameDusky Purple (#895B7B)
Black text3.61:1
White text5.80:1

Values

HEX#8F5178
RGBrgb(143, 81, 120)
HSLhsl(322, 28%, 44%)
OKLCHoklch(52% 0.097 342.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 #8F5178 5.80:1 AA Lc -84.1 Fine for body text
Black text on #8F5178 3.61:1 AA large text Lc 25.2 Dividers and decoration only
#8F5178 text on white 5.80:1 AA Lc 78.8 Fine for body text
#8F5178 text on black 3.61:1 AA large text Lc -23.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

    #F9F4F6

    oklch(97.2% 0.006 350.8)

  2. Step 100

    100

    #F1E6EC

    oklch(93.5% 0.014 343.2)

  3. Step 200

    200

    #E6D3DE

    oklch(88.6% 0.026 341.9)

  4. Step 300

    300

    #D7B5C9

    oklch(80.9% 0.047 342.1)

  5. Step 400

    400

    #C28EAD

    oklch(70.6% 0.075 342.7)

  6. Step 500

    500

    #B27299

    oklch(63.2% 0.095 342.9)

  7. Step 600

    600

    #9D5984

    oklch(55.6% 0.105 342.5)

  8. Step 700

    700 (this color)

    #8F5178

    oklch(52% 0.097 342.7)

  9. Step 800

    800

    #6D3C5B

    oklch(42.7% 0.081 342.5)

  10. Step 900

    900

    #59344B

    oklch(37.9% 0.063 342.6)

  11. Step 950

    950

    #341E2C

    oklch(26.9% 0.041 341.6)

Export this scale for Tailwind in the Tailwind colors tool

#8F5178 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)#555F790.101
Deuteranopia (no green cones)#6569760.092
Tritanopia (no blue cones)#96515F0.042
Achromatopsia (no color)#6565650.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F5178

    #8F5178

    oklch(52% 0.097 342.7)

  • #257A58

    #257A58

    oklch(52% 0.097 162.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F5178

    #8F5178

    oklch(52% 0.097 342.7)

  • #7C5791

    #7C5791

    oklch(51.9% 0.098 312.6)

  • #985059

    #985059

    oklch(52% 0.096 13.1)

Open the analogous palette in the generator

Split complementary

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

  • #8F5178

    #8F5178

    oklch(52% 0.097 342.7)

  • #537537

    #537537

    oklch(52.1% 0.098 132.6)

  • #007977

    #007977

    oklch(52.1% 0.089 192.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F5178

    #8F5178

    oklch(52% 0.097 342.7)

  • #746B1C

    #746B1C

    oklch(52.1% 0.097 102.7)

  • #007591

    #007591

    oklch(52.1% 0.096 222.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F5178

    #8F5178

    oklch(52% 0.097 342.7)

  • #8B5F1E

    #8B5F1E

    oklch(52.1% 0.097 72.5)

  • #257A58

    #257A58

    oklch(52% 0.097 162.6)

  • #3D6B9F

    #3D6B9F

    oklch(51.9% 0.097 252.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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