#8A7BA4

Closest named color: Lavender Gray (#7E7F9A). oklch(61.1% 0.063 301.3), rgb(138, 123, 164).

Aa

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

About this color

#8A7BA4 is a medium-dark, muted purple. In OKLCH its lightness is 61%, its chroma 0.063 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.028 away. Black text reads best on it, at 5.44:1.

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

Values

HEX#8A7BA4
RGBrgb(138, 123, 164)
HSLhsl(262, 18%, 56%)
OKLCHoklch(61.1% 0.063 301.3)

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 #8A7BA4 3.85:1 AA large text Lc -71.5 Content text, not long reading
Black text on #8A7BA4 5.44:1 AA Lc 38.1 Non-text elements, placeholder text
#8A7BA4 text on white 3.85:1 AA large text Lc 66.0 Content text, not long reading
#8A7BA4 text on black 5.44:1 AA Lc -35.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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DBD7E3

    oklch(88.6% 0.017 301.2)

  4. Step 300

    300

    #C4BCD2

    oklch(80.9% 0.032 302.2)

  5. Step 400

    400

    #A69ABB

    oklch(70.8% 0.049 301.7)

  6. Step 500

    500 (this color)

    #8A7BA4

    oklch(61.1% 0.063 301.3)

  7. Step 600

    600

    #7A6A96

    oklch(55.6% 0.069 300.8)

  8. Step 700

    700

    #67587F

    oklch(49.1% 0.064 301.7)

  9. Step 800

    800

    #544868

    oklch(42.7% 0.054 301.3)

  10. Step 900

    900

    #453D54

    oklch(37.8% 0.04 300.4)

  11. Step 950

    950

    #292431

    oklch(27.2% 0.025 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A7BA4 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)#7382A60.036
Deuteranopia (no green cones)#7582A30.035
Tritanopia (no blue cones)#8681890.050
Achromatopsia (no color)#8282820.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7BA4

    #8A7BA4

    oklch(61.1% 0.063 301.3)

  • #7D8A5F

    #7D8A5F

    oklch(61.1% 0.063 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7BA4

    #8A7BA4

    oklch(61.1% 0.063 301.3)

  • #7682AA

    #7682AA

    oklch(61.2% 0.062 271.5)

  • #9A7695

    #9A7695

    oklch(61.1% 0.063 331.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A7BA4

    #8A7BA4

    oklch(61.1% 0.063 301.3)

  • #928357

    #928357

    oklch(61.3% 0.064 91.4)

  • #678F70

    #678F70

    oklch(61.1% 0.064 151.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7BA4

    #8A7BA4

    oklch(61.1% 0.063 301.3)

  • #A07B5C

    #A07B5C

    oklch(61.1% 0.064 61.2)

  • #569086

    #569086

    oklch(61% 0.063 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7BA4

    #8A7BA4

    oklch(61.1% 0.063 301.3)

  • #A6766C

    #A6766C

    oklch(61.2% 0.063 32.1)

  • #7D8A5F

    #7D8A5F

    oklch(61.1% 0.063 122)

  • #548E99

    #548E99

    oklch(61.1% 0.063 211)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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