#8A8ECB

Closest named color: Perrywinkle (#8F8CE7). oklch(66.7% 0.09 280.8), rgb(138, 142, 203).

Aa

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

About this color

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

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

Values

HEX#8A8ECB
RGBrgb(138, 142, 203)
HSLhsl(236, 38%, 67%)
OKLCHoklch(66.7% 0.09 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 #8A8ECB 3.08:1 AA large text Lc -63.1 Content text, not long reading
Black text on #8A8ECB 6.81:1 AA Lc 46.3 Large or bold text, headings
#8A8ECB text on white 3.08:1 AA large text Lc 57.7 Large or bold text, headings
#8A8ECB text on black 6.81:1 AA Lc -44.0 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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D6D8EA

    oklch(88.6% 0.025 280.8)

  4. Step 300

    300

    #BBBEDD

    oklch(80.9% 0.044 281)

  5. Step 400

    400

    #989CCC

    oklch(70.7% 0.07 280.7)

  6. Step 500

    500 (this color)

    #8A8ECB

    oklch(66.7% 0.09 280.8)

  7. Step 600

    600

    #696CAC

    oklch(55.6% 0.099 280.6)

  8. Step 700

    700

    #585A93

    oklch(49.2% 0.091 281)

  9. Step 800

    800

    #484A77

    oklch(42.8% 0.074 280.8)

  10. Step 900

    900

    #3C3E60

    oklch(37.8% 0.058 280.7)

  11. Step 950

    950

    #232438

    oklch(26.9% 0.037 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A8ECB 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)#7C95CE0.024
Deuteranopia (no green cones)#7991C90.024
Tritanopia (no blue cones)#7999A40.079
Achromatopsia (no color)#9393930.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8ECB

    #8A8ECB

    oklch(66.7% 0.09 280.8)

  • #A09652

    #A09652

    oklch(66.7% 0.09 101)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8ECB

    #8A8ECB

    oklch(66.7% 0.09 280.8)

  • #6998CA

    #6998CA

    oklch(66.6% 0.091 250.8)

  • #A685BE

    #A685BE

    oklch(66.8% 0.09 310.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A8ECB

    #8A8ECB

    oklch(66.7% 0.09 280.8)

  • #B88B54

    #B88B54

    oklch(66.8% 0.091 70.8)

  • #81A064

    #81A064

    oklch(66.7% 0.091 130.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8ECB

    #8A8ECB

    oklch(66.7% 0.09 280.8)

  • #C48169

    #C48169

    oklch(66.6% 0.091 40.5)

  • #5FA682

    #5FA682

    oklch(66.8% 0.09 160.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8ECB

    #8A8ECB

    oklch(66.7% 0.09 280.8)

  • #C57D87

    #C57D87

    oklch(66.8% 0.09 10.8)

  • #A09652

    #A09652

    oklch(66.7% 0.09 101)

  • #46A6A1

    #46A6A1

    oklch(66.7% 0.09 190.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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