#8A8FE5

Closest named color: Perrywinkle (#8F8CE7). oklch(68.2% 0.126 280), rgb(138, 143, 229).

Aa

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

About this color

#8A8FE5 is a medium-light, moderately saturated blue. 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.011 away. Black text reads best on it, at 7.14:1.

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

Values

HEX#8A8FE5
RGBrgb(138, 143, 229)
HSLhsl(237, 64%, 72%)
OKLCHoklch(68.2% 0.126 280)

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 #8A8FE5 2.94:1 Fails Lc -61.1 Content text, not long reading
Black text on #8A8FE5 7.14:1 AAA Lc 48.3 Large or bold text, headings
#8A8FE5 text on white 2.94:1 Fails Lc 55.8 Large or bold text, headings
#8A8FE5 text on black 7.14:1 AAA Lc -46.0 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

    #B6BCF3

    oklch(81% 0.078 279.7)

  5. Step 400

    400 (this color)

    #8A8FE5

    oklch(68.2% 0.126 280)

  6. Step 500

    500

    #787AE8

    oklch(63% 0.162 279.9)

  7. Step 600

    600

    #6361D6

    oklch(55.7% 0.175 279.9)

  8. Step 700

    700

    #524FB9

    oklch(49% 0.162 279.8)

  9. Step 800

    800

    #434196

    oklch(42.6% 0.136 280)

  10. Step 900

    900

    #383877

    oklch(37.6% 0.105 280.1)

  11. Step 950

    950

    #212146

    oklch(26.9% 0.067 280.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A8FE5 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)#729AE80.038
Deuteranopia (no green cones)#6C93E30.038
Tritanopia (no blue cones)#6FA0AF0.111
Achromatopsia (no color)#9696960.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8FE5

    #8A8FE5

    oklch(68.2% 0.126 280)

  • #AB9A2D

    #AB9A2D

    oklch(68.2% 0.126 100.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8FE5

    #8A8FE5

    oklch(68.2% 0.126 280)

  • #579EE3

    #579EE3

    oklch(68.3% 0.125 249.5)

  • #B182D3

    #B182D3

    oklch(68.3% 0.126 310)

Open the analogous palette in the generator

Split complementary

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

  • #8A8FE5

    #8A8FE5

    oklch(68.2% 0.126 280)

  • #CA8934

    #CA8934

    oklch(68.1% 0.126 69.5)

  • #7FA850

    #7FA850

    oklch(68.2% 0.126 129.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8FE5

    #8A8FE5

    oklch(68.2% 0.126 280)

  • #DA7C5B

    #DA7C5B

    oklch(68.3% 0.126 39.9)

  • #43B07D

    #43B07D

    oklch(68.1% 0.126 159.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8FE5

    #8A8FE5

    oklch(68.2% 0.126 280)

  • #DA7687

    #DA7687

    oklch(68.2% 0.125 10.1)

  • #AB9A2D

    #AB9A2D

    oklch(68.2% 0.126 100.1)

  • #00B0A9

    #00B0A9

    oklch(68.3% 0.118 189.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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