#8A64A7

Closest named color: Dark Lavender (#856798). oklch(56.9% 0.108 309.4), rgb(138, 100, 167).

Aa

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

About this color

#8A64A7 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.108 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.028 away. White text reads best on it, at 4.70:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.46:1
White text4.70:1

Values

HEX#8A64A7
RGBrgb(138, 100, 167)
HSLhsl(274, 28%, 52%)
OKLCHoklch(56.9% 0.108 309.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 #8A64A7 4.70:1 AA Lc -78.0 Fine for body text
Black text on #8A64A7 4.46:1 AA large text Lc 31.5 Non-text elements, placeholder text
#8A64A7 text on white 4.70:1 AA Lc 72.6 Content text, not long reading
#8A64A7 text on black 4.46:1 AA large text Lc -29.1 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

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DED5E7

    oklch(88.6% 0.026 308.1)

  4. Step 300

    300

    #CAB8D9

    oklch(80.8% 0.05 309.7)

  5. Step 400

    400

    #AF93C6

    oklch(70.6% 0.079 309.3)

  6. Step 500

    500

    #9B78B7

    oklch(63% 0.1 309.2)

  7. Step 600

    600 (this color)

    #8A64A7

    oklch(56.9% 0.108 309.4)

  8. Step 700

    700

    #724F8C

    oklch(49.1% 0.102 309.5)

  9. Step 800

    800

    #5D4171

    oklch(42.7% 0.084 310.1)

  10. Step 900

    900

    #4C375C

    oklch(37.6% 0.067 309.5)

  11. Step 950

    950

    #2C2136

    oklch(27% 0.041 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A64A7 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)#5672AA0.081
Deuteranopia (no green cones)#5F74A50.075
Tritanopia (no blue cones)#866E7D0.079
Achromatopsia (no color)#7474740.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A64A7

    #8A64A7

    oklch(56.9% 0.108 309.4)

  • #62833A

    #62833A

    oklch(56.8% 0.108 129.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A64A7

    #8A64A7

    oklch(56.9% 0.108 309.4)

  • #6A6FB6

    #6A6FB6

    oklch(56.9% 0.109 279.3)

  • #A05C8C

    #A05C8C

    oklch(56.8% 0.109 338.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A64A7

    #8A64A7

    oklch(56.9% 0.108 309.4)

  • #87781B

    #87781B

    oklch(57% 0.109 99.5)

  • #308A60

    #308A60

    oklch(56.8% 0.108 159.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A64A7

    #8A64A7

    oklch(56.9% 0.108 309.4)

  • #A06A23

    #A06A23

    oklch(56.9% 0.109 69.1)

  • #008983

    #008983

    oklch(56.8% 0.098 189.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A64A7

    #8A64A7

    oklch(56.9% 0.108 309.4)

  • #AC5F44

    #AC5F44

    oklch(56.9% 0.108 39.9)

  • #62833A

    #62833A

    oklch(56.8% 0.108 129.5)

  • #0085A0

    #0085A0

    oklch(57% 0.103 218.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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