#866FD7

Closest named color: Medium Purple (#9370DB). oklch(61.1% 0.153 291.4), rgb(134, 111, 215).

Aa

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

About this color

#866FD7 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.153 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.022 away. Black text reads best on it, at 5.26:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.153)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.26:1
White text3.98:1

Values

HEX#866FD7
RGBrgb(134, 111, 215)
HSLhsl(253, 57%, 64%)
OKLCHoklch(61.1% 0.153 291.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 #866FD7 3.98:1 AA large text Lc -72.5 Content text, not long reading
Black text on #866FD7 5.26:1 AA Lc 37.1 Non-text elements, placeholder text
#866FD7 text on white 3.98:1 AA large text Lc 67.0 Content text, not long reading
#866FD7 text on black 5.26:1 AA Lc -34.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 500.

  1. Step 50

    50

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D9D5F3

    oklch(88.5% 0.041 291.7)

  4. Step 300

    300

    #C0B9EE

    oklch(81% 0.074 290.7)

  5. Step 400

    400

    #A192E5

    oklch(70.6% 0.12 291.3)

  6. Step 500

    500 (this color)

    #866FD7

    oklch(61.1% 0.153 291.4)

  7. Step 600

    600

    #775BCB

    oklch(55.5% 0.167 291.5)

  8. Step 700

    700

    #644AB0

    oklch(49% 0.156 291.3)

  9. Step 800

    800

    #523E8E

    oklch(42.8% 0.127 291.6)

  10. Step 900

    900

    #433572

    oklch(37.6% 0.101 291.3)

  11. Step 950

    950

    #272043

    oklch(27.1% 0.064 290.7)

Export this scale for Tailwind in the Tailwind colors tool

#866FD7 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)#4881DB0.084
Deuteranopia (no green cones)#4B7DD50.080
Tritanopia (no blue cones)#7184990.126
Achromatopsia (no color)#7F7F7F0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #866FD7

    #866FD7

    oklch(61.1% 0.153 291.4)

  • #878A00

    #878A00

    oklch(61% 0.134 111.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #866FD7

    #866FD7

    oklch(61.1% 0.153 291.4)

  • #4D80DE

    #4D80DE

    oklch(61% 0.153 261.5)

  • #AC60BA

    #AC60BA

    oklch(61% 0.154 321.2)

Open the analogous palette in the generator

Split complementary

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

  • #866FD7

    #866FD7

    oklch(61.1% 0.153 291.4)

  • #A97A00

    #A97A00

    oklch(61% 0.126 81.5)

  • #47993B

    #47993B

    oklch(61.1% 0.153 141.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #866FD7

    #866FD7

    oklch(61.1% 0.153 291.4)

  • #C96310

    #C96310

    oklch(61.1% 0.153 51.3)

  • #009A7A

    #009A7A

    oklch(61.1% 0.119 171.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #866FD7

    #866FD7

    oklch(61.1% 0.153 291.4)

  • #CF5759

    #CF5759

    oklch(61.1% 0.153 21.7)

  • #878A00

    #878A00

    oklch(61% 0.134 111.3)

  • #00969D

    #00969D

    oklch(61.2% 0.104 200.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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