#8A5EB4

Closest named color: Deep Lavender (#8D5EB7). oklch(56.5% 0.135 306.2), rgb(138, 94, 180).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.34:1
White text4.83:1

Values

HEX#8A5EB4
RGBrgb(138, 94, 180)
HSLhsl(271, 36%, 54%)
OKLCHoklch(56.5% 0.135 306.2)

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 #8A5EB4 4.83:1 AA Lc -78.8 Fine for body text
Black text on #8A5EB4 4.34:1 AA large text Lc 30.7 Non-text elements, placeholder text
#8A5EB4 text on white 4.83:1 AA Lc 73.3 Content text, not long reading
#8A5EB4 text on black 4.34:1 AA large text Lc -28.3 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #DED4EB

    oklch(88.5% 0.033 305.3)

  4. Step 300

    300

    #CAB7E0

    oklch(80.9% 0.06 306.1)

  5. Step 400

    400

    #B091D1

    oklch(70.8% 0.097 306.2)

  6. Step 500

    500

    #9C74C5

    oklch(63.1% 0.125 305.9)

  7. Step 600

    600 (this color)

    #8A5EB4

    oklch(56.5% 0.135 306.2)

  8. Step 700

    700

    #734B98

    oklch(49.2% 0.125 306.3)

  9. Step 800

    800

    #5D3E7B

    oklch(42.7% 0.103 306)

  10. Step 900

    900

    #4C3563

    oklch(37.6% 0.081 305.9)

  11. Step 950

    950

    #2D1F3A

    oklch(27% 0.052 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A5EB4 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)#4770B70.101
Deuteranopia (no green cones)#5372B20.092
Tritanopia (no blue cones)#846D800.101
Achromatopsia (no color)#7272720.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5EB4

    #8A5EB4

    oklch(56.5% 0.135 306.2)

  • #628316

    #628316

    oklch(56.5% 0.135 126)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5EB4

    #8A5EB4

    oklch(56.5% 0.135 306.2)

  • #626CC4

    #626CC4

    oklch(56.5% 0.135 276.3)

  • #A65394

    #A65394

    oklch(56.5% 0.136 336.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A5EB4

    #8A5EB4

    oklch(56.5% 0.135 306.2)

  • #8A7500

    #8A7500

    oklch(56.5% 0.116 96.5)

  • #068D53

    #068D53

    oklch(56.6% 0.136 156)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5EB4

    #8A5EB4

    oklch(56.5% 0.135 306.2)

  • #A76400

    #A76400

    oklch(56.5% 0.126 65.8)

  • #00887F

    #00887F

    oklch(56.4% 0.099 186.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5EB4

    #8A5EB4

    oklch(56.5% 0.135 306.2)

  • #B75439

    #B75439

    oklch(56.5% 0.135 36.2)

  • #628316

    #628316

    oklch(56.5% 0.135 126)

  • #00849C

    #00849C

    oklch(56.5% 0.101 216.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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