#9D8CED

Closest named color: Perrywinkle (#8F8CE7). oklch(69.5% 0.14 290.3), rgb(157, 140, 237).

Aa

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

About this color

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

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

Values

HEX#9D8CED
RGBrgb(157, 140, 237)
HSLhsl(251, 73%, 74%)
OKLCHoklch(69.5% 0.14 290.3)

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 #9D8CED 2.83:1 Fails Lc -59.6 Large or bold text, headings
Black text on #9D8CED 7.40:1 AAA Lc 49.8 Large or bold text, headings
#9D8CED text on white 2.83:1 Fails Lc 54.3 Large or bold text, headings
#9D8CED 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

    #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

    #C0B7F6

    oklch(80.9% 0.088 290.8)

  5. Step 400

    400 (this color)

    #9D8CED

    oklch(69.5% 0.14 290.3)

  6. Step 500

    500

    #8B70EC

    oklch(63% 0.18 290.3)

  7. Step 600

    600

    #7755DA

    oklch(55.6% 0.194 290.4)

  8. Step 700

    700

    #6444BD

    oklch(49% 0.181 290.3)

  9. Step 800

    800

    #513999

    oklch(42.6% 0.15 290.1)

  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

#9D8CED 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)#6D9BF10.068
Deuteranopia (no green cones)#6E97EB0.065
Tritanopia (no blue cones)#899EB10.117
Achromatopsia (no color)#9999990.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D8CED

    #9D8CED

    oklch(69.5% 0.14 290.3)

  • #A2A426

    #A2A426

    oklch(69.5% 0.14 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D8CED

    #9D8CED

    oklch(69.5% 0.14 290.3)

  • #699CF3

    #699CF3

    oklch(69.5% 0.14 260.5)

  • #C37ED2

    #C37ED2

    oklch(69.5% 0.14 320.3)

Open the analogous palette in the generator

Split complementary

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

  • #9D8CED

    #9D8CED

    oklch(69.5% 0.14 290.3)

  • #CA9213

    #CA9213

    oklch(69.6% 0.14 80.3)

  • #6AB25C

    #6AB25C

    oklch(69.6% 0.14 140.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D8CED

    #9D8CED

    oklch(69.5% 0.14 290.3)

  • #E18045

    #E18045

    oklch(69.5% 0.141 50)

  • #00B890

    #00B890

    oklch(69.6% 0.138 170)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D8CED

    #9D8CED

    oklch(69.5% 0.14 290.3)

  • #E77678

    #E77678

    oklch(69.6% 0.14 20.3)

  • #A2A426

    #A2A426

    oklch(69.5% 0.14 110.5)

  • #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 #9D8CED, closest first.

Similar named colors

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

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