#8A61B2

Closest named color: Deep Lavender (#8D5EB7). oklch(56.9% 0.128 306.1), rgb(138, 97, 178).

Aa

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

About this color

#8A61B2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.128 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.012 away. White text reads best on it, at 4.73:1.

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

Values

HEX#8A61B2
RGBrgb(138, 97, 178)
HSLhsl(270, 34%, 54%)
OKLCHoklch(56.9% 0.128 306.1)

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 #8A61B2 4.73:1 AA Lc -78.2 Fine for body text
Black text on #8A61B2 4.43:1 AA large text Lc 31.4 Non-text elements, placeholder text
#8A61B2 text on white 4.73:1 AA Lc 72.7 Content text, not long reading
#8A61B2 text on black 4.43:1 AA large text Lc -29.0 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

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DED4EA

    oklch(88.5% 0.032 306.2)

  4. Step 300

    300

    #CAB8DF

    oklch(81% 0.057 306)

  5. Step 400

    400

    #AF92CE

    oklch(70.8% 0.091 306.3)

  6. Step 500

    500

    #9B76C1

    oklch(63.1% 0.116 306)

  7. Step 600

    600 (this color)

    #8A61B2

    oklch(56.9% 0.128 306.1)

  8. Step 700

    700

    #724C95

    oklch(49.1% 0.119 306.5)

  9. Step 800

    800

    #5C3F79

    oklch(42.6% 0.098 305.7)

  10. Step 900

    900

    #4C3662

    oklch(37.8% 0.077 306.1)

  11. Step 950

    950

    #2C2039

    oklch(27% 0.048 305.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A61B2 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)#4D72B50.093
Deuteranopia (no green cones)#5773B00.085
Tritanopia (no blue cones)#846E810.093
Achromatopsia (no color)#7373730.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A61B2

    #8A61B2

    oklch(56.9% 0.128 306.1)

  • #648423

    #648423

    oklch(56.9% 0.128 126.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A61B2

    #8A61B2

    oklch(56.9% 0.128 306.1)

  • #646EC1

    #646EC1

    oklch(56.9% 0.128 276.4)

  • #A55793

    #A55793

    oklch(56.9% 0.128 336.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A61B2

    #8A61B2

    oklch(56.9% 0.128 306.1)

  • #8C7600

    #8C7600

    oklch(57% 0.117 96)

  • #1E8D56

    #1E8D56

    oklch(57% 0.128 155.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A61B2

    #8A61B2

    oklch(56.9% 0.128 306.1)

  • #A86500

    #A86500

    oklch(56.8% 0.127 66)

  • #008A80

    #008A80

    oklch(57% 0.1 185.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A61B2

    #8A61B2

    oklch(56.9% 0.128 306.1)

  • #B5583F

    #B5583F

    oklch(56.9% 0.127 36)

  • #648423

    #648423

    oklch(56.9% 0.128 126.2)

  • #00859D

    #00859D

    oklch(56.8% 0.101 216.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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