#8A4F7E

Closest named color: Dull Purple (#84597E). oklch(51.3% 0.101 334.9), rgb(138, 79, 126).

Aa

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

About this color

#8A4F7E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.101 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dull Purple (#84597E), ΔE 0.027 away. White text reads best on it, at 5.99:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameDull Purple (#84597E)
Black text3.50:1
White text5.99:1

Values

HEX#8A4F7E
RGBrgb(138, 79, 126)
HSLhsl(312, 27%, 43%)
OKLCHoklch(51.3% 0.101 334.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 #8A4F7E 5.99:1 AA Lc -85.0 Fine for body text
Black text on #8A4F7E 3.50:1 AA large text Lc 24.3 Dividers and decoration only
#8A4F7E text on white 5.99:1 AA Lc 79.8 Fine for body text
#8A4F7E text on black 3.50:1 AA large text Lc -22.1 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

    #F0E6EE

    oklch(93.5% 0.015 332.2)

  3. Step 200

    200

    #E5D3E0

    oklch(88.5% 0.026 335.5)

  4. Step 300

    300

    #D5B5CD

    oklch(80.8% 0.049 334.9)

  5. Step 400

    400

    #C08EB4

    oklch(70.7% 0.079 335.2)

  6. Step 500

    500

    #AF72A2

    oklch(63.2% 0.1 334.7)

  7. Step 600

    600

    #9A598D

    oklch(55.6% 0.11 334.7)

  8. Step 700

    700 (this color)

    #8A4F7E

    oklch(51.3% 0.101 334.9)

  9. Step 800

    800

    #6B3C61

    oklch(42.7% 0.084 335.3)

  10. Step 900

    900

    #57344F

    oklch(37.8% 0.065 335.6)

  11. Step 950

    950

    #331E2F

    oklch(26.9% 0.043 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A4F7E 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)#4F5E800.102
Deuteranopia (no green cones)#5E667C0.093
Tritanopia (no blue cones)#8F52610.051
Achromatopsia (no color)#6363630.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A4F7E

    #8A4F7E

    oklch(51.3% 0.101 334.9)

  • #2D784C

    #2D784C

    oklch(51.4% 0.102 154.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A4F7E

    #8A4F7E

    oklch(51.3% 0.101 334.9)

  • #745795

    #745795

    oklch(51.3% 0.1 304.7)

  • #964C5F

    #964C5F

    oklch(51.3% 0.101 5)

Open the analogous palette in the generator

Split complementary

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

  • #8A4F7E

    #8A4F7E

    oklch(51.3% 0.101 334.9)

  • #5A7129

    #5A7129

    oklch(51.4% 0.102 124.9)

  • #00776D

    #00776D

    oklch(51.2% 0.09 184.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A4F7E

    #8A4F7E

    oklch(51.3% 0.101 334.9)

  • #79650B

    #79650B

    oklch(51.1% 0.101 94.8)

  • #007487

    #007487

    oklch(51.4% 0.09 214.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A4F7E

    #8A4F7E

    oklch(51.3% 0.101 334.9)

  • #8E591C

    #8E591C

    oklch(51.2% 0.101 65)

  • #2D784C

    #2D784C

    oklch(51.4% 0.102 154.6)

  • #2C6C9D

    #2C6C9D

    oklch(51.3% 0.101 244.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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