#9797E2

Closest named color: Perrywinkle (#8F8CE7). oklch(70.6% 0.109 283.3), rgb(151, 151, 226).

Aa

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

About this color

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

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

Values

HEX#9797E2
RGBrgb(151, 151, 226)
HSLhsl(240, 56%, 74%)
OKLCHoklch(70.6% 0.109 283.3)

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 #9797E2 2.67:1 Fails Lc -57.2 Large or bold text, headings
Black text on #9797E2 7.84:1 AAA Lc 52.0 Large or bold text, headings
#9797E2 text on white 2.67:1 Fails Lc 52.0 Large or bold text, headings
#9797E2 text on black 7.84:1 AAA Lc -49.9 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D5D6F2

    oklch(88.4% 0.038 284)

  4. Step 300

    300

    #BABCEC

    oklch(81% 0.068 282.9)

  5. Step 400

    400 (this color)

    #9797E2

    oklch(70.6% 0.109 283.3)

  6. Step 500

    500

    #7F7CDA

    oklch(63.1% 0.139 283.1)

  7. Step 600

    600

    #6A63C8

    oklch(55.6% 0.152 283.4)

  8. Step 700

    700

    #5852AD

    oklch(49.2% 0.141 282.9)

  9. Step 800

    800

    #48438C

    oklch(42.7% 0.117 283.3)

  10. Step 900

    900

    #3C3970

    oklch(37.6% 0.092 283.5)

  11. Step 950

    950

    #232241

    oklch(27% 0.057 283.4)

Export this scale for Tailwind in the Tailwind colors tool

#9797E2 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)#80A1E50.036
Deuteranopia (no green cones)#7D9CE00.035
Tritanopia (no blue cones)#83A5B20.095
Achromatopsia (no color)#9E9E9E0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #9797E2

    #9797E2

    oklch(70.6% 0.109 283.3)

  • #ACA34D

    #ACA34D

    oklch(70.5% 0.108 103.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9797E2

    #9797E2

    oklch(70.6% 0.109 283.3)

  • #6EA4E3

    #6EA4E3

    oklch(70.7% 0.109 253.1)

  • #B88CD0

    #B88CD0

    oklch(70.6% 0.108 313.2)

Open the analogous palette in the generator

Split complementary

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

  • #9797E2

    #9797E2

    oklch(70.6% 0.109 283.3)

  • #C9954D

    #C9954D

    oklch(70.5% 0.109 73.3)

  • #85AF67

    #85AF67

    oklch(70.6% 0.109 133.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9797E2

    #9797E2

    oklch(70.6% 0.109 283.3)

  • #D98968

    #D98968

    oklch(70.6% 0.109 43)

  • #57B58D

    #57B58D

    oklch(70.5% 0.108 163.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9797E2

    #9797E2

    oklch(70.6% 0.109 283.3)

  • #DB838C

    #DB838C

    oklch(70.6% 0.109 13.6)

  • #ACA34D

    #ACA34D

    oklch(70.5% 0.108 103.3)

  • #33B5B3

    #33B5B3

    oklch(70.5% 0.109 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 #9797E2, closest first.

Similar named colors

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

Use #9797E2 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.