#9D8CD2

Closest named color: Perrywinkle (#8F8CE7). oklch(68.2% 0.103 294.7), rgb(157, 140, 210).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.11:1
White text2.95:1

Values

HEX#9D8CD2
RGBrgb(157, 140, 210)
HSLhsl(255, 44%, 69%)
OKLCHoklch(68.2% 0.103 294.7)

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 #9D8CD2 2.95:1 Fails Lc -61.3 Content text, not long reading
Black text on #9D8CD2 7.11:1 AAA Lc 48.1 Large or bold text, headings
#9D8CD2 text on white 2.95:1 Fails Lc 56.0 Large or bold text, headings
#9D8CD2 text on black 7.11:1 AAA Lc -45.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EF

    oklch(88.5% 0.036 294.5)

  4. Step 300

    300

    #C3B9E7

    oklch(80.9% 0.065 294.9)

  5. Step 400

    400 (this color)

    #9D8CD2

    oklch(68.2% 0.103 294.7)

  6. Step 500

    500

    #8F78D0

    oklch(63.1% 0.131 294.4)

  7. Step 600

    600

    #7A5FBD

    oklch(55.6% 0.142 294.6)

  8. Step 700

    700

    #674EA3

    oklch(49.1% 0.132 294.6)

  9. Step 800

    800

    #544084

    oklch(42.7% 0.11 294.9)

  10. Step 900

    900

    #45376A

    oklch(37.7% 0.086 294.6)

  11. Step 950

    950

    #28213E

    oklch(27.1% 0.053 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#9D8CD2 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)#7A97D50.052
Deuteranopia (no green cones)#7C95D00.050
Tritanopia (no blue cones)#9298A50.086
Achromatopsia (no color)#9696960.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D8CD2

    #9D8CD2

    oklch(68.2% 0.103 294.7)

  • #97A052

    #97A052

    oklch(68.1% 0.103 114.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D8CD2

    #9D8CD2

    oklch(68.2% 0.103 294.7)

  • #7998D9

    #7998D9

    oklch(68.3% 0.103 264.3)

  • #B983BC

    #B983BC

    oklch(68.3% 0.102 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #9D8CD2

    #9D8CD2

    oklch(68.2% 0.103 294.7)

  • #B69448

    #B69448

    oklch(68.3% 0.103 85.3)

  • #70AA70

    #70AA70

    oklch(68.3% 0.104 144.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D8CD2

    #9D8CD2

    oklch(68.2% 0.103 294.7)

  • #CA8759

    #CA8759

    oklch(68.2% 0.103 54.6)

  • #46AE95

    #46AE95

    oklch(68.3% 0.103 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D8CD2

    #9D8CD2

    oklch(68.2% 0.103 294.7)

  • #D17F79

    #D17F79

    oklch(68.2% 0.103 24.6)

  • #97A052

    #97A052

    oklch(68.1% 0.103 114.6)

  • #34ABB7

    #34ABB7

    oklch(68.2% 0.103 204.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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