#9797DA

Closest named color: Perrywinkle (#8F8CE7). oklch(70.2% 0.097 283.6), rgb(151, 151, 218).

Aa

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

About this color

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

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

Values

HEX#9797DA
RGBrgb(151, 151, 218)
HSLhsl(240, 48%, 72%)
OKLCHoklch(70.2% 0.097 283.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 #9797DA 2.70:1 Fails Lc -57.7 Large or bold text, headings
Black text on #9797DA 7.75:1 AAA Lc 51.6 Large or bold text, headings
#9797DA text on white 2.70:1 Fails Lc 52.5 Large or bold text, headings
#9797DA text on black 7.75:1 AAA Lc -49.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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D6D7EF

    oklch(88.6% 0.033 283.8)

  4. Step 300

    300

    #BBBCE7

    oklch(80.9% 0.06 283.9)

  5. Step 400

    400 (this color)

    #9797DA

    oklch(70.2% 0.097 283.6)

  6. Step 500

    500

    #807ED2

    oklch(63.1% 0.125 283.3)

  7. Step 600

    600

    #6B66BF

    oklch(55.7% 0.135 283.7)

  8. Step 700

    700

    #5954A5

    oklch(49.1% 0.126 283.5)

  9. Step 800

    800

    #494585

    oklch(42.7% 0.104 283.9)

  10. Step 900

    900

    #3D3B6B

    oklch(37.8% 0.081 283.7)

  11. Step 950

    950

    #23233F

    oklch(27.1% 0.051 282.4)

Export this scale for Tailwind in the Tailwind colors tool

#9797DA 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)#849FDD0.030
Deuteranopia (no green cones)#819BD80.030
Tritanopia (no blue cones)#86A3AF0.085
Achromatopsia (no color)#9D9D9D0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #9797DA

    #9797DA

    oklch(70.2% 0.097 283.6)

  • #A9A257

    #A9A257

    oklch(70.2% 0.097 103.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9797DA

    #9797DA

    oklch(70.2% 0.097 283.6)

  • #73A2DB

    #73A2DB

    oklch(70.1% 0.098 253.8)

  • #B58DCA

    #B58DCA

    oklch(70.2% 0.097 313.7)

Open the analogous palette in the generator

Split complementary

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

  • #9797DA

    #9797DA

    oklch(70.2% 0.097 283.6)

  • #C49657

    #C49657

    oklch(70.3% 0.098 73.8)

  • #86AC6D

    #86AC6D

    oklch(70.1% 0.097 133.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9797DA

    #9797DA

    oklch(70.2% 0.097 283.6)

  • #D28B6D

    #D28B6D

    oklch(70.2% 0.097 43.6)

  • #60B28E

    #60B28E

    oklch(70.1% 0.097 163.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9797DA

    #9797DA

    oklch(70.2% 0.097 283.6)

  • #D4858D

    #D4858D

    oklch(70.1% 0.098 13.3)

  • #A9A257

    #A9A257

    oklch(70.2% 0.097 103.9)

  • #46B2B0

    #46B2B0

    oklch(70.2% 0.098 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 #9797DA, closest first.

Similar named colors

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

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