#8A5ABB

Closest named color: Deep Lavender (#8D5EB7). oklch(56.2% 0.151 304.9), rgb(138, 90, 187).

Aa

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

About this color

#8A5ABB is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.151 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.014 away. White text reads best on it, at 4.92:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.151)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.26:1
White text4.92:1

Values

HEX#8A5ABB
RGBrgb(138, 90, 187)
HSLhsl(270, 42%, 54%)
OKLCHoklch(56.2% 0.151 304.9)

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 #8A5ABB 4.92:1 AA Lc -79.3 Fine for body text
Black text on #8A5ABB 4.26:1 AA large text Lc 30.2 Non-text elements, placeholder text
#8A5ABB text on white 4.92:1 AA Lc 73.9 Content text, not long reading
#8A5ABB text on black 4.26:1 AA large text Lc -27.8 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

    #EDE7F5

    oklch(93.7% 0.02 305.3)

  3. Step 200

    200

    #DFD3EE

    oklch(88.5% 0.039 305.6)

  4. Step 300

    300

    #CAB6E4

    oklch(80.8% 0.067 304.7)

  5. Step 400

    400

    #B08FD7

    oklch(70.7% 0.108 304.8)

  6. Step 500

    500

    #9D72CC

    oklch(63.2% 0.138 304.8)

  7. Step 600

    600 (this color)

    #8A5ABB

    oklch(56.2% 0.151 304.9)

  8. Step 700

    700

    #73489F

    oklch(49.1% 0.139 304.6)

  9. Step 800

    800

    #5E3B81

    oklch(42.7% 0.116 305.1)

  10. Step 900

    900

    #4D3368

    oklch(37.7% 0.092 305.1)

  11. Step 950

    950

    #2D1E3D

    oklch(26.9% 0.059 305.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A5ABB 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)#3C6FBE0.114
Deuteranopia (no green cones)#4A70B90.103
Tritanopia (no blue cones)#826C820.112
Achromatopsia (no color)#7070700.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5ABB

    #8A5ABB

    oklch(56.2% 0.151 304.9)

  • #638200

    #638200

    oklch(56.2% 0.141 124.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5ABB

    #8A5ABB

    oklch(56.2% 0.151 304.9)

  • #5D6ACC

    #5D6ACC

    oklch(56.3% 0.15 274.8)

  • #A94D98

    #A94D98

    oklch(56.3% 0.152 335)

Open the analogous palette in the generator

Split complementary

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

  • #8A5ABB

    #8A5ABB

    oklch(56.2% 0.151 304.9)

  • #8B7300

    #8B7300

    oklch(56.2% 0.115 94.4)

  • #008C4F

    #008C4F

    oklch(56.2% 0.139 155)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5ABB

    #8A5ABB

    oklch(56.2% 0.151 304.9)

  • #A76300

    #A76300

    oklch(56.3% 0.126 65)

  • #00887D

    #00887D

    oklch(56.4% 0.099 184.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5ABB

    #8A5ABB

    oklch(56.2% 0.151 304.9)

  • #BD4D32

    #BD4D32

    oklch(56.3% 0.151 34.8)

  • #638200

    #638200

    oklch(56.2% 0.141 124.6)

  • #008399

    #008399

    oklch(56.1% 0.099 215)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8A5ABB.

Similar named colors

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

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