#864C9D

Closest named color: Light Eggplant (#894585). oklch(51.8% 0.137 315.6), rgb(134, 76, 157).

Aa

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

About this color

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

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

Values

HEX#864C9D
RGBrgb(134, 76, 157)
HSLhsl(283, 35%, 46%)
OKLCHoklch(51.8% 0.137 315.6)

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 #864C9D 5.94:1 AA Lc -84.6 Fine for body text
Black text on #864C9D 3.53:1 AA large text Lc 24.7 Dividers and decoration only
#864C9D text on white 5.94:1 AA Lc 79.4 Fine for body text
#864C9D text on black 3.53:1 AA large text Lc -22.4 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E3D2EA

    oklch(88.5% 0.037 316.2)

  4. Step 300

    300

    #D1B4DE

    oklch(80.8% 0.066 315.4)

  5. Step 400

    400

    #BA8CCE

    oklch(70.7% 0.106 315.3)

  6. Step 500

    500

    #A96EC1

    oklch(63.2% 0.136 315.6)

  7. Step 600

    600

    #9454AD

    oklch(55.6% 0.148 315.7)

  8. Step 700

    700 (this color)

    #864C9D

    oklch(51.8% 0.137 315.6)

  9. Step 800

    800

    #663878

    oklch(42.6% 0.113 315.7)

  10. Step 900

    900

    #533161

    oklch(37.6% 0.089 315.4)

  11. Step 950

    950

    #311D39

    oklch(27% 0.057 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#864C9D 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)#3B60A00.119
Deuteranopia (no green cones)#4C659B0.107
Tritanopia (no blue cones)#85586D0.090
Achromatopsia (no color)#6464640.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #864C9D

    #864C9D

    oklch(51.8% 0.137 315.6)

  • #41791C

    #41791C

    oklch(51.8% 0.137 135.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #864C9D

    #864C9D

    oklch(51.8% 0.137 315.6)

  • #6359B3

    #6359B3

    oklch(51.8% 0.138 285.6)

  • #9D4379

    #9D4379

    oklch(51.9% 0.136 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #864C9D

    #864C9D

    oklch(51.8% 0.137 315.6)

  • #726B00

    #726B00

    oklch(51.8% 0.11 105.1)

  • #007C59

    #007C59

    oklch(52% 0.109 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #864C9D

    #864C9D

    oklch(51.8% 0.137 315.6)

  • #8C5E00

    #8C5E00

    oklch(51.8% 0.109 75.7)

  • #007879

    #007879

    oklch(51.9% 0.088 195.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #864C9D

    #864C9D

    oklch(51.8% 0.137 315.6)

  • #A64913

    #A64913

    oklch(51.9% 0.137 45.5)

  • #41791C

    #41791C

    oklch(51.8% 0.137 135.8)

  • #007393

    #007393

    oklch(51.7% 0.099 225.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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