#8C7A9E

Closest named color: Purpley Grey (#947E94). oklch(60.9% 0.057 307.4), rgb(140, 122, 158).

Aa

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

About this color

#8C7A9E is a medium-dark, muted purple. In OKLCH its lightness is 61%, its chroma 0.057 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Grey (#947E94), ΔE 0.025 away. Black text reads best on it, at 5.39:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamuted (0.057)
Temperaturein between
Nearest namePurpley Grey (#947E94)
Black text5.39:1
White text3.89:1

Values

HEX#8C7A9E
RGBrgb(140, 122, 158)
HSLhsl(270, 16%, 55%)
OKLCHoklch(60.9% 0.057 307.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 #8C7A9E 3.89:1 AA large text Lc -71.9 Content text, not long reading
Black text on #8C7A9E 5.39:1 AA Lc 37.7 Non-text elements, placeholder text
#8C7A9E text on white 3.89:1 AA large text Lc 66.4 Content text, not long reading
#8C7A9E text on black 5.39:1 AA Lc -35.3 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

    #DCD7E1

    oklch(88.6% 0.015 308.3)

  4. Step 300

    300

    #C5BCCF

    oklch(80.8% 0.028 307)

  5. Step 400

    400

    #A89AB7

    oklch(70.8% 0.044 307)

  6. Step 500

    500 (this color)

    #8C7A9E

    oklch(60.9% 0.057 307.4)

  7. Step 600

    600

    #7D6A90

    oklch(55.6% 0.062 307.2)

  8. Step 700

    700

    #6A587B

    oklch(49.2% 0.059 307.8)

  9. Step 800

    800

    #564864

    oklch(42.7% 0.049 307.2)

  10. Step 900

    900

    #473C51

    oklch(37.6% 0.038 308.4)

  11. Step 950

    950

    #292330

    oklch(26.9% 0.025 305.7)

Export this scale for Tailwind in the Tailwind colors tool

#8C7A9E 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)#7480A00.037
Deuteranopia (no green cones)#77819D0.035
Tritanopia (no blue cones)#8A7F860.044
Achromatopsia (no color)#8181810.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C7A9E

    #8C7A9E

    oklch(60.9% 0.057 307.4)

  • #798A64

    #798A64

    oklch(60.9% 0.059 127.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C7A9E

    #8C7A9E

    oklch(60.9% 0.057 307.4)

  • #7A80A5

    #7A80A5

    oklch(60.9% 0.057 277.4)

  • #9A768F

    #9A768F

    oklch(60.9% 0.057 337.8)

Open the analogous palette in the generator

Split complementary

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

  • #8C7A9E

    #8C7A9E

    oklch(60.9% 0.057 307.4)

  • #8C835B

    #8C835B

    oklch(60.8% 0.057 97)

  • #668E75

    #668E75

    oklch(61% 0.058 156.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C7A9E

    #8C7A9E

    oklch(60.9% 0.057 307.4)

  • #9A7D5E

    #9A7D5E

    oklch(60.9% 0.057 68.3)

  • #598E89

    #598E89

    oklch(60.8% 0.057 188.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C7A9E

    #8C7A9E

    oklch(60.9% 0.057 307.4)

  • #A2776A

    #A2776A

    oklch(60.9% 0.058 37.5)

  • #798A64

    #798A64

    oklch(60.9% 0.059 127.6)

  • #5A8C9A

    #5A8C9A

    oklch(61% 0.058 217.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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