#866CED

Closest named color: Medium Slate Blue (#7B68EE). oklch(62% 0.187 289.1), rgb(134, 108, 237).

Aa

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

About this color

#866CED is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.187 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.021 away. Black text reads best on it, at 5.38:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.187)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.38:1
White text3.90:1

Values

HEX#866CED
RGBrgb(134, 108, 237)
HSLhsl(252, 78%, 68%)
OKLCHoklch(62% 0.187 289.1)

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 #866CED 3.90:1 AA large text Lc -71.7 Content text, not long reading
Black text on #866CED 5.38:1 AA Lc 37.9 Non-text elements, placeholder text
#866CED text on white 3.90:1 AA large text Lc 66.2 Content text, not long reading
#866CED text on black 5.38:1 AA Lc -35.5 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

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D7D4F9

    oklch(88.4% 0.051 289)

  4. Step 300

    300

    #BEB7F8

    oklch(80.8% 0.091 289.1)

  5. Step 400

    400

    #9F8FF5

    oklch(70.7% 0.146 289.3)

  6. Step 500

    500 (this color)

    #866CED

    oklch(62% 0.187 289.1)

  7. Step 600

    600

    #7553DF

    oklch(55.5% 0.203 289.3)

  8. Step 700

    700

    #6343C2

    oklch(49.2% 0.188 289.2)

  9. Step 800

    800

    #50389D

    oklch(42.7% 0.156 289)

  10. Step 900

    900

    #42327D

    oklch(37.8% 0.122 289)

  11. Step 950

    950

    #261E49

    oklch(27% 0.077 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#866CED 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)#2784F10.107
Deuteranopia (no green cones)#2A7EEA0.104
Tritanopia (no blue cones)#6788A20.155
Achromatopsia (no color)#8181810.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #866CED

    #866CED

    oklch(62% 0.187 289.1)

  • #8D8C00

    #8D8C00

    oklch(62% 0.135 109.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #866CED

    #866CED

    oklch(62% 0.187 289.1)

  • #3782F4

    #3782F4

    oklch(62% 0.187 258.9)

  • #B459CC

    #B459CC

    oklch(61.9% 0.187 318.8)

Open the analogous palette in the generator

Split complementary

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

  • #866CED

    #866CED

    oklch(62% 0.187 289.1)

  • #AF7B00

    #AF7B00

    oklch(61.9% 0.129 79)

  • #3E9F16

    #3E9F16

    oklch(62% 0.187 139.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #866CED

    #866CED

    oklch(62% 0.187 289.1)

  • #D26000

    #D26000

    oklch(62% 0.166 49)

  • #009D79

    #009D79

    oklch(61.9% 0.124 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #866CED

    #866CED

    oklch(62% 0.187 289.1)

  • #E04957

    #E04957

    oklch(62% 0.187 19.3)

  • #8D8C00

    #8D8C00

    oklch(62% 0.135 109.3)

  • #00999E

    #00999E

    oklch(62% 0.105 198.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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