#9B98DC

Closest named color: Perrywinkle (#8F8CE7). oklch(70.8% 0.098 285.6), rgb(155, 152, 220).

Aa

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

About this color

#9B98DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.098 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.044 away. Black text reads best on it, at 7.91:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.91:1
White text2.65:1

Values

HEX#9B98DC
RGBrgb(155, 152, 220)
HSLhsl(243, 49%, 73%)
OKLCHoklch(70.8% 0.098 285.6)

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 #9B98DC 2.65:1 Fails Lc -56.8 Large or bold text, headings
Black text on #9B98DC 7.91:1 AAA Lc 52.4 Large or bold text, headings
#9B98DC text on white 2.65:1 Fails Lc 51.6 Large or bold text, headings
#9B98DC text on black 7.91:1 AAA Lc -50.3 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D6D6EF

    oklch(88.4% 0.034 285.7)

  4. Step 300

    300

    #BCBCE7

    oklch(81% 0.06 285)

  5. Step 400

    400 (this color)

    #9B98DC

    oklch(70.8% 0.098 285.6)

  6. Step 500

    500

    #837DD2

    oklch(63.1% 0.126 285.4)

  7. Step 600

    600

    #6D64BF

    oklch(55.5% 0.138 285.5)

  8. Step 700

    700

    #5C53A5

    oklch(49.2% 0.127 285.7)

  9. Step 800

    800

    #4B4485

    oklch(42.6% 0.105 286)

  10. Step 900

    900

    #3E3A6B

    oklch(37.7% 0.082 285.5)

  11. Step 950

    950

    #24223F

    oklch(27% 0.053 285.4)

Export this scale for Tailwind in the Tailwind colors tool

#9B98DC 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)#85A1DF0.035
Deuteranopia (no green cones)#839DDA0.034
Tritanopia (no blue cones)#8BA4B00.085
Achromatopsia (no color)#9F9F9F0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B98DC

    #9B98DC

    oklch(70.8% 0.098 285.6)

  • #A9A559

    #A9A559

    oklch(70.9% 0.099 106)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B98DC

    #9B98DC

    oklch(70.8% 0.098 285.6)

  • #77A3DE

    #77A3DE

    oklch(70.7% 0.099 256)

  • #B98ECB

    #B98ECB

    oklch(70.9% 0.099 315.7)

Open the analogous palette in the generator

Split complementary

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

  • #9B98DC

    #9B98DC

    oklch(70.8% 0.098 285.6)

  • #C59857

    #C59857

    oklch(70.8% 0.099 75.2)

  • #85AF70

    #85AF70

    oklch(70.8% 0.099 135.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B98DC

    #9B98DC

    oklch(70.8% 0.098 285.6)

  • #D48D6C

    #D48D6C

    oklch(70.8% 0.098 45.6)

  • #5FB592

    #5FB592

    oklch(70.9% 0.099 165.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B98DC

    #9B98DC

    oklch(70.8% 0.098 285.6)

  • #D7878C

    #D7878C

    oklch(70.8% 0.098 15.8)

  • #A9A559

    #A9A559

    oklch(70.9% 0.099 106)

  • #46B4B5

    #46B4B5

    oklch(70.8% 0.099 196)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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