#9FA2EC

Closest named color: Periwinkle Blue (#8F99FB). oklch(73.8% 0.107 281.7), rgb(159, 162, 236).

Aa

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

About this color

#9FA2EC is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.107 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.043 away. Black text reads best on it, at 8.85:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.107)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.85:1
White text2.37:1

Values

HEX#9FA2EC
RGBrgb(159, 162, 236)
HSLhsl(238, 67%, 77%)
OKLCHoklch(73.8% 0.107 281.7)

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 #9FA2EC 2.37:1 Fails Lc -51.7 Large or bold text, headings
Black text on #9FA2EC 8.85:1 AAA Lc 57.3 Large or bold text, headings
#9FA2EC text on white 2.37:1 Fails Lc 46.7 Large or bold text, headings
#9FA2EC text on black 8.85:1 AAA Lc -55.3 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D4D7F2

    oklch(88.5% 0.037 280.6)

  4. Step 300

    300

    #B9BCEB

    oklch(80.9% 0.066 281.9)

  5. Step 400

    400 (this color)

    #9FA2EC

    oklch(73.8% 0.107 281.7)

  6. Step 500

    500

    #7D7DD9

    oklch(63.1% 0.136 281.8)

  7. Step 600

    600

    #6765C6

    oklch(55.6% 0.147 281.4)

  8. Step 700

    700

    #5653AC

    oklch(49.1% 0.138 281.6)

  9. Step 800

    800

    #46448B

    oklch(42.6% 0.115 281.6)

  10. Step 900

    900

    #3B3A6F

    oklch(37.7% 0.089 282.1)

  11. Step 950

    950

    #222241

    oklch(26.9% 0.057 281.9)

Export this scale for Tailwind in the Tailwind colors tool

#9FA2EC 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)#8CABEF0.031
Deuteranopia (no green cones)#88A6EA0.031
Tritanopia (no blue cones)#8BB0BD0.093
Achromatopsia (no color)#A8A8A80.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #9FA2EC

    #9FA2EC

    oklch(73.8% 0.107 281.7)

  • #B8AD59

    #B8AD59

    oklch(73.9% 0.107 101.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FA2EC

    #9FA2EC

    oklch(73.8% 0.107 281.7)

  • #77AFEC

    #77AFEC

    oklch(73.9% 0.107 251.4)

  • #C197DB

    #C197DB

    oklch(73.9% 0.106 312)

Open the analogous palette in the generator

Split complementary

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

  • #9FA2EC

    #9FA2EC

    oklch(73.8% 0.107 281.7)

  • #D49F5B

    #D49F5B

    oklch(73.9% 0.106 71.8)

  • #92B871

    #92B871

    oklch(73.7% 0.105 131.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FA2EC

    #9FA2EC

    oklch(73.8% 0.107 281.7)

  • #E39375

    #E39375

    oklch(73.8% 0.106 41.3)

  • #66BF95

    #66BF95

    oklch(73.7% 0.107 161.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FA2EC

    #9FA2EC

    oklch(73.8% 0.107 281.7)

  • #E58E99

    #E58E99

    oklch(73.9% 0.106 11.8)

  • #B8AD59

    #B8AD59

    oklch(73.9% 0.107 101.9)

  • #46BFBB

    #46BFBB

    oklch(73.7% 0.106 192)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9FA2EC 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.