#9D8EC2

Closest named color: Heather (#A484AC). oklch(67.9% 0.077 297.5), rgb(157, 142, 194).

Aa

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

About this color

#9D8EC2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.077 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.036 away. Black text reads best on it, at 7.08:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text7.08:1
White text2.96:1

Values

HEX#9D8EC2
RGBrgb(157, 142, 194)
HSLhsl(257, 30%, 66%)
OKLCHoklch(67.9% 0.077 297.5)

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 #9D8EC2 2.96:1 Fails Lc -61.5 Content text, not long reading
Black text on #9D8EC2 7.08:1 AAA Lc 47.9 Large or bold text, headings
#9D8EC2 text on white 2.96:1 Fails Lc 56.2 Large or bold text, headings
#9D8EC2 text on black 7.08:1 AAA Lc -45.6 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E9

    oklch(88.6% 0.026 297.9)

  4. Step 300

    300

    #C4BBDD

    oklch(81% 0.048 297.4)

  5. Step 400

    400 (this color)

    #9D8EC2

    oklch(67.9% 0.077 297.5)

  6. Step 500

    500

    #907CBE

    oklch(63% 0.099 297.4)

  7. Step 600

    600

    #7B65AA

    oklch(55.7% 0.107 297.5)

  8. Step 700

    700

    #675392

    oklch(49% 0.1 297.2)

  9. Step 800

    800

    #544476

    oklch(42.6% 0.083 297.5)

  10. Step 900

    900

    #453A5F

    oklch(37.7% 0.063 296.9)

  11. Step 950

    950

    #292238

    oklch(27% 0.041 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#9D8EC2 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)#8396C40.040
Deuteranopia (no green cones)#8595C10.037
Tritanopia (no blue cones)#9696A00.063
Achromatopsia (no color)#9696960.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D8EC2

    #9D8EC2

    oklch(67.9% 0.077 297.5)

  • #949F67

    #949F67

    oklch(68% 0.078 117.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D8EC2

    #9D8EC2

    oklch(67.9% 0.077 297.5)

  • #8397C8

    #8397C8

    oklch(67.9% 0.076 267.2)

  • #B287B1

    #B287B1

    oklch(67.8% 0.078 327.1)

Open the analogous palette in the generator

Split complementary

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

  • #9D8EC2

    #9D8EC2

    oklch(67.9% 0.077 297.5)

  • #AC955F

    #AC955F

    oklch(67.8% 0.077 87.3)

  • #78A57D

    #78A57D

    oklch(67.8% 0.076 147.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D8EC2

    #9D8EC2

    oklch(67.9% 0.077 297.5)

  • #BD8C68

    #BD8C68

    oklch(67.9% 0.078 57.3)

  • #60A897

    #60A897

    oklch(67.9% 0.077 176.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D8EC2

    #9D8EC2

    oklch(67.9% 0.077 297.5)

  • #C3867E

    #C3867E

    oklch(67.9% 0.077 27.5)

  • #949F67

    #949F67

    oklch(68% 0.078 117.6)

  • #59A6B0

    #59A6B0

    oklch(68% 0.077 206.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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