#8A7CAA

Closest named color: Lavender Gray (#7E7F9A). oklch(61.6% 0.07 298.3), rgb(138, 124, 170).

Aa

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

About this color

#8A7CAA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.070 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.034 away. Black text reads best on it, at 5.54:1.

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

Values

HEX#8A7CAA
RGBrgb(138, 124, 170)
HSLhsl(258, 21%, 58%)
OKLCHoklch(61.6% 0.07 298.3)

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 #8A7CAA 3.78:1 AA large text Lc -70.9 Content text, not long reading
Black text on #8A7CAA 5.54:1 AA Lc 38.7 Non-text elements, placeholder text
#8A7CAA text on white 3.78:1 AA large text Lc 65.4 Content text, not long reading
#8A7CAA text on black 5.54: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

    #DAD7E4

    oklch(88.5% 0.018 296.6)

  4. Step 300

    300

    #C3BCD4

    oklch(80.8% 0.034 299)

  5. Step 400

    400

    #A49ABF

    oklch(70.7% 0.054 297.4)

  6. Step 500

    500 (this color)

    #8A7CAA

    oklch(61.6% 0.07 298.3)

  7. Step 600

    600

    #79699A

    oklch(55.5% 0.077 298.9)

  8. Step 700

    700

    #665884

    oklch(49.2% 0.071 298.4)

  9. Step 800

    800

    #53486B

    oklch(42.7% 0.058 298.3)

  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

#8A7CAA 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)#7283AC0.037
Deuteranopia (no green cones)#7483A90.036
Tritanopia (no blue cones)#84838C0.057
Achromatopsia (no color)#8383830.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7CAA

    #8A7CAA

    oklch(61.6% 0.07 298.3)

  • #818B5A

    #818B5A

    oklch(61.6% 0.07 117.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7CAA

    #8A7CAA

    oklch(61.6% 0.07 298.3)

  • #7384B0

    #7384B0

    oklch(61.7% 0.07 268)

  • #9D769A

    #9D769A

    oklch(61.6% 0.07 329)

Open the analogous palette in the generator

Split complementary

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

  • #8A7CAA

    #8A7CAA

    oklch(61.6% 0.07 298.3)

  • #968353

    #968353

    oklch(61.6% 0.07 88.7)

  • #68916D

    #68916D

    oklch(61.6% 0.07 147.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7CAA

    #8A7CAA

    oklch(61.6% 0.07 298.3)

  • #A57B5A

    #A57B5A

    oklch(61.6% 0.07 59.1)

  • #539385

    #539385

    oklch(61.6% 0.07 178.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7CAA

    #8A7CAA

    oklch(61.6% 0.07 298.3)

  • #AB756D

    #AB756D

    oklch(61.6% 0.07 28.6)

  • #818B5A

    #818B5A

    oklch(61.6% 0.07 117.9)

  • #4D919B

    #4D919B

    oklch(61.6% 0.07 207.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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