#8D7FAC

Closest named color: Lavender Gray (#7E7F9A). oklch(62.6% 0.068 298.7), rgb(141, 127, 172).

Aa

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

About this color

#8D7FAC is a medium-light, muted purple. In OKLCH its lightness is 63%, its chroma 0.068 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.037 away. Black text reads best on it, at 5.76:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamuted (0.068)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.76:1
White text3.64:1

Values

HEX#8D7FAC
RGBrgb(141, 127, 172)
HSLhsl(259, 21%, 59%)
OKLCHoklch(62.6% 0.068 298.7)

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 #8D7FAC 3.64:1 AA large text Lc -69.5 Content text, not long reading
Black text on #8D7FAC 5.76:1 AA Lc 40.1 Non-text elements, placeholder text
#8D7FAC text on white 3.64:1 AA large text Lc 64.0 Content text, not long reading
#8D7FAC text on black 5.76:1 AA Lc -37.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

    #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

    #A59ABE

    oklch(70.8% 0.053 299)

  6. Step 500

    500 (this color)

    #8D7FAC

    oklch(62.6% 0.068 298.7)

  7. Step 600

    600

    #796A99

    oklch(55.7% 0.073 298.6)

  8. Step 700

    700

    #665883

    oklch(49.1% 0.069 298.8)

  9. Step 800

    800

    #53486A

    oklch(42.7% 0.057 298.8)

  10. Step 900

    900

    #453C56

    oklch(37.6% 0.045 300.1)

  11. Step 950

    950

    #282333

    oklch(26.9% 0.03 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#8D7FAC 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)#7586AE0.037
Deuteranopia (no green cones)#7886AB0.034
Tritanopia (no blue cones)#88868F0.055
Achromatopsia (no color)#8686860.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D7FAC

    #8D7FAC

    oklch(62.6% 0.068 298.7)

  • #838E5E

    #838E5E

    oklch(62.5% 0.069 118.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D7FAC

    #8D7FAC

    oklch(62.6% 0.068 298.7)

  • #7687B2

    #7687B2

    oklch(62.6% 0.068 267.7)

  • #9F799D

    #9F799D

    oklch(62.5% 0.069 328.1)

Open the analogous palette in the generator

Split complementary

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

  • #8D7FAC

    #8D7FAC

    oklch(62.6% 0.068 298.7)

  • #998657

    #998657

    oklch(62.6% 0.068 88.4)

  • #6B9471

    #6B9471

    oklch(62.6% 0.069 148.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D7FAC

    #8D7FAC

    oklch(62.6% 0.068 298.7)

  • #A77E5E

    #A77E5E

    oklch(62.5% 0.068 59.1)

  • #579688

    #579688

    oklch(62.6% 0.069 178)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D7FAC

    #8D7FAC

    oklch(62.6% 0.068 298.7)

  • #AD7870

    #AD7870

    oklch(62.4% 0.068 28.7)

  • #838E5E

    #838E5E

    oklch(62.5% 0.069 118.9)

  • #52949E

    #52949E

    oklch(62.7% 0.069 208.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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