#8A517B

Closest named color: Dull Purple (#84597E). oklch(51.5% 0.095 337.4), rgb(138, 81, 123).

Aa

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

About this color

#8A517B is a medium-dark, moderately saturated pink. In OKLCH its lightness is 51%, its chroma 0.095 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Purple (#84597E), ΔE 0.021 away. White text reads best on it, at 5.92:1.

Hue familyPinks
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.095)
Temperaturewarm
Nearest nameDull Purple (#84597E)
Black text3.54:1
White text5.92:1

Values

HEX#8A517B
RGBrgb(138, 81, 123)
HSLhsl(316, 26%, 43%)
OKLCHoklch(51.5% 0.095 337.4)

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 #8A517B 5.92:1 AA Lc -84.7 Fine for body text
Black text on #8A517B 3.54:1 AA large text Lc 24.6 Dividers and decoration only
#8A517B text on white 5.92:1 AA Lc 79.4 Fine for body text
#8A517B text on black 3.54:1 AA large text Lc -22.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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #F0E7ED

    oklch(93.7% 0.013 337.5)

  3. Step 200

    200

    #E5D3DF

    oklch(88.5% 0.025 337.8)

  4. Step 300

    300

    #D5B6CB

    oklch(80.9% 0.045 337.9)

  5. Step 400

    400

    #BF8FB1

    oklch(70.6% 0.074 337.4)

  6. Step 500

    500

    #AE739E

    oklch(63.1% 0.094 337.2)

  7. Step 600

    600

    #995B89

    oklch(55.6% 0.102 337.1)

  8. Step 700

    700 (this color)

    #8A517B

    oklch(51.5% 0.095 337.4)

  9. Step 800

    800

    #6A3D5E

    oklch(42.6% 0.079 337.5)

  10. Step 900

    900

    #56344D

    oklch(37.5% 0.062 337.1)

  11. Step 950

    950

    #331F2D

    oklch(27% 0.039 338.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A517B 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)#525F7D0.096
Deuteranopia (no green cones)#6167790.088
Tritanopia (no blue cones)#9053610.045
Achromatopsia (no color)#6464640.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A517B

    #8A517B

    oklch(51.5% 0.095 337.4)

  • #2F7851

    #2F7851

    oklch(51.6% 0.096 157)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A517B

    #8A517B

    oklch(51.5% 0.095 337.4)

  • #765892

    #765892

    oklch(51.5% 0.095 307.1)

  • #954F5E

    #954F5E

    oklch(51.6% 0.095 7.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A517B

    #8A517B

    oklch(51.5% 0.095 337.4)

  • #587132

    #587132

    oklch(51.4% 0.094 127.4)

  • #007870

    #007870

    oklch(51.6% 0.09 186.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A517B

    #8A517B

    oklch(51.5% 0.095 337.4)

  • #77671A

    #77671A

    oklch(51.5% 0.095 96.9)

  • #00748A

    #00748A

    oklch(51.5% 0.092 217.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A517B

    #8A517B

    oklch(51.5% 0.095 337.4)

  • #8B5C23

    #8B5C23

    oklch(51.5% 0.094 67.8)

  • #2F7851

    #2F7851

    oklch(51.6% 0.096 157)

  • #366C9B

    #366C9B

    oklch(51.6% 0.094 247.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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