#8A9FFE

Closest named color: Periwinkle Blue (#8F99FB). oklch(72.6% 0.14 273), rgb(138, 159, 254).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (73%)
Chromavivid (0.140)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.47:1
White text2.47:1

Values

HEX#8A9FFE
RGBrgb(138, 159, 254)
HSLhsl(229, 98%, 77%)
OKLCHoklch(72.6% 0.14 273)

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 #8A9FFE 2.47:1 Fails Lc -53.6 Large or bold text, headings
Black text on #8A9FFE 8.47:1 AAA Lc 55.4 Large or bold text, headings
#8A9FFE text on white 2.47:1 Fails Lc 48.6 Large or bold text, headings
#8A9FFE text on black 8.47:1 AAA Lc -53.4 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

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CED8FA

    oklch(88.5% 0.048 272.4)

  4. Step 300

    300

    #AEBDFA

    oklch(80.9% 0.088 273.6)

  5. Step 400

    400 (this color)

    #8A9FFE

    oklch(72.6% 0.14 273)

  6. Step 500

    500

    #687CF4

    oklch(63.1% 0.179 273.1)

  7. Step 600

    600

    #5262E3

    oklch(55.7% 0.195 273)

  8. Step 700

    700

    #4350C5

    oklch(49.1% 0.181 273)

  9. Step 800

    800

    #37429F

    oklch(42.7% 0.15 273.2)

  10. Step 900

    900

    #2F397E

    oklch(37.7% 0.116 273.3)

  11. Step 950

    950

    #1B224A

    oklch(27% 0.074 273)

Export this scale for Tailwind in the Tailwind colors tool

#8A9FFE 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)#7CAAFF0.031
Deuteranopia (no green cones)#71A0FC0.029
Tritanopia (no blue cones)#5FB3C20.126
Achromatopsia (no color)#A4A4A40.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9FFE

    #8A9FFE

    oklch(72.6% 0.14 273)

  • #C5A322

    #C5A322

    oklch(72.6% 0.14 92.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9FFE

    #8A9FFE

    oklch(72.6% 0.14 273)

  • #4AAFF7

    #4AAFF7

    oklch(72.6% 0.14 243.2)

  • #B88FEE

    #B88FEE

    oklch(72.5% 0.14 303)

Open the analogous palette in the generator

Split complementary

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

  • #8A9FFE

    #8A9FFE

    oklch(72.6% 0.14 273)

  • #E3913B

    #E3913B

    oklch(72.6% 0.14 63.2)

  • #96B448

    #96B448

    oklch(72.5% 0.139 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9FFE

    #8A9FFE

    oklch(72.6% 0.14 273)

  • #F1836C

    #F1836C

    oklch(72.7% 0.14 32.9)

  • #55C07B

    #55C07B

    oklch(72.7% 0.141 152.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9FFE

    #8A9FFE

    oklch(72.6% 0.14 273)

  • #EE7E9E

    #EE7E9E

    oklch(72.7% 0.141 3)

  • #C5A322

    #C5A322

    oklch(72.6% 0.14 92.7)

  • #00C0AE

    #00C0AE

    oklch(72.5% 0.129 183.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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