#8A64D9

Closest named color: Medium Purple (#9370DB). oklch(59.7% 0.173 295.7), rgb(138, 100, 217).

Aa

Black text reads best on this color (4.90:1).

About this color

#8A64D9 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.173 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.033 away. Black text reads best on it, at 4.90:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.173)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text4.90:1
White text4.28:1

Values

HEX#8A64D9
RGBrgb(138, 100, 217)
HSLhsl(259, 61%, 62%)
OKLCHoklch(59.7% 0.173 295.7)

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 #8A64D9 4.28:1 AA large text Lc -74.8 Content text, not long reading
Black text on #8A64D9 4.90:1 AA Lc 34.8 Non-text elements, placeholder text
#8A64D9 text on white 4.28:1 AA large text Lc 69.3 Content text, not long reading
#8A64D9 text on black 4.90:1 AA Lc -32.3 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DBD3F5

    oklch(88.4% 0.047 296.2)

  4. Step 300

    300

    #C5B6F2

    oklch(80.9% 0.085 295.9)

  5. Step 400

    400

    #A88EEB

    oklch(70.7% 0.135 295.6)

  6. Step 500

    500 (this color)

    #8A64D9

    oklch(59.7% 0.173 295.7)

  7. Step 600

    600

    #7F53D2

    oklch(55.5% 0.187 295.6)

  8. Step 700

    700

    #6C43B6

    oklch(49.2% 0.174 295.8)

  9. Step 800

    800

    #583894

    oklch(42.8% 0.145 295.7)

  10. Step 900

    900

    #483176

    oklch(37.7% 0.114 295.8)

  11. Step 950

    950

    #2A1E45

    oklch(27.1% 0.071 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A64D9 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)#317BDD0.113
Deuteranopia (no green cones)#3C79D60.106
Tritanopia (no blue cones)#777C950.137
Achromatopsia (no color)#7A7A7A0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A64D9

    #8A64D9

    oklch(59.7% 0.173 295.7)

  • #7C8800

    #7C8800

    oklch(59.6% 0.136 115.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A64D9

    #8A64D9

    oklch(59.7% 0.173 295.7)

  • #4D77E5

    #4D77E5

    oklch(59.6% 0.173 265.7)

  • #B154B6

    #B154B6

    oklch(59.7% 0.172 325.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A64D9

    #8A64D9

    oklch(59.7% 0.173 295.7)

  • #A07900

    #A07900

    oklch(59.8% 0.122 85.9)

  • #1D9936

    #1D9936

    oklch(59.8% 0.173 145.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A64D9

    #8A64D9

    oklch(59.7% 0.173 295.7)

  • #BF6300

    #BF6300

    oklch(59.7% 0.147 55.7)

  • #00957C

    #00957C

    oklch(59.8% 0.113 175.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A64D9

    #8A64D9

    oklch(59.7% 0.173 295.7)

  • #D34A46

    #D34A46

    oklch(59.7% 0.174 25.5)

  • #7C8800

    #7C8800

    oklch(59.6% 0.136 115.8)

  • #00909D

    #00909D

    oklch(59.7% 0.102 206)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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