#866EE3

Closest named color: Medium Purple (#9370DB). oklch(61.7% 0.171 289.9), rgb(134, 110, 227).

Aa

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

About this color

#866EE3 is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.171 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.025 away. Black text reads best on it, at 5.35:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.171)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.35:1
White text3.92:1

Values

HEX#866EE3
RGBrgb(134, 110, 227)
HSLhsl(252, 68%, 66%)
OKLCHoklch(61.7% 0.171 289.9)

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 #866EE3 3.92:1 AA large text Lc -71.9 Content text, not long reading
Black text on #866EE3 5.35:1 AA Lc 37.7 Non-text elements, placeholder text
#866EE3 text on white 3.92:1 AA large text Lc 66.4 Content text, not long reading
#866EE3 text on black 5.35:1 AA Lc -35.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D8D5F6

    oklch(88.6% 0.045 289.6)

  4. Step 300

    300

    #BFB8F4

    oklch(80.9% 0.084 289.7)

  5. Step 400

    400

    #A091EE

    oklch(70.8% 0.134 289.9)

  6. Step 500

    500 (this color)

    #866EE3

    oklch(61.7% 0.171 289.9)

  7. Step 600

    600

    #7558D6

    oklch(55.6% 0.185 289.6)

  8. Step 700

    700

    #6347BA

    oklch(49.2% 0.173 289.7)

  9. Step 800

    800

    #513B96

    oklch(42.7% 0.143 290.2)

  10. Step 900

    900

    #423478

    oklch(37.8% 0.112 289.4)

  11. Step 950

    950

    #271F46

    oklch(27.1% 0.07 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#866EE3 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)#3B83E70.095
Deuteranopia (no green cones)#3D7EE00.092
Tritanopia (no blue cones)#6C869E0.140
Achromatopsia (no color)#8080800.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #866EE3

    #866EE3

    oklch(61.7% 0.171 289.9)

  • #8B8B00

    #8B8B00

    oklch(61.6% 0.134 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #866EE3

    #866EE3

    oklch(61.7% 0.171 289.9)

  • #4282EA

    #4282EA

    oklch(61.8% 0.17 259.7)

  • #B15DC4

    #B15DC4

    oklch(61.7% 0.171 320)

Open the analogous palette in the generator

Split complementary

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

  • #866EE3

    #866EE3

    oklch(61.7% 0.171 289.9)

  • #AD7B00

    #AD7B00

    oklch(61.7% 0.128 80.1)

  • #439C2C

    #439C2C

    oklch(61.5% 0.17 139.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #866EE3

    #866EE3

    oklch(61.7% 0.171 289.9)

  • #CF6100

    #CF6100

    oklch(61.7% 0.163 50.2)

  • #009C7A

    #009C7A

    oklch(61.6% 0.122 170.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #866EE3

    #866EE3

    oklch(61.7% 0.171 289.9)

  • #D85059

    #D85059

    oklch(61.6% 0.171 19.8)

  • #8B8B00

    #8B8B00

    oklch(61.6% 0.134 109.8)

  • #00989E

    #00989E

    oklch(61.8% 0.105 199.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #866EE3.

Similar named colors

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

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