#9797CF

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

Aa

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

About this color

#9797CF is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.082 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.64:1.

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

Values

HEX#9797CF
RGBrgb(151, 151, 207)
HSLhsl(240, 37%, 70%)
OKLCHoklch(69.7% 0.082 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 #9797CF 2.74:1 Fails Lc -58.3 Large or bold text, headings
Black text on #9797CF 7.64:1 AAA Lc 50.9 Large or bold text, headings
#9797CF text on white 2.74:1 Fails Lc 53.1 Large or bold text, headings
#9797CF text on black 7.64:1 AAA Lc -48.8 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

    #D6D7EC

    oklch(88.5% 0.029 283.6)

  4. Step 300

    300

    #BCBDE1

    oklch(80.9% 0.051 284)

  5. Step 400

    400 (this color)

    #9797CF

    oklch(69.7% 0.082 284.1)

  6. Step 500

    500

    #8280C6

    oklch(63% 0.104 284.3)

  7. Step 600

    600

    #6C69B3

    oklch(55.7% 0.113 283.9)

  8. Step 700

    700

    #5A579A

    oklch(49.1% 0.105 283.8)

  9. Step 800

    800

    #4A477D

    oklch(42.7% 0.088 284.5)

  10. Step 900

    900

    #3D3C64

    oklch(37.6% 0.068 283.8)

  11. Step 950

    950

    #24233B

    oklch(26.9% 0.044 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#9797CF 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)#889ED10.025
Deuteranopia (no green cones)#869ACE0.024
Tritanopia (no blue cones)#8AA1AB0.071
Achromatopsia (no color)#9C9C9C0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #9797CF

    #9797CF

    oklch(69.7% 0.082 284.1)

  • #A6A063

    #A6A063

    oklch(69.7% 0.082 103.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9797CF

    #9797CF

    oklch(69.7% 0.082 284.1)

  • #7AA0D0

    #7AA0D0

    oklch(69.6% 0.082 254.6)

  • #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°).

  • #9797CF

    #9797CF

    oklch(69.7% 0.082 284.1)

  • #BC9663

    #BC9663

    oklch(69.7% 0.082 74)

  • #89A975

    #89A975

    oklch(69.7% 0.081 133.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9797CF

    #9797CF

    oklch(69.7% 0.082 284.1)

  • #C98D74

    #C98D74

    oklch(69.7% 0.082 43.5)

  • #6BAE90

    #6BAE90

    oklch(69.7% 0.082 164.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9797CF

    #9797CF

    oklch(69.7% 0.082 284.1)

  • #CB898E

    #CB898E

    oklch(69.8% 0.081 14.4)

  • #A6A063

    #A6A063

    oklch(69.7% 0.082 103.4)

  • #5AAEAC

    #5AAEAC

    oklch(69.8% 0.082 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 #9797CF, closest first.

Similar named colors

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

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