#8A9FFF

Closest named color: Periwinkle Blue (#8F99FB). oklch(72.7% 0.141 273.1), rgb(138, 159, 255).

Aa

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

About this color

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

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

Values

HEX#8A9FFF
RGBrgb(138, 159, 255)
HSLhsl(229, 100%, 77%)
OKLCHoklch(72.7% 0.141 273.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 #8A9FFF 2.47:1 Fails Lc -53.6 Large or bold text, headings
Black text on #8A9FFF 8.48:1 AAA Lc 55.5 Large or bold text, headings
#8A9FFF text on white 2.47:1 Fails Lc 48.5 Large or bold text, headings
#8A9FFF text on black 8.48:1 AAA Lc -53.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

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CED8FA

    oklch(88.5% 0.048 272.4)

  4. Step 300

    300

    #ADBDFA

    oklch(80.8% 0.088 272.9)

  5. Step 400

    400 (this color)

    #8A9FFF

    oklch(72.7% 0.141 273.1)

  6. Step 500

    500

    #687CF5

    oklch(63.1% 0.181 273.1)

  7. Step 600

    600

    #5261E4

    oklch(55.6% 0.197 273.2)

  8. Step 700

    700

    #434FC6

    oklch(49% 0.183 273.2)

  9. Step 800

    800

    #3742A0

    oklch(42.7% 0.151 273.1)

  10. Step 900

    900

    #2F397F

    oklch(37.7% 0.118 273.3)

  11. Step 950

    950

    #1B224A

    oklch(27% 0.074 273)

Export this scale for Tailwind in the Tailwind colors tool

#8A9FFF 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)#7BAAFF0.031
Deuteranopia (no green cones)#71A0FD0.029
Tritanopia (no blue cones)#5FB3C30.126
Achromatopsia (no color)#A5A5A50.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9FFF

    #8A9FFF

    oklch(72.7% 0.141 273.1)

  • #C5A41F

    #C5A41F

    oklch(72.8% 0.142 93.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9FFF

    #8A9FFF

    oklch(72.7% 0.141 273.1)

  • #49AFF8

    #49AFF8

    oklch(72.6% 0.142 243.4)

  • #B98FEF

    #B98FEF

    oklch(72.7% 0.141 303.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A9FFF

    #8A9FFF

    oklch(72.7% 0.141 273.1)

  • #E49139

    #E49139

    oklch(72.7% 0.141 63.3)

  • #96B546

    #96B546

    oklch(72.7% 0.142 123.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9FFF

    #8A9FFF

    oklch(72.7% 0.141 273.1)

  • #F2836B

    #F2836B

    oklch(72.8% 0.141 33.3)

  • #54C07B

    #54C07B

    oklch(72.7% 0.142 153)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9FFF

    #8A9FFF

    oklch(72.7% 0.141 273.1)

  • #EE7E9E

    #EE7E9E

    oklch(72.7% 0.141 3)

  • #C5A41F

    #C5A41F

    oklch(72.8% 0.142 93.5)

  • #00C1AE

    #00C1AE

    oklch(72.8% 0.13 182.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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