#9796EF

Closest named color: Periwinkle Blue (#8F99FB). oklch(71% 0.129 283.1), rgb(151, 150, 239).

Aa

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

About this color

#9796EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.129 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.020 away. Black text reads best on it, at 7.92:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.92:1
White text2.64:1

Values

HEX#9796EF
RGBrgb(151, 150, 239)
HSLhsl(241, 74%, 76%)
OKLCHoklch(71% 0.129 283.1)

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 #9796EF 2.64:1 Fails Lc -56.7 Large or bold text, headings
Black text on #9796EF 7.92:1 AAA Lc 52.5 Large or bold text, headings
#9796EF text on white 2.64:1 Fails Lc 51.5 Large or bold text, headings
#9796EF text on black 7.92:1 AAA Lc -50.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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8F9

    oklch(93.5% 0.023 283.3)

  3. Step 200

    200

    #D4D6F7

    oklch(88.5% 0.045 282.7)

  4. Step 300

    300

    #B9BAF4

    oklch(80.8% 0.082 283.6)

  5. Step 400

    400 (this color)

    #9796EF

    oklch(71% 0.129 283.1)

  6. Step 500

    500

    #7E78E8

    oklch(63.1% 0.164 283.1)

  7. Step 600

    600

    #695ED6

    oklch(55.6% 0.178 283.1)

  8. Step 700

    700

    #584CBA

    oklch(49% 0.167 283.3)

  9. Step 800

    800

    #483F96

    oklch(42.6% 0.138 283.6)

  10. Step 900

    900

    #3B3778

    oklch(37.7% 0.107 282.7)

  11. Step 950

    950

    #232146

    oklch(27.1% 0.067 283.4)

Export this scale for Tailwind in the Tailwind colors tool

#9796EF 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)#79A2F30.045
Deuteranopia (no green cones)#759CED0.044
Tritanopia (no blue cones)#7FA7B70.111
Achromatopsia (no color)#9F9F9F0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #9796EF

    #9796EF

    oklch(71% 0.129 283.1)

  • #B0A537

    #B0A537

    oklch(71.1% 0.129 103.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9796EF

    #9796EF

    oklch(71% 0.129 283.1)

  • #64A5F0

    #64A5F0

    oklch(71% 0.129 253.1)

  • #BE89DA

    #BE89DA

    oklch(71.1% 0.128 313.4)

Open the analogous palette in the generator

Split complementary

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

  • #9796EF

    #9796EF

    oklch(71% 0.129 283.1)

  • #D29438

    #D29438

    oklch(71.1% 0.129 73.2)

  • #81B35C

    #81B35C

    oklch(71.1% 0.129 133.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9796EF

    #9796EF

    oklch(71% 0.129 283.1)

  • #E4855D

    #E4855D

    oklch(71.1% 0.129 43.2)

  • #42BA8A

    #42BA8A

    oklch(70.9% 0.129 163)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9796EF

    #9796EF

    oklch(71% 0.129 283.1)

  • #E67E8A

    #E67E8A

    oklch(71.1% 0.128 13.5)

  • #B0A537

    #B0A537

    oklch(71.1% 0.129 103.6)

  • #00B9B7

    #00B9B7

    oklch(71.1% 0.122 193.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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