#8366E1

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.9% 0.18 290.8), rgb(131, 102, 225).

Aa

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

About this color

#8366E1 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.180 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.023 away. Black text reads best on it, at 4.95:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.180)
Temperaturein between
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.95:1
White text4.23:1

Values

HEX#8366E1
RGBrgb(131, 102, 225)
HSLhsl(254, 67%, 64%)
OKLCHoklch(59.9% 0.18 290.8)

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 #8366E1 4.23:1 AA large text Lc -74.5 Content text, not long reading
Black text on #8366E1 4.95:1 AA Lc 35.1 Non-text elements, placeholder text
#8366E1 text on white 4.23:1 AA large text Lc 69.0 Content text, not long reading
#8366E1 text on black 4.95:1 AA Lc -32.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D4F8

    oklch(88.4% 0.049 290.4)

  4. Step 300

    300

    #C0B7F6

    oklch(80.9% 0.088 290.8)

  5. Step 400

    400

    #A18FF1

    oklch(70.6% 0.141 290.8)

  6. Step 500

    500 (this color)

    #8366E1

    oklch(59.9% 0.18 290.8)

  7. Step 600

    600

    #7854DA

    oklch(55.6% 0.195 291.1)

  8. Step 700

    700

    #6544BD

    oklch(49.1% 0.181 290.8)

  9. Step 800

    800

    #523999

    oklch(42.7% 0.15 290.7)

  10. Step 900

    900

    #43327A

    oklch(37.6% 0.118 290.5)

  11. Step 950

    950

    #271E47

    oklch(26.9% 0.074 290.7)

Export this scale for Tailwind in the Tailwind colors tool

#8366E1 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)#277DE50.107
Deuteranopia (no green cones)#2D78DE0.103
Tritanopia (no blue cones)#69809A0.146
Achromatopsia (no color)#7B7B7B0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #8366E1

    #8366E1

    oklch(59.9% 0.18 290.8)

  • #848600

    #848600

    oklch(59.8% 0.131 110.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8366E1

    #8366E1

    oklch(59.9% 0.18 290.8)

  • #3C7BE9

    #3C7BE9

    oklch(60% 0.179 260.7)

  • #AE54C0

    #AE54C0

    oklch(59.9% 0.18 320.7)

Open the analogous palette in the generator

Split complementary

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

  • #8366E1

    #8366E1

    oklch(59.9% 0.18 290.8)

  • #A57600

    #A57600

    oklch(59.8% 0.124 80.7)

  • #34981F

    #34981F

    oklch(59.9% 0.179 140.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8366E1

    #8366E1

    oklch(59.9% 0.18 290.8)

  • #C65E00

    #C65E00

    oklch(59.9% 0.156 51)

  • #009676

    #009676

    oklch(59.9% 0.118 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8366E1

    #8366E1

    oklch(59.9% 0.18 290.8)

  • #D6464F

    #D6464F

    oklch(59.9% 0.18 21)

  • #848600

    #848600

    oklch(59.8% 0.131 110.8)

  • #009299

    #009299

    oklch(60% 0.102 200.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8366E1.

Similar named colors

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

Use #8366E1 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.