#8D98FB

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.3% 0.144 277.3), rgb(141, 152, 251).

Aa

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

About this color

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

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

Values

HEX#8D98FB
RGBrgb(141, 152, 251)
HSLhsl(234, 93%, 77%)
OKLCHoklch(71.3% 0.144 277.3)

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 #8D98FB 2.61:1 Fails Lc -56.1 Large or bold text, headings
Black text on #8D98FB 8.01:1 AAA Lc 53.0 Large or bold text, headings
#8D98FB text on white 2.61:1 Fails Lc 51.0 Large or bold text, headings
#8D98FB text on black 8.01:1 AAA Lc -50.9 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

    #D0D7FB

    oklch(88.5% 0.05 276.6)

  4. Step 300

    300

    #B2BCFB

    oklch(81% 0.09 277.2)

  5. Step 400

    400 (this color)

    #8D98FB

    oklch(71.3% 0.144 277.3)

  6. Step 500

    500

    #7178F6

    oklch(63% 0.185 277.3)

  7. Step 600

    600

    #5C5DE5

    oklch(55.6% 0.201 277.3)

  8. Step 700

    700

    #4C4CC7

    oklch(49.2% 0.186 277.1)

  9. Step 800

    800

    #3E3FA1

    oklch(42.7% 0.155 277.2)

  10. Step 900

    900

    #34377F

    oklch(37.7% 0.119 277.2)

  11. Step 950

    950

    #1E214B

    oklch(27.1% 0.077 276.9)

Export this scale for Tailwind in the Tailwind colors tool

#8D98FB 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)#74A4FF0.039
Deuteranopia (no green cones)#6B9CF90.041
Tritanopia (no blue cones)#68ACBD0.127
Achromatopsia (no color)#A0A0A00.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D98FB

    #8D98FB

    oklch(71.3% 0.144 277.3)

  • #BCA210

    #BCA210

    oklch(71.4% 0.144 97.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D98FB

    #8D98FB

    oklch(71.3% 0.144 277.3)

  • #4DA9F7

    #4DA9F7

    oklch(71.4% 0.144 247.2)

  • #BB88E8

    #BB88E8

    oklch(71.3% 0.145 307.6)

Open the analogous palette in the generator

Split complementary

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

  • #8D98FB

    #8D98FB

    oklch(71.3% 0.144 277.3)

  • #DD8E29

    #DD8E29

    oklch(71.2% 0.144 67)

  • #8AB347

    #8AB347

    oklch(71.4% 0.144 127.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D98FB

    #8D98FB

    oklch(71.3% 0.144 277.3)

  • #ED7F5E

    #ED7F5E

    oklch(71.3% 0.144 37.5)

  • #40BD7E

    #40BD7E

    oklch(71.4% 0.144 157.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D98FB

    #8D98FB

    oklch(71.3% 0.144 277.3)

  • #EC7992

    #EC7992

    oklch(71.3% 0.143 7.6)

  • #BCA210

    #BCA210

    oklch(71.4% 0.144 97.3)

  • #00BBB0

    #00BBB0

    oklch(71.3% 0.124 187.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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