#9798BE

Closest named color: Cool Gray (#8D99AE). oklch(69.2% 0.056 283.7), rgb(151, 152, 190).

Aa

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

About this color

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

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

Values

HEX#9798BE
RGBrgb(151, 152, 190)
HSLhsl(238, 23%, 67%)
OKLCHoklch(69.2% 0.056 283.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 #9798BE 2.78:1 Fails Lc -58.9 Large or bold text, headings
Black text on #9798BE 7.55:1 AAA Lc 50.4 Large or bold text, headings
#9798BE text on white 2.78:1 Fails Lc 53.6 Large or bold text, headings
#9798BE text on black 7.55:1 AAA Lc -48.2 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200

    #D7D8E6

    oklch(88.6% 0.019 282.7)

  4. Step 300

    300

    #BDBED7

    oklch(80.9% 0.035 283.8)

  5. Step 400

    400 (this color)

    #9798BE

    oklch(69.2% 0.056 283.7)

  6. Step 500

    500

    #8484B3

    oklch(63.1% 0.07 284.2)

  7. Step 600

    600

    #6D6D9F

    oklch(55.5% 0.077 283.6)

  8. Step 700

    700

    #5B5B88

    oklch(49% 0.072 283.4)

  9. Step 800

    800

    #4B4B6F

    oklch(42.8% 0.059 283.6)

  10. Step 900

    900

    #3E3E5A

    oklch(37.6% 0.048 283.9)

  11. Step 950

    950

    #242534

    oklch(27% 0.028 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#9798BE 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)#8E9CC00.015
Deuteranopia (no green cones)#8D9ABD0.015
Tritanopia (no blue cones)#8E9EA50.048
Achromatopsia (no color)#9B9B9B0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #9798BE

    #9798BE

    oklch(69.2% 0.056 283.7)

  • #A29E76

    #A29E76

    oklch(69.2% 0.056 103)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9798BE

    #9798BE

    oklch(69.2% 0.056 283.7)

  • #849EBE

    #849EBE

    oklch(69.1% 0.056 253.8)

  • #A992B5

    #A992B5

    oklch(69.2% 0.057 314.1)

Open the analogous palette in the generator

Split complementary

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

  • #9798BE

    #9798BE

    oklch(69.2% 0.056 283.7)

  • #B19776

    #B19776

    oklch(69.1% 0.055 73.3)

  • #8EA481

    #8EA481

    oklch(69.2% 0.056 134)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9798BE

    #9798BE

    oklch(69.2% 0.056 283.7)

  • #BA9180

    #BA9180

    oklch(69.1% 0.056 43.6)

  • #7CA793

    #7CA793

    oklch(69.1% 0.055 164.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9798BE

    #9798BE

    oklch(69.2% 0.056 283.7)

  • #BC8E92

    #BC8E92

    oklch(69.2% 0.056 12.8)

  • #A29E76

    #A29E76

    oklch(69.2% 0.056 103)

  • #73A7A6

    #73A7A6

    oklch(69.2% 0.055 194.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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