#9E8FFD

Closest named color: Periwinkle Blue (#8F99FB). oklch(71% 0.157 288), rgb(158, 143, 253).

Aa

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

About this color

#9E8FFD is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.157 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.031 away. Black text reads best on it, at 7.80:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.157)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.80:1
White text2.69:1

Values

HEX#9E8FFD
RGBrgb(158, 143, 253)
HSLhsl(248, 96%, 78%)
OKLCHoklch(71% 0.157 288)

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 #9E8FFD 2.69:1 Fails Lc -57.3 Large or bold text, headings
Black text on #9E8FFD 7.80:1 AAA Lc 51.9 Large or bold text, headings
#9E8FFD text on white 2.69:1 Fails Lc 52.1 Large or bold text, headings
#9E8FFD text on black 7.80:1 AAA Lc -49.8 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D7D4FC

    oklch(88.5% 0.055 288.7)

  4. Step 300

    300

    #BDB7FD

    oklch(80.9% 0.098 287.9)

  5. Step 400

    400 (this color)

    #9E8FFD

    oklch(71% 0.157 288)

  6. Step 500

    500

    #886DF9

    oklch(63.1% 0.2 288.1)

  7. Step 600

    600

    #7450E8

    oklch(55.7% 0.217 288.1)

  8. Step 700

    700

    #613FCA

    oklch(49.1% 0.203 287.7)

  9. Step 800

    800

    #4F35A3

    oklch(42.6% 0.168 288)

  10. Step 900

    900

    #413082

    oklch(37.7% 0.132 287.9)

  11. Step 950

    950

    #261D4C

    oklch(27% 0.083 288.3)

Export this scale for Tailwind in the Tailwind colors tool

#9E8FFD 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)#69A0FF0.073
Deuteranopia (no green cones)#689BFA0.071
Tritanopia (no blue cones)#84A5BA0.133
Achromatopsia (no color)#9E9E9E0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E8FFD

    #9E8FFD

    oklch(71% 0.157 288)

  • #ACA700

    #ACA700

    oklch(70.9% 0.153 107.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E8FFD

    #9E8FFD

    oklch(71% 0.157 288)

  • #62A2FF

    #62A2FF

    oklch(71.1% 0.152 257.7)

  • #CA7FE0

    #CA7FE0

    oklch(71% 0.157 318.3)

Open the analogous palette in the generator

Split complementary

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

  • #9E8FFD

    #9E8FFD

    oklch(71% 0.157 288)

  • #D39400

    #D39400

    oklch(71% 0.148 78.3)

  • #6DB851

    #6DB851

    oklch(71.1% 0.157 138)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E8FFD

    #9E8FFD

    oklch(71% 0.157 288)

  • #EE7F3F

    #EE7F3F

    oklch(71% 0.157 48.1)

  • #00BD90

    #00BD90

    oklch(70.9% 0.143 168.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E8FFD

    #9E8FFD

    oklch(71% 0.157 288)

  • #F3747C

    #F3747C

    oklch(71% 0.156 18)

  • #ACA700

    #ACA700

    oklch(70.9% 0.153 107.6)

  • #00B8BD

    #00B8BD

    oklch(71% 0.121 198.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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