#9E8DEF

Closest named color: Perrywinkle (#8F8CE7). oklch(69.9% 0.141 290.2), rgb(158, 141, 239).

Aa

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

About this color

#9E8DEF is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.141 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.025 away. Black text reads best on it, at 7.51:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.141)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.51:1
White text2.79:1

Values

HEX#9E8DEF
RGBrgb(158, 141, 239)
HSLhsl(250, 75%, 75%)
OKLCHoklch(69.9% 0.141 290.2)

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 #9E8DEF 2.79:1 Fails Lc -59.0 Large or bold text, headings
Black text on #9E8DEF 7.51:1 AAA Lc 50.3 Large or bold text, headings
#9E8DEF text on white 2.79:1 Fails Lc 53.7 Large or bold text, headings
#9E8DEF text on black 7.51:1 AAA Lc -48.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D4F8

    oklch(88.4% 0.049 290.4)

  4. Step 300

    300

    #BFB7F6

    oklch(80.8% 0.088 290.1)

  5. Step 400

    400 (this color)

    #9E8DEF

    oklch(69.9% 0.141 290.2)

  6. Step 500

    500

    #8B70ED

    oklch(63.1% 0.181 290.2)

  7. Step 600

    600

    #7755DB

    oklch(55.7% 0.195 290.3)

  8. Step 700

    700

    #6444BE

    oklch(49.1% 0.182 290.1)

  9. Step 800

    800

    #51399A

    oklch(42.7% 0.151 289.9)

  10. Step 900

    900

    #43327A

    oklch(37.6% 0.118 290.5)

  11. Step 950

    950

    #271E48

    oklch(27% 0.075 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#9E8DEF 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)#6E9CF30.068
Deuteranopia (no green cones)#6F98ED0.065
Tritanopia (no blue cones)#8A9FB30.117
Achromatopsia (no color)#9B9B9B0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E8DEF

    #9E8DEF

    oklch(69.9% 0.141 290.2)

  • #A4A526

    #A4A526

    oklch(69.9% 0.141 110)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E8DEF

    #9E8DEF

    oklch(69.9% 0.141 290.2)

  • #699DF5

    #699DF5

    oklch(69.8% 0.141 260.4)

  • #C57FD4

    #C57FD4

    oklch(69.9% 0.142 320.4)

Open the analogous palette in the generator

Split complementary

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

  • #9E8DEF

    #9E8DEF

    oklch(69.9% 0.141 290.2)

  • #CB9312

    #CB9312

    oklch(69.9% 0.141 80.6)

  • #6BB35C

    #6BB35C

    oklch(69.9% 0.141 140.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E8DEF

    #9E8DEF

    oklch(69.9% 0.141 290.2)

  • #E28145

    #E28145

    oklch(69.8% 0.141 50.3)

  • #00B991

    #00B991

    oklch(69.9% 0.138 170.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E8DEF

    #9E8DEF

    oklch(69.9% 0.141 290.2)

  • #E97779

    #E97779

    oklch(70% 0.141 20.3)

  • #A4A526

    #A4A526

    oklch(69.9% 0.141 110)

  • #00B4BB

    #00B4BB

    oklch(70% 0.119 199.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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