#8F98FA

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.4% 0.142 278.2), rgb(143, 152, 250).

Aa

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

About this color

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

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

Values

HEX#8F98FA
RGBrgb(143, 152, 250)
HSLhsl(235, 91%, 77%)
OKLCHoklch(71.4% 0.142 278.2)

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 #8F98FA 2.61:1 Fails Lc -56.0 Large or bold text, headings
Black text on #8F98FA 8.03:1 AAA Lc 53.2 Large or bold text, headings
#8F98FA text on white 2.61:1 Fails Lc 50.9 Large or bold text, headings
#8F98FA text on black 8.03:1 AAA Lc -51.1 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

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D1D7FA

    oklch(88.6% 0.049 277.7)

  4. Step 300

    300

    #B3BBFA

    oklch(80.8% 0.089 278.6)

  5. Step 400

    400 (this color)

    #8F98FA

    oklch(71.4% 0.142 278.2)

  6. Step 500

    500

    #7378F4

    oklch(63.1% 0.182 278.1)

  7. Step 600

    600

    #5E5DE3

    oklch(55.6% 0.198 278.1)

  8. Step 700

    700

    #4E4CC5

    oklch(49.2% 0.183 278)

  9. Step 800

    800

    #403F9F

    oklch(42.7% 0.152 278.3)

  10. Step 900

    900

    #35377F

    oklch(37.8% 0.119 277.8)

  11. Step 950

    950

    #1F214A

    oklch(27.1% 0.075 278.1)

Export this scale for Tailwind in the Tailwind colors tool

#8F98FA 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)#75A4FE0.040
Deuteranopia (no green cones)#6D9CF80.041
Tritanopia (no blue cones)#6CACBD0.125
Achromatopsia (no color)#A0A0A00.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F98FA

    #8F98FA

    oklch(71.4% 0.142 278.2)

  • #BAA318

    #BAA318

    oklch(71.4% 0.143 98.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F98FA

    #8F98FA

    oklch(71.4% 0.142 278.2)

  • #51A9F7

    #51A9F7

    oklch(71.5% 0.142 248)

  • #BC89E7

    #BC89E7

    oklch(71.5% 0.142 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #8F98FA

    #8F98FA

    oklch(71.4% 0.142 278.2)

  • #DC902B

    #DC902B

    oklch(71.5% 0.142 68.4)

  • #88B34A

    #88B34A

    oklch(71.3% 0.142 128.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F98FA

    #8F98FA

    oklch(71.4% 0.142 278.2)

  • #ED805E

    #ED805E

    oklch(71.4% 0.143 38.1)

  • #3FBD80

    #3FBD80

    oklch(71.4% 0.143 158.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F98FA

    #8F98FA

    oklch(71.4% 0.142 278.2)

  • #EC7A91

    #EC7A91

    oklch(71.5% 0.142 8.5)

  • #BAA318

    #BAA318

    oklch(71.4% 0.143 98.6)

  • #00BBB1

    #00BBB1

    oklch(71.4% 0.124 188)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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