#9796FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.9% 0.151 282.4), rgb(151, 150, 255).

Aa

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

About this color

#9796FF is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.151 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.015 away. Black text reads best on it, at 8.12:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.151)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.12:1
White text2.58:1

Values

HEX#9796FF
RGBrgb(151, 150, 255)
HSLhsl(241, 100%, 79%)
OKLCHoklch(71.9% 0.151 282.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 #9796FF 2.58:1 Fails Lc -55.5 Large or bold text, headings
Black text on #9796FF 8.12:1 AAA Lc 53.6 Large or bold text, headings
#9796FF text on white 2.58:1 Fails Lc 50.4 Large or bold text, headings
#9796FF text on black 8.12:1 AAA Lc -51.5 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FC

    oklch(93.6% 0.027 283.6)

  3. Step 200

    200

    #D3D6FC

    oklch(88.6% 0.052 281.7)

  4. Step 300

    300

    #B7B9FC

    oklch(80.8% 0.094 282.7)

  5. Step 400

    400 (this color)

    #9796FF

    oklch(71.9% 0.151 282.4)

  6. Step 500

    500

    #7C73F8

    oklch(63.1% 0.192 282.4)

  7. Step 600

    600

    #6757E7

    oklch(55.6% 0.209 282.2)

  8. Step 700

    700

    #5746C9

    oklch(49.2% 0.194 282.5)

  9. Step 800

    800

    #463AA2

    oklch(42.6% 0.161 282.3)

  10. Step 900

    900

    #3A3481

    oklch(37.7% 0.125 282.1)

  11. Step 950

    950

    #221F4B

    oklch(27% 0.079 282.8)

Export this scale for Tailwind in the Tailwind colors tool

#9796FF 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)#70A5FF0.057
Deuteranopia (no green cones)#6B9DFD0.055
Tritanopia (no blue cones)#78ABBE0.131
Achromatopsia (no color)#A1A1A10.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #9796FF

    #9796FF

    oklch(71.9% 0.151 282.4)

  • #B7A701

    #B7A701

    oklch(72% 0.151 102.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9796FF

    #9796FF

    oklch(71.9% 0.151 282.4)

  • #58A8FF

    #58A8FF

    oklch(72% 0.15 252.3)

  • #C486E7

    #C486E7

    oklch(71.8% 0.15 312.5)

Open the analogous palette in the generator

Split complementary

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

  • #9796FF

    #9796FF

    oklch(71.9% 0.151 282.4)

  • #DD9210

    #DD9210

    oklch(71.8% 0.151 72.1)

  • #7FB74D

    #7FB74D

    oklch(71.8% 0.15 132.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9796FF

    #9796FF

    oklch(71.9% 0.151 282.4)

  • #F18152

    #F18152

    oklch(72% 0.151 42.7)

  • #1FC187

    #1FC187

    oklch(72% 0.151 162.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9796FF

    #9796FF

    oklch(71.9% 0.151 282.4)

  • #F2788A

    #F2788A

    oklch(71.8% 0.15 12.4)

  • #B7A701

    #B7A701

    oklch(72% 0.151 102.6)

  • #00BCB8

    #00BCB8

    oklch(71.9% 0.123 192.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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