#8D98ED

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.6% 0.125 277.1), rgb(141, 152, 237).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (71%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.84:1
White text2.67:1

Values

HEX#8D98ED
RGBrgb(141, 152, 237)
HSLhsl(233, 73%, 74%)
OKLCHoklch(70.6% 0.125 277.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 #8D98ED 2.67:1 Fails Lc -57.1 Large or bold text, headings
Black text on #8D98ED 7.84:1 AAA Lc 52.1 Large or bold text, headings
#8D98ED text on white 2.67:1 Fails Lc 51.9 Large or bold text, headings
#8D98ED text on black 7.84:1 AAA Lc -50.0 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D1D7F6

    oklch(88.4% 0.043 276.8)

  4. Step 300

    300

    #B3BDF3

    oklch(80.9% 0.077 276.4)

  5. Step 400

    400 (this color)

    #8D98ED

    oklch(70.6% 0.125 277.1)

  6. Step 500

    500

    #737CE8

    oklch(63% 0.16 277.2)

  7. Step 600

    600

    #5D63D6

    oklch(55.6% 0.173 276.9)

  8. Step 700

    700

    #4D51B9

    oklch(49% 0.161 277)

  9. Step 800

    800

    #3F4396

    oklch(42.7% 0.134 277)

  10. Step 900

    900

    #353A77

    oklch(37.8% 0.103 276.8)

  11. Step 950

    950

    #1F2246

    oklch(27% 0.066 277.4)

Export this scale for Tailwind in the Tailwind colors tool

#8D98ED 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)#7BA2F00.031
Deuteranopia (no green cones)#749BEB0.031
Tritanopia (no blue cones)#6FA9B70.111
Achromatopsia (no color)#9E9E9E0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D98ED

    #8D98ED

    oklch(70.6% 0.125 277.1)

  • #B6A037

    #B6A037

    oklch(70.6% 0.124 97.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D98ED

    #8D98ED

    oklch(70.6% 0.125 277.1)

  • #5AA6E9

    #5AA6E9

    oklch(70.5% 0.124 247.2)

  • #B58ADD

    #B58ADD

    oklch(70.5% 0.126 307.2)

Open the analogous palette in the generator

Split complementary

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

  • #8D98ED

    #8D98ED

    oklch(70.6% 0.125 277.1)

  • #D49041

    #D49041

    oklch(70.7% 0.125 67.2)

  • #8BAE55

    #8BAE55

    oklch(70.5% 0.124 127.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D98ED

    #8D98ED

    oklch(70.6% 0.125 277.1)

  • #E28367

    #E28367

    oklch(70.6% 0.124 37.2)

  • #53B781

    #53B781

    oklch(70.5% 0.124 157.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D98ED

    #8D98ED

    oklch(70.6% 0.125 277.1)

  • #E17D93

    #E17D93

    oklch(70.5% 0.125 6.7)

  • #B6A037

    #B6A037

    oklch(70.6% 0.124 97.2)

  • #00B8AD

    #00B8AD

    oklch(70.5% 0.123 187.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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