#8E6CFE

Closest named color: Medium Slate Blue (#7B68EE). oklch(63.8% 0.208 290), rgb(142, 108, 254).

Aa

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

About this color

#8E6CFE is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.208 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.039 away. Black text reads best on it, at 5.72:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.208)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.72:1
White text3.66:1

Values

HEX#8E6CFE
RGBrgb(142, 108, 254)
HSLhsl(254, 99%, 71%)
OKLCHoklch(63.8% 0.208 290)

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 #8E6CFE 3.66:1 AA large text Lc -69.4 Content text, not long reading
Black text on #8E6CFE 5.72:1 AA Lc 40.2 Non-text elements, placeholder text
#8E6CFE text on white 3.66:1 AA large text Lc 63.9 Content text, not long reading
#8E6CFE text on black 5.72:1 AA Lc -37.8 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D8D4FD

    oklch(88.6% 0.056 289.7)

  4. Step 300

    300

    #BFB6FE

    oklch(80.9% 0.101 289.7)

  5. Step 400

    400

    #A18CFE

    oklch(70.8% 0.163 290.1)

  6. Step 500

    500 (this color)

    #8E6CFE

    oklch(63.8% 0.208 290)

  7. Step 600

    600

    #784BEB

    oklch(55.6% 0.227 289.9)

  8. Step 700

    700

    #663ACC

    oklch(49.1% 0.21 290.2)

  9. Step 800

    800

    #5232A5

    oklch(42.7% 0.174 289.7)

  10. Step 900

    900

    #432E83

    oklch(37.7% 0.136 289.6)

  11. Step 950

    950

    #271C4D

    oklch(27% 0.087 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#8E6CFE 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)#0088FF0.126
Deuteranopia (no green cones)#0882FB0.124
Tritanopia (no blue cones)#6C8DAB0.170
Achromatopsia (no color)#8585850.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E6CFE

    #8E6CFE

    oklch(63.8% 0.208 290)

  • #919200

    #919200

    oklch(63.8% 0.14 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E6CFE

    #8E6CFE

    oklch(63.8% 0.208 290)

  • #3D86FF

    #3D86FF

    oklch(63.8% 0.194 260)

  • #C056D8

    #C056D8

    oklch(63.7% 0.208 319.8)

Open the analogous palette in the generator

Split complementary

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

  • #8E6CFE

    #8E6CFE

    oklch(63.8% 0.208 290)

  • #B58100

    #B58100

    oklch(63.8% 0.132 80.2)

  • #33A700

    #33A700

    oklch(63.8% 0.205 139.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E6CFE

    #8E6CFE

    oklch(63.8% 0.208 290)

  • #D96500

    #D96500

    oklch(63.7% 0.169 49.7)

  • #00A480

    #00A480

    oklch(63.9% 0.127 170)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E6CFE

    #8E6CFE

    oklch(63.8% 0.208 290)

  • #EF4354

    #EF4354

    oklch(63.8% 0.207 20.1)

  • #919200

    #919200

    oklch(63.8% 0.14 110.3)

  • #009FA5

    #009FA5

    oklch(63.8% 0.109 199.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8E6CFE.

Similar named colors

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

Use #8E6CFE 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.