#8A5A9F

Closest named color: Deep Lavender (#8D5EB7). oklch(54.7% 0.116 315), rgb(138, 90, 159).

Aa

White text reads best on this color (5.19:1).

About this color

#8A5A9F is a medium-dark, moderately saturated purple. In OKLCH its lightness is 55%, its chroma 0.116 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.037 away. White text reads best on it, at 5.19:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.04:1
White text5.19:1

Values

HEX#8A5A9F
RGBrgb(138, 90, 159)
HSLhsl(282, 28%, 49%)
OKLCHoklch(54.7% 0.116 315)

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 #8A5A9F 5.19:1 AA Lc -80.9 Fine for body text
Black text on #8A5A9F 4.04:1 AA large text Lc 28.5 Dividers and decoration only
#8A5A9F text on white 5.19:1 AA Lc 75.6 Fine for body text
#8A5A9F text on black 4.04:1 AA large text Lc -26.2 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E1D4E7

    oklch(88.6% 0.029 315.3)

  4. Step 300

    300

    #CEB7D8

    oklch(80.9% 0.052 315.7)

  5. Step 400

    400

    #B491C5

    oklch(70.7% 0.084 314.5)

  6. Step 500

    500

    #A275B6

    oklch(63.1% 0.107 315.1)

  7. Step 600

    600 (this color)

    #8A5A9F

    oklch(54.7% 0.116 315)

  8. Step 700

    700

    #784C8B

    oklch(49.2% 0.109 315.1)

  9. Step 800

    800

    #613F70

    oklch(42.7% 0.088 314.9)

  10. Step 900

    900

    #4F365B

    oklch(37.7% 0.069 314.3)

  11. Step 950

    950

    #2F2035

    oklch(27.1% 0.043 316)

Export this scale for Tailwind in the Tailwind colors tool

#8A5A9F 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)#4E6AA10.096
Deuteranopia (no green cones)#5A6E9D0.088
Tritanopia (no blue cones)#8964750.079
Achromatopsia (no color)#6D6D6D0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5A9F

    #8A5A9F

    oklch(54.7% 0.116 315)

  • #527F35

    #527F35

    oklch(54.6% 0.116 134.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5A9F

    #8A5A9F

    oklch(54.7% 0.116 315)

  • #6A65B1

    #6A65B1

    oklch(54.6% 0.116 284.8)

  • #9F5280

    #9F5280

    oklch(54.6% 0.117 344.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A5A9F

    #8A5A9F

    oklch(54.7% 0.116 315)

  • #7B7400

    #7B7400

    oklch(54.8% 0.116 105.4)

  • #008560

    #008560

    oklch(54.7% 0.114 165.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5A9F

    #8A5A9F

    oklch(54.7% 0.116 315)

  • #976500

    #976500

    oklch(54.6% 0.115 75.1)

  • #008181

    #008181

    oklch(54.6% 0.093 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5A9F

    #8A5A9F

    oklch(54.7% 0.116 315)

  • #A75832

    #A75832

    oklch(54.7% 0.116 45)

  • #527F35

    #527F35

    oklch(54.6% 0.116 134.8)

  • #007D9E

    #007D9E

    oklch(54.8% 0.104 224.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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