#9798AD

Closest named color: Cool Gray (#8D99AE). oklch(68.6% 0.031 283.4), rgb(151, 152, 173).

Aa

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

About this color

#9798AD is a medium-light, muted purple. In OKLCH its lightness is 69%, its chroma 0.031 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Gray (#8D99AE), ΔE 0.014 away. Black text reads best on it, at 7.41:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamuted (0.031)
Temperaturecool
Nearest nameCool Gray (#8D99AE)
Black text7.41:1
White text2.83:1

Values

HEX#9798AD
RGBrgb(151, 152, 173)
HSLhsl(237, 12%, 64%)
OKLCHoklch(68.6% 0.031 283.4)

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 #9798AD 2.83:1 Fails Lc -59.7 Large or bold text, headings
Black text on #9798AD 7.41:1 AAA Lc 49.6 Large or bold text, headings
#9798AD text on white 2.83:1 Fails Lc 54.4 Large or bold text, headings
#9798AD text on black 7.41:1 AAA Lc -47.4 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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9ED

    oklch(93.5% 0.005 286.3)

  3. Step 200

    200

    #D8D8E0

    oklch(88.5% 0.011 286.2)

  4. Step 300

    300

    #BEBFCD

    oklch(80.8% 0.02 282.7)

  5. Step 400

    400 (this color)

    #9798AD

    oklch(68.6% 0.031 283.4)

  6. Step 500

    500

    #8687A1

    oklch(63.2% 0.039 283.5)

  7. Step 600

    600

    #6F708C

    oklch(55.5% 0.043 283.3)

  8. Step 700

    700

    #5D5E77

    oklch(49.1% 0.04 283)

  9. Step 800

    800

    #4C4D61

    oklch(42.7% 0.033 282.7)

  10. Step 900

    900

    #3F404F

    oklch(37.7% 0.026 282.1)

  11. Step 950

    950

    #25262E

    oklch(27.1% 0.015 279.7)

Export this scale for Tailwind in the Tailwind colors tool

#9798AD 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)#939AAE0.007
Deuteranopia (no green cones)#9299AC0.008
Tritanopia (no blue cones)#939B9F0.026
Achromatopsia (no color)#9999990.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #9798AD

    #9798AD

    oklch(68.6% 0.031 283.4)

  • #9D9B86

    #9D9B86

    oklch(68.5% 0.03 102.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9798AD

    #9798AD

    oklch(68.6% 0.031 283.4)

  • #8D9CAD

    #8D9CAD

    oklch(68.7% 0.03 251.6)

  • #A195A8

    #A195A8

    oklch(68.6% 0.031 313.3)

Open the analogous palette in the generator

Split complementary

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

  • #9798AD

    #9798AD

    oklch(68.6% 0.031 283.4)

  • #A69886

    #A69886

    oklch(68.7% 0.031 74.2)

  • #939E8B

    #939E8B

    oklch(68.5% 0.03 131.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9798AD

    #9798AD

    oklch(68.6% 0.031 283.4)

  • #AB948B

    #AB948B

    oklch(68.5% 0.031 42.6)

  • #8AA095

    #8AA095

    oklch(68.5% 0.029 164)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9798AD

    #9798AD

    oklch(68.6% 0.031 283.4)

  • #AC9394

    #AC9394

    oklch(68.6% 0.03 15.2)

  • #9D9B86

    #9D9B86

    oklch(68.5% 0.03 102.7)

  • #85A09F

    #85A09F

    oklch(68.5% 0.03 193.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9798AD 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.