#8A7F9F

Closest named color: Lavender Gray (#7E7F9A). oklch(61.8% 0.049 300.7), rgb(138, 127, 159).

Aa

Black text reads best on this color (5.61:1).

About this color

#8A7F9F is a medium-dark, muted purple. In OKLCH its lightness is 62%, its chroma 0.049 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.020 away. Black text reads best on it, at 5.61:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamuted (0.049)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.61:1
White text3.73:1

Values

HEX#8A7F9F
RGBrgb(138, 127, 159)
HSLhsl(261, 14%, 56%)
OKLCHoklch(61.8% 0.049 300.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 #8A7F9F 3.73:1 AA large text Lc -70.5 Content text, not long reading
Black text on #8A7F9F 5.61:1 AA Lc 39.1 Non-text elements, placeholder text
#8A7F9F text on white 3.73:1 AA large text Lc 65.0 Content text, not long reading
#8A7F9F text on black 5.61:1 AA Lc -36.7 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EAE9EE

    oklch(93.6% 0.007 295.4)

  3. Step 200

    200

    #DAD7E1

    oklch(88.4% 0.014 299.8)

  4. Step 300

    300

    #C3BDCE

    oklch(80.8% 0.024 301.9)

  5. Step 400

    400

    #A49CB5

    oklch(70.8% 0.037 300.1)

  6. Step 500

    500 (this color)

    #8A7F9F

    oklch(61.8% 0.049 300.7)

  7. Step 600

    600

    #786C8E

    oklch(55.5% 0.054 300.8)

  8. Step 700

    700

    #655A79

    oklch(49% 0.05 300.8)

  9. Step 800

    800

    #524A62

    oklch(42.6% 0.04 300)

  10. Step 900

    900

    #443E50

    oklch(37.7% 0.031 300.1)

  11. Step 950

    950

    #28242F

    oklch(26.9% 0.021 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A7F9F 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)#7984A00.027
Deuteranopia (no green cones)#7B849E0.025
Tritanopia (no blue cones)#87838A0.038
Achromatopsia (no color)#8484840.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7F9F

    #8A7F9F

    oklch(61.8% 0.049 300.7)

  • #818A69

    #818A69

    oklch(61.7% 0.049 120.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7F9F

    #8A7F9F

    oklch(61.8% 0.049 300.7)

  • #7A84A4

    #7A84A4

    oklch(61.7% 0.05 271.3)

  • #977B93

    #977B93

    oklch(61.7% 0.049 331)

Open the analogous palette in the generator

Split complementary

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

  • #8A7F9F

    #8A7F9F

    oklch(61.8% 0.049 300.7)

  • #918564

    #918564

    oklch(61.9% 0.049 90.4)

  • #708E76

    #708E76

    oklch(61.7% 0.049 150.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7F9F

    #8A7F9F

    oklch(61.8% 0.049 300.7)

  • #9C7F68

    #9C7F68

    oklch(61.8% 0.049 60.1)

  • #648F87

    #648F87

    oklch(61.6% 0.049 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7F9F

    #8A7F9F

    oklch(61.8% 0.049 300.7)

  • #A17B74

    #A17B74

    oklch(61.8% 0.049 30.4)

  • #818A69

    #818A69

    oklch(61.7% 0.049 120.2)

  • #628E96

    #628E96

    oklch(61.8% 0.049 210.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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