#8A7EAF

Closest named color: Lavender Gray (#7E7F9A). oklch(62.2% 0.074 295.4), rgb(138, 126, 175).

Aa

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

About this color

#8A7EAF is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.074 and its hue 295°. 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.68:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.68:1
White text3.69:1

Values

HEX#8A7EAF
RGBrgb(138, 126, 175)
HSLhsl(255, 23%, 59%)
OKLCHoklch(62.2% 0.074 295.4)

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 #8A7EAF 3.69:1 AA large text Lc -70.0 Content text, not long reading
Black text on #8A7EAF 5.68:1 AA Lc 39.6 Non-text elements, placeholder text
#8A7EAF text on white 3.69:1 AA large text Lc 64.5 Content text, not long reading
#8A7EAF text on black 5.68:1 AA Lc -37.2 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

    #DAD7E5

    oklch(88.6% 0.019 295.8)

  4. Step 300

    300

    #C2BCD6

    oklch(80.8% 0.037 296.1)

  5. Step 400

    400

    #A39AC1

    oklch(70.7% 0.057 295.5)

  6. Step 500

    500 (this color)

    #8A7EAF

    oklch(62.2% 0.074 295.4)

  7. Step 600

    600

    #776A9D

    oklch(55.7% 0.079 295.4)

  8. Step 700

    700

    #645887

    oklch(49.2% 0.075 295.2)

  9. Step 800

    800

    #52486D

    oklch(42.7% 0.061 296.1)

  10. Step 900

    900

    #433C59

    oklch(37.6% 0.05 295)

  11. Step 950

    950

    #272334

    oklch(26.8% 0.032 295)

Export this scale for Tailwind in the Tailwind colors tool

#8A7EAF 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)#7385B10.035
Deuteranopia (no green cones)#7484AE0.034
Tritanopia (no blue cones)#83868F0.062
Achromatopsia (no color)#8585850.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7EAF

    #8A7EAF

    oklch(62.2% 0.074 295.4)

  • #858C58

    #858C58

    oklch(62.1% 0.073 114.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7EAF

    #8A7EAF

    oklch(62.2% 0.074 295.4)

  • #7186B4

    #7186B4

    oklch(62.1% 0.074 265.3)

  • #9E779F

    #9E779F

    oklch(62.1% 0.074 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A7EAF

    #8A7EAF

    oklch(62.2% 0.074 295.4)

  • #9B8451

    #9B8451

    oklch(62.3% 0.074 86)

  • #6A936C

    #6A936C

    oklch(62.2% 0.074 145.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7EAF

    #8A7EAF

    oklch(62.2% 0.074 295.4)

  • #AA7B5B

    #AA7B5B

    oklch(62.2% 0.074 55.1)

  • #529685

    #529685

    oklch(62.3% 0.075 175.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7EAF

    #8A7EAF

    oklch(62.2% 0.074 295.4)

  • #AF7570

    #AF7570

    oklch(62.1% 0.074 24.9)

  • #858C58

    #858C58

    oklch(62.1% 0.073 114.8)

  • #4B949C

    #4B949C

    oklch(62.3% 0.074 204.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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