#8A7CAB

Closest named color: Lavender Gray (#7E7F9A). oklch(61.6% 0.072 297.9), rgb(138, 124, 171).

Aa

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

About this color

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

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

Values

HEX#8A7CAB
RGBrgb(138, 124, 171)
HSLhsl(258, 22%, 58%)
OKLCHoklch(61.6% 0.072 297.9)

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 #8A7CAB 3.78:1 AA large text Lc -70.8 Content text, not long reading
Black text on #8A7CAB 5.55:1 AA Lc 38.7 Non-text elements, placeholder text
#8A7CAB text on white 3.78:1 AA large text Lc 65.3 Content text, not long reading
#8A7CAB text on black 5.55:1 AA Lc -36.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

    #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

    #C3BCD5

    oklch(80.9% 0.036 298.4)

  5. Step 400

    400

    #A49AC0

    oklch(70.8% 0.056 297)

  6. Step 500

    500 (this color)

    #8A7CAB

    oklch(61.6% 0.072 297.9)

  7. Step 600

    600

    #79699B

    oklch(55.6% 0.078 298.5)

  8. Step 700

    700

    #665885

    oklch(49.2% 0.072 298)

  9. Step 800

    800

    #53486C

    oklch(42.8% 0.06 297.9)

  10. Step 900

    900

    #443C57

    oklch(37.6% 0.046 297.7)

  11. Step 950

    950

    #282333

    oklch(26.9% 0.03 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A7CAB 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)#7283AD0.037
Deuteranopia (no green cones)#7483AA0.036
Tritanopia (no blue cones)#84838D0.057
Achromatopsia (no color)#8383830.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7CAB

    #8A7CAB

    oklch(61.6% 0.072 297.9)

  • #818B59

    #818B59

    oklch(61.6% 0.071 117.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7CAB

    #8A7CAB

    oklch(61.6% 0.072 297.9)

  • #7284B1

    #7284B1

    oklch(61.6% 0.072 267.4)

  • #9D769B

    #9D769B

    oklch(61.7% 0.071 328.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A7CAB

    #8A7CAB

    oklch(61.6% 0.072 297.9)

  • #978352

    #978352

    oklch(61.7% 0.071 88.1)

  • #67916D

    #67916D

    oklch(61.6% 0.071 148.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7CAB

    #8A7CAB

    oklch(61.6% 0.072 297.9)

  • #A67A5A

    #A67A5A

    oklch(61.5% 0.071 57)

  • #529385

    #529385

    oklch(61.6% 0.071 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7CAB

    #8A7CAB

    oklch(61.6% 0.072 297.9)

  • #AC756D

    #AC756D

    oklch(61.7% 0.071 28.4)

  • #818B59

    #818B59

    oklch(61.6% 0.071 117.8)

  • #4C919C

    #4C919C

    oklch(61.6% 0.072 208.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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