#864D9A

Closest named color: Light Eggplant (#894585). oklch(51.8% 0.132 316.7), rgb(134, 77, 154).

Aa

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

About this color

#864D9A is a medium-dark, moderately saturated purple. In OKLCH its lightness is 52%, its chroma 0.132 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.035 away. White text reads best on it, at 5.92:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.54:1
White text5.92:1

Values

HEX#864D9A
RGBrgb(134, 77, 154)
HSLhsl(284, 33%, 45%)
OKLCHoklch(51.8% 0.132 316.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 #864D9A 5.92:1 AA Lc -84.6 Fine for body text
Black text on #864D9A 3.54:1 AA large text Lc 24.7 Dividers and decoration only
#864D9A text on white 5.92:1 AA Lc 79.4 Fine for body text
#864D9A text on black 3.54:1 AA large text Lc -22.5 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 700.

  1. Step 50

    50

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E3D2E9

    oklch(88.4% 0.036 317.3)

  4. Step 300

    300

    #D1B4DC

    oklch(80.8% 0.064 316.7)

  5. Step 400

    400

    #BA8DCB

    oklch(70.8% 0.101 316.5)

  6. Step 500

    500

    #A96FBD

    oklch(63.2% 0.129 317.1)

  7. Step 600

    600

    #9455AA

    oklch(55.6% 0.143 316.8)

  8. Step 700

    700 (this color)

    #864D9A

    oklch(51.8% 0.132 316.7)

  9. Step 800

    800

    #663976

    oklch(42.6% 0.109 316.6)

  10. Step 900

    900

    #53325F

    oklch(37.7% 0.084 316.6)

  11. Step 950

    950

    #311E38

    oklch(27.1% 0.053 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#864D9A 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)#3E609D0.116
Deuteranopia (no green cones)#4F66980.104
Tritanopia (no blue cones)#85586C0.086
Achromatopsia (no color)#6464640.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #864D9A

    #864D9A

    oklch(51.8% 0.132 316.7)

  • #417923

    #417923

    oklch(51.9% 0.132 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #864D9A

    #864D9A

    oklch(51.8% 0.132 316.7)

  • #655AAF

    #655AAF

    oklch(51.9% 0.13 286.9)

  • #9C4477

    #9C4477

    oklch(51.8% 0.132 346.8)

Open the analogous palette in the generator

Split complementary

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

  • #864D9A

    #864D9A

    oklch(51.8% 0.132 316.7)

  • #706C00

    #706C00

    oklch(51.8% 0.111 107.2)

  • #007B5B

    #007B5B

    oklch(51.7% 0.106 166.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #864D9A

    #864D9A

    oklch(51.8% 0.132 316.7)

  • #8B5F00

    #8B5F00

    oklch(51.9% 0.109 77.2)

  • #00787A

    #00787A

    oklch(51.9% 0.088 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #864D9A

    #864D9A

    oklch(51.8% 0.132 316.7)

  • #A34B17

    #A34B17

    oklch(51.8% 0.132 46.5)

  • #417923

    #417923

    oklch(51.9% 0.132 136.7)

  • #007395

    #007395

    oklch(51.8% 0.1 227.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #864D9A 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.