#8F98EC

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.7% 0.123 278.1), rgb(143, 152, 236).

Aa

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

About this color

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

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

Values

HEX#8F98EC
RGBrgb(143, 152, 236)
HSLhsl(234, 71%, 74%)
OKLCHoklch(70.7% 0.123 278.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 #8F98EC 2.66:1 Fails Lc -57.0 Large or bold text, headings
Black text on #8F98EC 7.87:1 AAA Lc 52.2 Large or bold text, headings
#8F98EC text on white 2.66:1 Fails Lc 51.8 Large or bold text, headings
#8F98EC text on black 7.87:1 AAA Lc -50.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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D2D7F6

    oklch(88.5% 0.043 278.2)

  4. Step 300

    300

    #B5BCF2

    oklch(80.9% 0.077 278.8)

  5. Step 400

    400 (this color)

    #8F98EC

    oklch(70.7% 0.123 278.1)

  6. Step 500

    500

    #757CE6

    oklch(63.1% 0.157 278)

  7. Step 600

    600

    #6063D4

    oklch(55.7% 0.17 278.2)

  8. Step 700

    700

    #4F51B8

    oklch(49.1% 0.159 278)

  9. Step 800

    800

    #414395

    oklch(42.8% 0.132 278.2)

  10. Step 900

    900

    #363976

    oklch(37.6% 0.102 278.1)

  11. Step 950

    950

    #202245

    oklch(27% 0.064 278.7)

Export this scale for Tailwind in the Tailwind colors tool

#8F98EC 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)#7CA2EF0.032
Deuteranopia (no green cones)#769BEA0.032
Tritanopia (no blue cones)#73A9B70.109
Achromatopsia (no color)#9E9E9E0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F98EC

    #8F98EC

    oklch(70.7% 0.123 278.1)

  • #B5A13A

    #B5A13A

    oklch(70.7% 0.123 98.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F98EC

    #8F98EC

    oklch(70.7% 0.123 278.1)

  • #5DA6E9

    #5DA6E9

    oklch(70.6% 0.123 248.1)

  • #B68BDB

    #B68BDB

    oklch(70.7% 0.122 308.2)

Open the analogous palette in the generator

Split complementary

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

  • #8F98EC

    #8F98EC

    oklch(70.7% 0.123 278.1)

  • #D29142

    #D29142

    oklch(70.7% 0.123 68.6)

  • #8AAF58

    #8AAF58

    oklch(70.7% 0.123 128.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F98EC

    #8F98EC

    oklch(70.7% 0.123 278.1)

  • #E18467

    #E18467

    oklch(70.7% 0.122 38.1)

  • #53B783

    #53B783

    oklch(70.6% 0.122 158.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F98EC

    #8F98EC

    oklch(70.7% 0.123 278.1)

  • #E17E92

    #E17E92

    oklch(70.7% 0.124 7.8)

  • #B5A13A

    #B5A13A

    oklch(70.7% 0.123 98.1)

  • #00B9AF

    #00B9AF

    oklch(70.8% 0.123 188)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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