#9E8CED

Closest named color: Perrywinkle (#8F8CE7). oklch(69.6% 0.14 290.8), rgb(158, 140, 237).

Aa

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

About this color

#9E8CED is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.140 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.024 away. Black text reads best on it, at 7.42:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.42:1
White text2.82:1

Values

HEX#9E8CED
RGBrgb(158, 140, 237)
HSLhsl(251, 73%, 74%)
OKLCHoklch(69.6% 0.14 290.8)

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 #9E8CED 2.82:1 Fails Lc -59.5 Large or bold text, headings
Black text on #9E8CED 7.42:1 AAA Lc 49.9 Large or bold text, headings
#9E8CED text on white 2.82:1 Fails Lc 54.2 Large or bold text, headings
#9E8CED text on black 7.42:1 AAA Lc -47.7 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

    #C0B7F5

    oklch(80.8% 0.087 291)

  5. Step 400

    400 (this color)

    #9E8CED

    oklch(69.6% 0.14 290.8)

  6. Step 500

    500

    #8C70EC

    oklch(63.1% 0.18 290.7)

  7. Step 600

    600

    #7855DA

    oklch(55.7% 0.194 290.9)

  8. Step 700

    700

    #6544BD

    oklch(49.1% 0.181 290.8)

  9. Step 800

    800

    #523999

    oklch(42.7% 0.15 290.7)

  10. Step 900

    900

    #43327A

    oklch(37.6% 0.118 290.5)

  11. Step 950

    950

    #271E47

    oklch(26.9% 0.074 290.7)

Export this scale for Tailwind in the Tailwind colors tool

#9E8CED 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)#6E9BF10.068
Deuteranopia (no green cones)#6F98EB0.066
Tritanopia (no blue cones)#8B9EB10.117
Achromatopsia (no color)#9A9A9A0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E8CED

    #9E8CED

    oklch(69.6% 0.14 290.8)

  • #A2A428

    #A2A428

    oklch(69.5% 0.139 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E8CED

    #9E8CED

    oklch(69.6% 0.14 290.8)

  • #6A9CF3

    #6A9CF3

    oklch(69.6% 0.139 260.9)

  • #C47ED2

    #C47ED2

    oklch(69.6% 0.141 320.8)

Open the analogous palette in the generator

Split complementary

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

  • #9E8CED

    #9E8CED

    oklch(69.6% 0.14 290.8)

  • #C99213

    #C99213

    oklch(69.5% 0.14 80.8)

  • #69B25D

    #69B25D

    oklch(69.5% 0.14 140.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E8CED

    #9E8CED

    oklch(69.6% 0.14 290.8)

  • #E18144

    #E18144

    oklch(69.7% 0.14 50.9)

  • #00B892

    #00B892

    oklch(69.7% 0.136 171)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E8CED

    #9E8CED

    oklch(69.6% 0.14 290.8)

  • #E77677

    #E77677

    oklch(69.6% 0.14 20.8)

  • #A2A428

    #A2A428

    oklch(69.5% 0.139 110.5)

  • #00B3BB

    #00B3BB

    oklch(69.7% 0.119 200.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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