#866D9E

Closest named color: Dark Lavender (#856798). oklch(57.7% 0.079 307.4), rgb(134, 109, 158).

Aa

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

About this color

#866D9E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.079 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.017 away. Black text reads best on it, at 4.69:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.69:1
White text4.47:1

Values

HEX#866D9E
RGBrgb(134, 109, 158)
HSLhsl(271, 20%, 52%)
OKLCHoklch(57.7% 0.079 307.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 #866D9E 4.47:1 AA large text Lc -76.5 Fine for body text
Black text on #866D9E 4.69:1 AA Lc 33.1 Non-text elements, placeholder text
#866D9E text on white 4.47:1 AA large text Lc 71.0 Content text, not long reading
#866D9E text on black 4.69:1 AA Lc -30.7 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 600.

  1. Step 50

    50

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DCD6E4

    oklch(88.5% 0.02 305.2)

  4. Step 300

    300

    #C7BBD3

    oklch(80.9% 0.036 308)

  5. Step 400

    400

    #AA98BD

    oklch(70.8% 0.057 307)

  6. Step 500

    500

    #957EAC

    oklch(63.1% 0.072 307.2)

  7. Step 600

    600 (this color)

    #866D9E

    oklch(57.7% 0.079 307.4)

  8. Step 700

    700

    #6C5581

    oklch(49% 0.074 307.8)

  9. Step 800

    800

    #584669

    oklch(42.7% 0.061 307.5)

  10. Step 900

    900

    #483B55

    oklch(37.7% 0.046 307.1)

  11. Step 950

    950

    #2A2332

    oklch(27.1% 0.029 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#866D9E 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)#6476A00.053
Deuteranopia (no green cones)#69779D0.049
Tritanopia (no blue cones)#83747F0.058
Achromatopsia (no color)#7777770.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #866D9E

    #866D9E

    oklch(57.7% 0.079 307.4)

  • #6D824F

    #6D824F

    oklch(57.7% 0.077 126.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #866D9E

    #866D9E

    oklch(57.7% 0.079 307.4)

  • #6E75A8

    #6E75A8

    oklch(57.7% 0.079 277.6)

  • #98678A

    #98678A

    oklch(57.7% 0.079 337.6)

Open the analogous palette in the generator

Split complementary

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

  • #866D9E

    #866D9E

    oklch(57.7% 0.079 307.4)

  • #867A41

    #867A41

    oklch(57.7% 0.078 97.7)

  • #4F8867

    #4F8867

    oklch(57.8% 0.079 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #866D9E

    #866D9E

    oklch(57.7% 0.079 307.4)

  • #997045

    #997045

    oklch(57.7% 0.079 66.5)

  • #388982

    #388982

    oklch(57.8% 0.079 187.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #866D9E

    #866D9E

    oklch(57.7% 0.079 307.4)

  • #A26958

    #A26958

    oklch(57.8% 0.078 37.3)

  • #6D824F

    #6D824F

    oklch(57.7% 0.077 126.9)

  • #3A8598

    #3A8598

    oklch(57.7% 0.079 217.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #866D9E 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.