#8A8FE4

Closest named color: Perrywinkle (#8F8CE7). oklch(68.1% 0.125 280), rgb(138, 143, 228).

Aa

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

About this color

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

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

Values

HEX#8A8FE4
RGBrgb(138, 143, 228)
HSLhsl(237, 63%, 72%)
OKLCHoklch(68.1% 0.125 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 #8A8FE4 2.94:1 Fails Lc -61.2 Content text, not long reading
Black text on #8A8FE4 7.12:1 AAA Lc 48.2 Large or bold text, headings
#8A8FE4 text on white 2.94:1 Fails Lc 55.9 Large or bold text, headings
#8A8FE4 text on black 7.12:1 AAA Lc -45.9 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)

    #8A8FE4

    oklch(68.1% 0.125 280)

  6. Step 500

    500

    #797BE7

    oklch(63.2% 0.159 280)

  7. Step 600

    600

    #6361D5

    oklch(55.6% 0.173 279.9)

  8. Step 700

    700

    #524FB8

    oklch(49% 0.161 279.9)

  9. Step 800

    800

    #434295

    oklch(42.7% 0.133 279.7)

  10. Step 900

    900

    #383977

    oklch(37.8% 0.103 279.5)

  11. Step 950

    950

    #212246

    oklch(27.2% 0.066 279.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A8FE4 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)#729AE70.038
Deuteranopia (no green cones)#6D93E20.037
Tritanopia (no blue cones)#6FA0AF0.109
Achromatopsia (no color)#9696960.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8FE4

    #8A8FE4

    oklch(68.1% 0.125 280)

  • #AB9A2F

    #AB9A2F

    oklch(68.2% 0.125 100)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8FE4

    #8A8FE4

    oklch(68.1% 0.125 280)

  • #589DE2

    #589DE2

    oklch(68% 0.124 250.1)

  • #B082D2

    #B082D2

    oklch(68.1% 0.124 309.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A8FE4

    #8A8FE4

    oklch(68.1% 0.125 280)

  • #C98A36

    #C98A36

    oklch(68.2% 0.124 70.3)

  • #7FA851

    #7FA851

    oklch(68.2% 0.125 130)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8FE4

    #8A8FE4

    oklch(68.1% 0.125 280)

  • #D97C5B

    #D97C5B

    oklch(68.1% 0.125 40.1)

  • #44B07E

    #44B07E

    oklch(68.2% 0.124 160.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8FE4

    #8A8FE4

    oklch(68.1% 0.125 280)

  • #D97687

    #D97687

    oklch(68.1% 0.124 10)

  • #AB9A2F

    #AB9A2F

    oklch(68.2% 0.125 100)

  • #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 #8A8FE4, closest first.

Similar named colors

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

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