#864E9D

Closest named color: Light Eggplant (#894585). oklch(52.2% 0.133 315.3), rgb(134, 78, 157).

Aa

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

About this color

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

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

Values

HEX#864E9D
RGBrgb(134, 78, 157)
HSLhsl(283, 34%, 46%)
OKLCHoklch(52.2% 0.133 315.3)

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 #864E9D 5.84:1 AA Lc -84.2 Fine for body text
Black text on #864E9D 3.59:1 AA large text Lc 25.1 Dividers and decoration only
#864E9D text on white 5.84:1 AA Lc 79.0 Fine for body text
#864E9D text on black 3.59:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E2D2EA

    oklch(88.4% 0.037 314.6)

  4. Step 300

    300

    #D1B5DE

    oklch(81% 0.064 315.1)

  5. Step 400

    400

    #B98DCD

    oklch(70.8% 0.103 315)

  6. Step 500

    500

    #A86FBF

    oklch(63.2% 0.131 315.7)

  7. Step 600

    600

    #9355AC

    oklch(55.6% 0.144 315.5)

  8. Step 700

    700 (this color)

    #864E9D

    oklch(52.2% 0.133 315.3)

  9. Step 800

    800

    #653978

    oklch(42.6% 0.111 314.8)

  10. Step 900

    900

    #533260

    oklch(37.7% 0.085 315.9)

  11. Step 950

    950

    #301E38

    oklch(27% 0.053 314.9)

Export this scale for Tailwind in the Tailwind colors tool

#864E9D 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)#3E61A00.115
Deuteranopia (no green cones)#4E669B0.103
Tritanopia (no blue cones)#855A6E0.089
Achromatopsia (no color)#6565650.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #864E9D

    #864E9D

    oklch(52.2% 0.133 315.3)

  • #447A20

    #447A20

    oklch(52.3% 0.134 135.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #864E9D

    #864E9D

    oklch(52.2% 0.133 315.3)

  • #645BB2

    #645BB2

    oklch(52.2% 0.133 285.5)

  • #9D457A

    #9D457A

    oklch(52.2% 0.133 345.6)

Open the analogous palette in the generator

Split complementary

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

  • #864E9D

    #864E9D

    oklch(52.2% 0.133 315.3)

  • #736C00

    #736C00

    oklch(52.1% 0.111 105.1)

  • #007D5A

    #007D5A

    oklch(52.3% 0.109 165.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #864E9D

    #864E9D

    oklch(52.2% 0.133 315.3)

  • #8D5F00

    #8D5F00

    oklch(52.2% 0.11 76)

  • #007979

    #007979

    oklch(52.2% 0.089 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #864E9D

    #864E9D

    oklch(52.2% 0.133 315.3)

  • #A54B1A

    #A54B1A

    oklch(52.1% 0.133 45.3)

  • #447A20

    #447A20

    oklch(52.3% 0.134 135.5)

  • #007494

    #007494

    oklch(52% 0.099 225.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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