#8A799D

Closest named color: Lavender Gray (#7E7F9A). oklch(60.4% 0.057 306.2), rgb(138, 121, 157).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamuted (0.057)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.30:1
White text3.96:1

Values

HEX#8A799D
RGBrgb(138, 121, 157)
HSLhsl(268, 16%, 55%)
OKLCHoklch(60.4% 0.057 306.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 #8A799D 3.96:1 AA large text Lc -72.5 Content text, not long reading
Black text on #8A799D 5.30:1 AA Lc 37.1 Non-text elements, placeholder text
#8A799D text on white 3.96:1 AA large text Lc 67.0 Content text, not long reading
#8A799D text on black 5.30:1 AA Lc -34.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

    #EBE8EE

    oklch(93.5% 0.009 308.4)

  3. Step 200

    200

    #DBD7E1

    oklch(88.5% 0.014 304.1)

  4. Step 300

    300

    #C5BCCF

    oklch(80.8% 0.028 307)

  5. Step 400

    400

    #A79AB7

    oklch(70.7% 0.044 305.6)

  6. Step 500

    500 (this color)

    #8A799D

    oklch(60.4% 0.057 306.2)

  7. Step 600

    600

    #7C6A90

    oklch(55.5% 0.061 306.1)

  8. Step 700

    700

    #69587B

    oklch(49.1% 0.058 306.5)

  9. Step 800

    800

    #554864

    oklch(42.6% 0.048 305.6)

  10. Step 900

    900

    #463D51

    oklch(37.7% 0.035 305.2)

  11. Step 950

    950

    #292430

    oklch(27.1% 0.023 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A799D 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)#737F9F0.036
Deuteranopia (no green cones)#76809C0.034
Tritanopia (no blue cones)#877E850.044
Achromatopsia (no color)#8080800.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A799D

    #8A799D

    oklch(60.4% 0.057 306.2)

  • #798863

    #798863

    oklch(60.4% 0.057 126)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A799D

    #8A799D

    oklch(60.4% 0.057 306.2)

  • #787FA4

    #787FA4

    oklch(60.4% 0.057 276.2)

  • #98758F

    #98758F

    oklch(60.5% 0.057 335.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A799D

    #8A799D

    oklch(60.4% 0.057 306.2)

  • #8B825A

    #8B825A

    oklch(60.4% 0.057 97)

  • #668C73

    #668C73

    oklch(60.4% 0.057 155.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A799D

    #8A799D

    oklch(60.4% 0.057 306.2)

  • #997B5D

    #997B5D

    oklch(60.4% 0.057 66.4)

  • #588D87

    #588D87

    oklch(60.4% 0.057 186.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A799D

    #8A799D

    oklch(60.4% 0.057 306.2)

  • #A0766A

    #A0766A

    oklch(60.4% 0.056 36.6)

  • #798863

    #798863

    oklch(60.4% 0.057 126)

  • #598A98

    #598A98

    oklch(60.4% 0.057 217.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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