#8A7CAE

Closest named color: Lavender Gray (#7E7F9A). oklch(61.8% 0.076 297), rgb(138, 124, 174).

Aa

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

About this color

#8A7CAE is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.076 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.039 away. Black text reads best on it, at 5.57:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.57:1
White text3.76:1

Values

HEX#8A7CAE
RGBrgb(138, 124, 174)
HSLhsl(257, 24%, 58%)
OKLCHoklch(61.8% 0.076 297)

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 #8A7CAE 3.76:1 AA large text Lc -70.7 Content text, not long reading
Black text on #8A7CAE 5.57:1 AA Lc 38.9 Non-text elements, placeholder text
#8A7CAE text on white 3.76:1 AA large text Lc 65.2 Content text, not long reading
#8A7CAE text on black 5.57:1 AA Lc -36.5 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

    #EAE8F0

    oklch(93.5% 0.011 297.6)

  3. Step 200

    200

    #DAD7E5

    oklch(88.6% 0.019 295.8)

  4. Step 300

    300

    #C3BCD6

    oklch(80.9% 0.037 297.9)

  5. Step 400

    400

    #A499C2

    oklch(70.7% 0.06 297.1)

  6. Step 500

    500 (this color)

    #8A7CAE

    oklch(61.8% 0.076 297)

  7. Step 600

    600

    #78699E

    oklch(55.6% 0.082 296.6)

  8. Step 700

    700

    #655787

    oklch(49% 0.077 296.9)

  9. Step 800

    800

    #53476E

    oklch(42.7% 0.065 297.7)

  10. Step 900

    900

    #443C59

    oklch(37.7% 0.05 296.6)

  11. Step 950

    950

    #282334

    oklch(26.9% 0.032 297.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A7CAE 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)#7184B00.039
Deuteranopia (no green cones)#7383AD0.037
Tritanopia (no blue cones)#83848E0.062
Achromatopsia (no color)#8383830.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7CAE

    #8A7CAE

    oklch(61.8% 0.076 297)

  • #828C56

    #828C56

    oklch(61.8% 0.076 117.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7CAE

    #8A7CAE

    oklch(61.8% 0.076 297)

  • #7184B4

    #7184B4

    oklch(61.7% 0.076 267.5)

  • #9E759D

    #9E759D

    oklch(61.7% 0.076 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A7CAE

    #8A7CAE

    oklch(61.8% 0.076 297)

  • #99834E

    #99834E

    oklch(61.8% 0.076 87.6)

  • #67926B

    #67926B

    oklch(61.8% 0.075 146.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7CAE

    #8A7CAE

    oklch(61.8% 0.076 297)

  • #A97A58

    #A97A58

    oklch(61.8% 0.076 56.7)

  • #4E9585

    #4E9585

    oklch(61.9% 0.076 177.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7CAE

    #8A7CAE

    oklch(61.8% 0.076 297)

  • #AF746D

    #AF746D

    oklch(61.9% 0.076 26.9)

  • #828C56

    #828C56

    oklch(61.8% 0.076 117.2)

  • #47939D

    #47939D

    oklch(61.9% 0.076 206.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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