#8A97EC

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.1% 0.125 276.1), rgb(138, 151, 236).

Aa

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

About this color

#8A97EC is a medium-light, moderately saturated blue. In OKLCH its lightness is 70%, its chroma 0.125 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.023 away. Black text reads best on it, at 7.71:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.71:1
White text2.72:1

Values

HEX#8A97EC
RGBrgb(138, 151, 236)
HSLhsl(232, 72%, 73%)
OKLCHoklch(70.1% 0.125 276.1)

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 #8A97EC 2.72:1 Fails Lc -57.8 Large or bold text, headings
Black text on #8A97EC 7.71:1 AAA Lc 51.4 Large or bold text, headings
#8A97EC text on white 2.72:1 Fails Lc 52.6 Large or bold text, headings
#8A97EC text on black 7.71:1 AAA Lc -49.3 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #D1D7F7

    oklch(88.5% 0.044 277.1)

  4. Step 300

    300

    #B2BDF4

    oklch(80.9% 0.079 275.7)

  5. Step 400

    400 (this color)

    #8A97EC

    oklch(70.1% 0.125 276.1)

  6. Step 500

    500

    #717DE8

    oklch(63.1% 0.16 276)

  7. Step 600

    600

    #5B63D6

    oklch(55.5% 0.174 276.2)

  8. Step 700

    700

    #4B52BA

    oklch(49.2% 0.161 275.8)

  9. Step 800

    800

    #3E4396

    oklch(42.6% 0.134 276.5)

  10. Step 900

    900

    #343A78

    oklch(37.8% 0.104 276)

  11. Step 950

    950

    #1E2246

    oklch(26.9% 0.066 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A97EC 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)#79A1EF0.031
Deuteranopia (no green cones)#7299EA0.030
Tritanopia (no blue cones)#6AA8B60.112
Achromatopsia (no color)#9D9D9D0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A97EC

    #8A97EC

    oklch(70.1% 0.125 276.1)

  • #B69E34

    #B69E34

    oklch(70.1% 0.125 96.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A97EC

    #8A97EC

    oklch(70.1% 0.125 276.1)

  • #56A5E8

    #56A5E8

    oklch(70% 0.126 246.5)

  • #B289DC

    #B289DC

    oklch(70% 0.125 306.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A97EC

    #8A97EC

    oklch(70.1% 0.125 276.1)

  • #D38E40

    #D38E40

    oklch(70.2% 0.125 66.3)

  • #8BAD51

    #8BAD51

    oklch(70.2% 0.126 126.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A97EC

    #8A97EC

    oklch(70.1% 0.125 276.1)

  • #E18167

    #E18167

    oklch(70.2% 0.125 36)

  • #53B67E

    #53B67E

    oklch(70.2% 0.125 156.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A97EC

    #8A97EC

    oklch(70.1% 0.125 276.1)

  • #DF7C93

    #DF7C93

    oklch(70.1% 0.124 5.9)

  • #B69E34

    #B69E34

    oklch(70.1% 0.125 96.1)

  • #00B7AA

    #00B7AA

    oklch(70.1% 0.123 185.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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