#8A8ECE

Closest named color: Perrywinkle (#8F8CE7). oklch(66.9% 0.095 280.8), rgb(138, 142, 206).

Aa

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

About this color

#8A8ECE is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.095 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.040 away. Black text reads best on it, at 6.84:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.84:1
White text3.06:1

Values

HEX#8A8ECE
RGBrgb(138, 142, 206)
HSLhsl(236, 41%, 67%)
OKLCHoklch(66.9% 0.095 280.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 #8A8ECE 3.06:1 AA large text Lc -62.9 Content text, not long reading
Black text on #8A8ECE 6.84:1 AA Lc 46.5 Large or bold text, headings
#8A8ECE text on white 3.06:1 AA large text Lc 57.5 Large or bold text, headings
#8A8ECE text on black 6.84:1 AA Lc -44.2 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D5D8EA

    oklch(88.5% 0.025 278.3)

  4. Step 300

    300

    #BABEDF

    oklch(80.9% 0.047 279.8)

  5. Step 400

    400

    #989CCE

    oklch(70.8% 0.073 280.8)

  6. Step 500

    500 (this color)

    #8A8ECE

    oklch(66.9% 0.095 280.8)

  7. Step 600

    600

    #696BAE

    oklch(55.5% 0.103 281.2)

  8. Step 700

    700

    #575996

    oklch(49% 0.097 280.8)

  9. Step 800

    800

    #474979

    oklch(42.6% 0.079 280.7)

  10. Step 900

    900

    #3C3D62

    oklch(37.6% 0.063 281.7)

  11. Step 950

    950

    #232439

    oklch(27% 0.039 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A8ECE 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)#7B96D10.027
Deuteranopia (no green cones)#7791CC0.026
Tritanopia (no blue cones)#789AA50.083
Achromatopsia (no color)#9393930.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8ECE

    #8A8ECE

    oklch(66.9% 0.095 280.8)

  • #A2964E

    #A2964E

    oklch(66.8% 0.094 100)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8ECE

    #8A8ECE

    oklch(66.9% 0.095 280.8)

  • #6799CD

    #6799CD

    oklch(66.9% 0.095 250.3)

  • #A784C0

    #A784C0

    oklch(66.8% 0.095 310.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A8ECE

    #8A8ECE

    oklch(66.9% 0.095 280.8)

  • #BA8B51

    #BA8B51

    oklch(67% 0.095 70.8)

  • #81A162

    #81A162

    oklch(66.9% 0.095 130.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8ECE

    #8A8ECE

    oklch(66.9% 0.095 280.8)

  • #C78167

    #C78167

    oklch(67% 0.095 41.1)

  • #5BA782

    #5BA782

    oklch(66.9% 0.095 161.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8ECE

    #8A8ECE

    oklch(66.9% 0.095 280.8)

  • #C77C87

    #C77C87

    oklch(66.8% 0.094 10.4)

  • #A2964E

    #A2964E

    oklch(66.8% 0.094 100)

  • #40A7A2

    #40A7A2

    oklch(66.8% 0.094 190.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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