#9797CB

Closest named color: Cool Gray (#8D99AE). oklch(69.5% 0.076 284.3), rgb(151, 151, 203).

Aa

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

About this color

#9797CB is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.076 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Gray (#8D99AE), ΔE 0.049 away. Black text reads best on it, at 7.60:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameCool Gray (#8D99AE)
Black text7.60:1
White text2.76:1

Values

HEX#9797CB
RGBrgb(151, 151, 203)
HSLhsl(240, 33%, 69%)
OKLCHoklch(69.5% 0.076 284.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 #9797CB 2.76:1 Fails Lc -58.5 Large or bold text, headings
Black text on #9797CB 7.60:1 AAA Lc 50.7 Large or bold text, headings
#9797CB text on white 2.76:1 Fails Lc 53.3 Large or bold text, headings
#9797CB text on black 7.60:1 AAA Lc -48.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D7EA

    oklch(88.4% 0.026 283.4)

  4. Step 300

    300

    #BCBDDF

    oklch(80.9% 0.048 283.9)

  5. Step 400

    400 (this color)

    #9797CB

    oklch(69.5% 0.076 284.3)

  6. Step 500

    500

    #8381C2

    oklch(63.1% 0.097 284.7)

  7. Step 600

    600

    #6C6AAF

    oklch(55.6% 0.106 283.7)

  8. Step 700

    700

    #5B5896

    oklch(49.2% 0.098 284.4)

  9. Step 800

    800

    #4A487A

    oklch(42.7% 0.082 284.2)

  10. Step 900

    900

    #3E3D62

    oklch(37.8% 0.063 284.2)

  11. Step 950

    950

    #242439

    oklch(27.1% 0.039 283.5)

Export this scale for Tailwind in the Tailwind colors tool

#9797CB 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)#899DCD0.023
Deuteranopia (no green cones)#879ACA0.023
Tritanopia (no blue cones)#8BA0A90.066
Achromatopsia (no color)#9C9C9C0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #9797CB

    #9797CB

    oklch(69.5% 0.076 284.3)

  • #A4A068

    #A4A068

    oklch(69.6% 0.076 104.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9797CB

    #9797CB

    oklch(69.5% 0.076 284.3)

  • #7DA0CC

    #7DA0CC

    oklch(69.6% 0.076 254.4)

  • #AF8FBE

    #AF8FBE

    oklch(69.5% 0.076 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #9797CB

    #9797CB

    oklch(69.5% 0.076 284.3)

  • #B99667

    #B99667

    oklch(69.4% 0.076 74.2)

  • #8AA878

    #8AA878

    oklch(69.6% 0.076 134.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9797CB

    #9797CB

    oklch(69.5% 0.076 284.3)

  • #C68E76

    #C68E76

    oklch(69.6% 0.077 44.1)

  • #6FAC91

    #6FAC91

    oklch(69.5% 0.075 164.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9797CB

    #9797CB

    oklch(69.5% 0.076 284.3)

  • #C88A8E

    #C88A8E

    oklch(69.6% 0.076 15)

  • #A4A068

    #A4A068

    oklch(69.6% 0.076 104.7)

  • #60ACAB

    #60ACAB

    oklch(69.5% 0.076 194.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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