#8A7FAC

Closest named color: Lavender Gray (#7E7F9A). oklch(62.3% 0.068 295.6), rgb(138, 127, 172).

Aa

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

About this color

#8A7FAC is a medium-light, muted purple. In OKLCH its lightness is 62%, its chroma 0.068 and its hue 296°. 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.71:1.

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

Values

HEX#8A7FAC
RGBrgb(138, 127, 172)
HSLhsl(255, 21%, 59%)
OKLCHoklch(62.3% 0.068 295.6)

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 #8A7FAC 3.67:1 AA large text Lc -69.8 Content text, not long reading
Black text on #8A7FAC 5.71:1 AA Lc 39.7 Non-text elements, placeholder text
#8A7FAC text on white 3.67:1 AA large text Lc 64.3 Content text, not long reading
#8A7FAC text on black 5.71:1 AA Lc -37.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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9F0

    oklch(93.7% 0.009 292.8)

  3. Step 200

    200

    #DAD7E4

    oklch(88.5% 0.018 296.6)

  4. Step 300

    300

    #C2BDD4

    oklch(81% 0.032 295.6)

  5. Step 400

    400

    #A39ABF

    oklch(70.7% 0.054 296.1)

  6. Step 500

    500 (this color)

    #8A7FAC

    oklch(62.3% 0.068 295.6)

  7. Step 600

    600

    #776B9A

    oklch(55.7% 0.073 295.7)

  8. Step 700

    700

    #645984

    oklch(49.2% 0.069 295.5)

  9. Step 800

    800

    #51496B

    oklch(42.8% 0.056 294.7)

  10. Step 900

    900

    #433D57

    oklch(37.7% 0.044 294.8)

  11. Step 950

    950

    #272433

    oklch(27% 0.028 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A7FAC 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.033
Deuteranopia (no green cones)#7685AB0.032
Tritanopia (no blue cones)#84868F0.055
Achromatopsia (no color)#8585850.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7FAC

    #8A7FAC

    oklch(62.3% 0.068 295.6)

  • #858C5C

    #858C5C

    oklch(62.2% 0.068 115.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7FAC

    #8A7FAC

    oklch(62.3% 0.068 295.6)

  • #7387B1

    #7387B1

    oklch(62.4% 0.068 264.7)

  • #9D799E

    #9D799E

    oklch(62.3% 0.069 325.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A7FAC

    #8A7FAC

    oklch(62.3% 0.068 295.6)

  • #9A8457

    #9A8457

    oklch(62.3% 0.067 84.5)

  • #6D926E

    #6D926E

    oklch(62.2% 0.067 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7FAC

    #8A7FAC

    oklch(62.3% 0.068 295.6)

  • #A77C5F

    #A77C5F

    oklch(62.2% 0.068 55.1)

  • #589585

    #589585

    oklch(62.3% 0.068 175.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7FAC

    #8A7FAC

    oklch(62.3% 0.068 295.6)

  • #AC7772

    #AC7772

    oklch(62.2% 0.068 25.2)

  • #858C5C

    #858C5C

    oklch(62.2% 0.068 115.2)

  • #52939B

    #52939B

    oklch(62.3% 0.068 205.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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