#9797CE

Closest named color: Pale Purple (#B790D4). oklch(69.7% 0.08 284.1), rgb(151, 151, 206).

Aa

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

About this color

#9797CE is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.080 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.051 away. Black text reads best on it, at 7.63:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest namePale Purple (#B790D4)
Black text7.63:1
White text2.75:1

Values

HEX#9797CE
RGBrgb(151, 151, 206)
HSLhsl(240, 36%, 70%)
OKLCHoklch(69.7% 0.08 284.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 #9797CE 2.75:1 Fails Lc -58.4 Large or bold text, headings
Black text on #9797CE 7.63:1 AAA Lc 50.9 Large or bold text, headings
#9797CE text on white 2.75:1 Fails Lc 53.1 Large or bold text, headings
#9797CE text on black 7.63:1 AAA Lc -48.7 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

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D6D7EB

    oklch(88.4% 0.027 283.5)

  4. Step 300

    300

    #BCBDE1

    oklch(80.9% 0.051 284)

  5. Step 400

    400 (this color)

    #9797CE

    oklch(69.7% 0.08 284.1)

  6. Step 500

    500

    #8280C5

    oklch(63% 0.103 284.4)

  7. Step 600

    600

    #6C69B2

    oklch(55.6% 0.112 284)

  8. Step 700

    700

    #5A5799

    oklch(49% 0.104 283.9)

  9. Step 800

    800

    #4A477C

    oklch(42.6% 0.086 284.7)

  10. Step 900

    900

    #3D3C64

    oklch(37.6% 0.068 283.8)

  11. Step 950

    950

    #24233A

    oklch(26.9% 0.042 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#9797CE 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)#889ED00.025
Deuteranopia (no green cones)#869ACD0.024
Tritanopia (no blue cones)#8AA1AA0.071
Achromatopsia (no color)#9C9C9C0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #9797CE

    #9797CE

    oklch(69.7% 0.08 284.1)

  • #A5A065

    #A5A065

    oklch(69.6% 0.079 104.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9797CE

    #9797CE

    oklch(69.7% 0.08 284.1)

  • #7BA0CF

    #7BA0CF

    oklch(69.6% 0.081 254.7)

  • #B08FC1

    #B08FC1

    oklch(69.8% 0.08 314)

Open the analogous palette in the generator

Split complementary

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

  • #9797CE

    #9797CE

    oklch(69.7% 0.08 284.1)

  • #BB9664

    #BB9664

    oklch(69.6% 0.08 74.2)

  • #89A976

    #89A976

    oklch(69.7% 0.08 134.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9797CE

    #9797CE

    oklch(69.7% 0.08 284.1)

  • #C88E74

    #C88E74

    oklch(69.7% 0.08 45.1)

  • #6CAD90

    #6CAD90

    oklch(69.5% 0.08 164.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9797CE

    #9797CE

    oklch(69.7% 0.08 284.1)

  • #CA898E

    #CA898E

    oklch(69.7% 0.08 14.3)

  • #A5A065

    #A5A065

    oklch(69.6% 0.079 104.1)

  • #5BADAC

    #5BADAC

    oklch(69.6% 0.08 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 #9797CE, closest first.

Similar named colors

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

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