#8A7BA2

Closest named color: Lavender Gray (#7E7F9A). oklch(61.1% 0.06 302.2), rgb(138, 123, 162).

Aa

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

About this color

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

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

Values

HEX#8A7BA2
RGBrgb(138, 123, 162)
HSLhsl(263, 17%, 56%)
OKLCHoklch(61.1% 0.06 302.2)

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 #8A7BA2 3.86:1 AA large text Lc -71.6 Content text, not long reading
Black text on #8A7BA2 5.43:1 AA Lc 38.0 Non-text elements, placeholder text
#8A7BA2 text on white 3.86:1 AA large text Lc 66.1 Content text, not long reading
#8A7BA2 text on black 5.43:1 AA Lc -35.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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE9EF

    oklch(93.7% 0.008 301.4)

  3. Step 200

    200

    #DBD7E2

    oklch(88.6% 0.016 302.5)

  4. Step 300

    300

    #C4BCD1

    oklch(80.8% 0.03 303)

  5. Step 400

    400

    #A69ABA

    oklch(70.7% 0.048 302.3)

  6. Step 500

    500 (this color)

    #8A7BA2

    oklch(61.1% 0.06 302.2)

  7. Step 600

    600

    #7A6A94

    oklch(55.5% 0.066 301.7)

  8. Step 700

    700

    #67587E

    oklch(49% 0.062 302.3)

  9. Step 800

    800

    #544866

    oklch(42.6% 0.051 302.6)

  10. Step 900

    900

    #453D53

    oklch(37.7% 0.038 301.2)

  11. Step 950

    950

    #292431

    oklch(27.2% 0.025 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A7BA2 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)#7481A40.034
Deuteranopia (no green cones)#7682A10.034
Tritanopia (no blue cones)#8681880.049
Achromatopsia (no color)#8282820.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7BA2

    #8A7BA2

    oklch(61.1% 0.06 302.2)

  • #7D8A61

    #7D8A61

    oklch(61.2% 0.061 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7BA2

    #8A7BA2

    oklch(61.1% 0.06 302.2)

  • #7782A8

    #7782A8

    oklch(61.2% 0.059 272)

  • #9A7694

    #9A7694

    oklch(61.1% 0.062 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A7BA2

    #8A7BA2

    oklch(61.1% 0.06 302.2)

  • #908359

    #908359

    oklch(61.1% 0.061 92.9)

  • #688E72

    #688E72

    oklch(61% 0.06 152.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7BA2

    #8A7BA2

    oklch(61.1% 0.06 302.2)

  • #9E7C5E

    #9E7C5E

    oklch(61.2% 0.06 62.8)

  • #589086

    #589086

    oklch(61.1% 0.061 181.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7BA2

    #8A7BA2

    oklch(61.1% 0.06 302.2)

  • #A4766D

    #A4766D

    oklch(61% 0.06 31.3)

  • #7D8A61

    #7D8A61

    oklch(61.2% 0.061 122.5)

  • #568D99

    #568D99

    oklch(61% 0.061 213.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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