#8A98F9

Closest named color: Periwinkle Blue (#8F99FB). oklch(71% 0.142 275.9), rgb(138, 152, 249).

Aa

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

About this color

#8A98F9 is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.142 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.008 away. Black text reads best on it, at 7.93:1.

Hue familyBlues
Lightnessmedium-light (71%)
Chromavivid (0.142)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.93:1
White text2.64:1

Values

HEX#8A98F9
RGBrgb(138, 152, 249)
HSLhsl(232, 90%, 76%)
OKLCHoklch(71% 0.142 275.9)

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 #8A98F9 2.64:1 Fails Lc -56.6 Large or bold text, headings
Black text on #8A98F9 7.93:1 AAA Lc 52.6 Large or bold text, headings
#8A98F9 text on white 2.64:1 Fails Lc 51.4 Large or bold text, headings
#8A98F9 text on black 7.93:1 AAA Lc -50.5 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D0D7FA

    oklch(88.5% 0.049 276.4)

  4. Step 300

    300

    #B0BCFA

    oklch(80.8% 0.089 275.8)

  5. Step 400

    400 (this color)

    #8A98F9

    oklch(71% 0.142 275.9)

  6. Step 500

    500

    #6E7AF5

    oklch(63.2% 0.182 275.7)

  7. Step 600

    600

    #595FE3

    oklch(55.6% 0.197 276)

  8. Step 700

    700

    #4A4DC6

    oklch(49.1% 0.184 276.2)

  9. Step 800

    800

    #3C40A0

    oklch(42.7% 0.153 276)

  10. Step 900

    900

    #32387F

    oklch(37.7% 0.118 275.5)

  11. Step 950

    950

    #1D214A

    oklch(26.9% 0.075 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A98F9 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)#74A4FD0.037
Deuteranopia (no green cones)#6B9BF70.037
Tritanopia (no blue cones)#63ACBD0.125
Achromatopsia (no color)#9F9F9F0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A98F9

    #8A98F9

    oklch(71% 0.142 275.9)

  • #BCA014

    #BCA014

    oklch(71% 0.142 96)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A98F9

    #8A98F9

    oklch(71% 0.142 275.9)

  • #4AA9F4

    #4AA9F4

    oklch(71.1% 0.142 245.6)

  • #B788E7

    #B788E7

    oklch(70.9% 0.142 305.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A98F9

    #8A98F9

    oklch(71% 0.142 275.9)

  • #DC8D2D

    #DC8D2D

    oklch(70.9% 0.142 66.1)

  • #8CB145

    #8CB145

    oklch(71.1% 0.142 125.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A98F9

    #8A98F9

    oklch(71% 0.142 275.9)

  • #EC7E61

    #EC7E61

    oklch(71% 0.142 35.7)

  • #45BB7B

    #45BB7B

    oklch(70.9% 0.142 156)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A98F9

    #8A98F9

    oklch(71% 0.142 275.9)

  • #EA7894

    #EA7894

    oklch(71% 0.143 5.8)

  • #BCA014

    #BCA014

    oklch(71% 0.142 96)

  • #00BAAD

    #00BAAD

    oklch(71% 0.124 186)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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