#8A7F9C

Closest named color: Lavender Gray (#7E7F9A). oklch(61.6% 0.045 302.4), rgb(138, 127, 156).

Aa

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

About this color

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

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

Values

HEX#8A7F9C
RGBrgb(138, 127, 156)
HSLhsl(263, 13%, 55%)
OKLCHoklch(61.6% 0.045 302.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 #8A7F9C 3.75:1 AA large text Lc -70.6 Content text, not long reading
Black text on #8A7F9C 5.59:1 AA Lc 39.0 Non-text elements, placeholder text
#8A7F9C text on white 3.75:1 AA large text Lc 65.1 Content text, not long reading
#8A7F9C text on black 5.59:1 AA Lc -36.6 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

    #EAE9ED

    oklch(93.6% 0.005 297.7)

  3. Step 200

    200

    #DAD7E0

    oklch(88.4% 0.013 301.3)

  4. Step 300

    300

    #C3BDCD

    oklch(80.8% 0.023 302.9)

  5. Step 400

    400

    #A49CB3

    oklch(70.7% 0.034 301.4)

  6. Step 500

    500 (this color)

    #8A7F9C

    oklch(61.6% 0.045 302.4)

  7. Step 600

    600

    #796D8B

    oklch(55.7% 0.048 303.1)

  8. Step 700

    700

    #655B76

    oklch(49.1% 0.044 301.7)

  9. Step 800

    800

    #534A60

    oklch(42.7% 0.038 303.5)

  10. Step 900

    900

    #443E4F

    oklch(37.7% 0.03 301.1)

  11. Step 950

    950

    #28242E

    oklch(26.9% 0.019 303.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A7F9C 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)#7A849D0.026
Deuteranopia (no green cones)#7C849B0.024
Tritanopia (no blue cones)#8783890.035
Achromatopsia (no color)#8484840.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7F9C

    #8A7F9C

    oklch(61.6% 0.045 302.4)

  • #808A6C

    #808A6C

    oklch(61.7% 0.045 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7F9C

    #8A7F9C

    oklch(61.6% 0.045 302.4)

  • #7B84A1

    #7B84A1

    oklch(61.6% 0.045 271.5)

  • #967B91

    #967B91

    oklch(61.6% 0.046 332.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A7F9C

    #8A7F9C

    oklch(61.6% 0.045 302.4)

  • #8E8566

    #8E8566

    oklch(61.6% 0.046 93.8)

  • #718D78

    #718D78

    oklch(61.6% 0.045 152.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7F9C

    #8A7F9C

    oklch(61.6% 0.045 302.4)

  • #99806A

    #99806A

    oklch(61.7% 0.044 63.2)

  • #678E87

    #678E87

    oklch(61.6% 0.045 182.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7F9C

    #8A7F9C

    oklch(61.6% 0.045 302.4)

  • #9E7C74

    #9E7C74

    oklch(61.7% 0.044 33.5)

  • #808A6C

    #808A6C

    oklch(61.7% 0.045 122.7)

  • #668D95

    #668D95

    oklch(61.7% 0.045 211.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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