#9796D2

Closest named color: Perrywinkle (#8F8CE7). oklch(69.7% 0.087 284.7), rgb(151, 150, 210).

Aa

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

About this color

#9796D2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.087 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.048 away. Black text reads best on it, at 7.60:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.60:1
White text2.75:1

Values

HEX#9796D2
RGBrgb(151, 150, 210)
HSLhsl(241, 40%, 71%)
OKLCHoklch(69.7% 0.087 284.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 #9796D2 2.75:1 Fails Lc -58.5 Large or bold text, headings
Black text on #9796D2 7.60:1 AAA Lc 50.8 Large or bold text, headings
#9796D2 text on white 2.75:1 Fails Lc 53.3 Large or bold text, headings
#9796D2 text on black 7.60:1 AAA Lc -48.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D6D7ED

    oklch(88.5% 0.03 283.7)

  4. Step 300

    300

    #BCBCE3

    oklch(80.8% 0.055 285.1)

  5. Step 400

    400 (this color)

    #9796D2

    oklch(69.7% 0.087 284.7)

  6. Step 500

    500

    #827FCA

    oklch(63% 0.111 284.5)

  7. Step 600

    600

    #6C67B7

    oklch(55.5% 0.122 284.5)

  8. Step 700

    700

    #5B569E

    oklch(49.2% 0.113 284.6)

  9. Step 800

    800

    #4A4680

    oklch(42.6% 0.094 284.8)

  10. Step 900

    900

    #3E3B67

    oklch(37.7% 0.074 285.4)

  11. Step 950

    950

    #24233C

    oklch(27% 0.046 284.7)

Export this scale for Tailwind in the Tailwind colors tool

#9796D2 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)#859DD50.028
Deuteranopia (no green cones)#849AD00.027
Tritanopia (no blue cones)#89A1AB0.077
Achromatopsia (no color)#9C9C9C0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #9796D2

    #9796D2

    oklch(69.7% 0.087 284.7)

  • #A6A15F

    #A6A15F

    oklch(69.8% 0.087 104.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9796D2

    #9796D2

    oklch(69.7% 0.087 284.7)

  • #78A0D3

    #78A0D3

    oklch(69.6% 0.087 254.8)

  • #B28DC3

    #B28DC3

    oklch(69.7% 0.087 315)

Open the analogous palette in the generator

Split complementary

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

  • #9796D2

    #9796D2

    oklch(69.7% 0.087 284.7)

  • #BE965E

    #BE965E

    oklch(69.8% 0.088 74.8)

  • #86AA72

    #86AA72

    oklch(69.7% 0.088 134.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9796D2

    #9796D2

    oklch(69.7% 0.087 284.7)

  • #CB8C70

    #CB8C70

    oklch(69.6% 0.087 44.8)

  • #66AF8F

    #66AF8F

    oklch(69.7% 0.088 164.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9796D2

    #9796D2

    oklch(69.7% 0.087 284.7)

  • #CE878C

    #CE878C

    oklch(69.7% 0.088 15)

  • #A6A15F

    #A6A15F

    oklch(69.8% 0.087 104.7)

  • #52AEAE

    #52AEAE

    oklch(69.5% 0.087 195.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9796D2 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.