#9D8EE2

Closest named color: Perrywinkle (#8F8CE7). oklch(69.3% 0.122 291.1), rgb(157, 142, 226).

Aa

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

About this color

#9D8EE2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.122 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.023 away. Black text reads best on it, at 7.40:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.40:1
White text2.83:1

Values

HEX#9D8EE2
RGBrgb(157, 142, 226)
HSLhsl(251, 59%, 72%)
OKLCHoklch(69.3% 0.122 291.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 #9D8EE2 2.83:1 Fails Lc -59.6 Large or bold text, headings
Black text on #9D8EE2 7.40:1 AAA Lc 49.7 Large or bold text, headings
#9D8EE2 text on white 2.83:1 Fails Lc 54.4 Large or bold text, headings
#9D8EE2 text on black 7.40:1 AAA Lc -47.5 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D9D5F4

    oklch(88.6% 0.042 291.4)

  4. Step 300

    300

    #C0B9EF

    oklch(81% 0.076 290.5)

  5. Step 400

    400 (this color)

    #9D8EE2

    oklch(69.3% 0.122 291.1)

  6. Step 500

    500

    #8C75DF

    oklch(63.2% 0.155 291.3)

  7. Step 600

    600

    #775BCD

    oklch(55.7% 0.169 291.2)

  8. Step 700

    700

    #644AB1

    oklch(49.1% 0.157 291.1)

  9. Step 800

    800

    #513D90

    oklch(42.6% 0.132 290.9)

  10. Step 900

    900

    #433573

    oklch(37.7% 0.103 291.1)

  11. Step 950

    950

    #272043

    oklch(27.1% 0.064 290.7)

Export this scale for Tailwind in the Tailwind colors tool

#9D8EE2 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)#769BE50.057
Deuteranopia (no green cones)#7798E00.055
Tritanopia (no blue cones)#8D9DAD0.102
Achromatopsia (no color)#9999990.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D8EE2

    #9D8EE2

    oklch(69.3% 0.122 291.1)

  • #A0A340

    #A0A340

    oklch(69.3% 0.122 110.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D8EE2

    #9D8EE2

    oklch(69.3% 0.122 291.1)

  • #719CE8

    #719CE8

    oklch(69.4% 0.122 261.2)

  • #BF82CA

    #BF82CA

    oklch(69.3% 0.122 321.3)

Open the analogous palette in the generator

Split complementary

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

  • #9D8EE2

    #9D8EE2

    oklch(69.3% 0.122 291.1)

  • #C39436

    #C39436

    oklch(69.5% 0.122 81.2)

  • #70AF66

    #70AF66

    oklch(69.3% 0.122 141.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D8EE2

    #9D8EE2

    oklch(69.3% 0.122 291.1)

  • #D88552

    #D88552

    oklch(69.4% 0.122 51.1)

  • #32B492

    #32B492

    oklch(69.2% 0.122 171.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D8EE2

    #9D8EE2

    oklch(69.3% 0.122 291.1)

  • #DE7C7B

    #DE7C7B

    oklch(69.4% 0.122 21.3)

  • #A0A340

    #A0A340

    oklch(69.3% 0.122 110.8)

  • #00B2BA

    #00B2BA

    oklch(69.4% 0.118 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 #9D8EE2, closest first.

Similar named colors

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

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