#8A8EE4

Closest named color: Perrywinkle (#8F8CE7). oklch(67.9% 0.126 280.5), rgb(138, 142, 228).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.07:1
White text2.97:1

Values

HEX#8A8EE4
RGBrgb(138, 142, 228)
HSLhsl(237, 63%, 72%)
OKLCHoklch(67.9% 0.126 280.5)

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 #8A8EE4 2.97:1 Fails Lc -61.5 Content text, not long reading
Black text on #8A8EE4 7.07:1 AAA Lc 47.9 Large or bold text, headings
#8A8EE4 text on white 2.97:1 Fails Lc 56.2 Large or bold text, headings
#8A8EE4 text on black 7.07:1 AAA Lc -45.6 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D3D7F6

    oklch(88.6% 0.043 279.7)

  4. Step 300

    300

    #B6BBF3

    oklch(80.8% 0.079 280.5)

  5. Step 400

    400 (this color)

    #8A8EE4

    oklch(67.9% 0.126 280.5)

  6. Step 500

    500

    #797AE8

    oklch(63.1% 0.162 280.3)

  7. Step 600

    600

    #6460D6

    oklch(55.6% 0.176 280.5)

  8. Step 700

    700

    #534FB9

    oklch(49.1% 0.162 280.3)

  9. Step 800

    800

    #444196

    oklch(42.7% 0.135 280.6)

  10. Step 900

    900

    #393877

    oklch(37.7% 0.105 280.8)

  11. Step 950

    950

    #212146

    oklch(26.9% 0.067 280.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A8EE4 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)#7199E70.039
Deuteranopia (no green cones)#6C93E20.039
Tritanopia (no blue cones)#6F9FAE0.111
Achromatopsia (no color)#9696960.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8EE4

    #8A8EE4

    oklch(67.9% 0.126 280.5)

  • #AA992C

    #AA992C

    oklch(67.9% 0.126 100.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8EE4

    #8A8EE4

    oklch(67.9% 0.126 280.5)

  • #579DE3

    #579DE3

    oklch(68% 0.126 250.2)

  • #B081D2

    #B081D2

    oklch(68% 0.126 310)

Open the analogous palette in the generator

Split complementary

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

  • #8A8EE4

    #8A8EE4

    oklch(67.9% 0.126 280.5)

  • #C98933

    #C98933

    oklch(68% 0.126 70.2)

  • #7DA850

    #7DA850

    oklch(68% 0.127 130.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8EE4

    #8A8EE4

    oklch(67.9% 0.126 280.5)

  • #D97B59

    #D97B59

    oklch(67.9% 0.127 40.4)

  • #40B07E

    #40B07E

    oklch(68% 0.126 160.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8EE4

    #8A8EE4

    oklch(67.9% 0.126 280.5)

  • #D97586

    #D97586

    oklch(67.9% 0.125 10.2)

  • #AA992C

    #AA992C

    oklch(67.9% 0.126 100.1)

  • #00AFA9

    #00AFA9

    oklch(68.1% 0.117 190.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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