#9D97EF

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.7% 0.127 285.9), rgb(157, 151, 239).

Aa

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

About this color

#9D97EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.127 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.025 away. Black text reads best on it, at 8.10:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.10:1
White text2.59:1

Values

HEX#9D97EF
RGBrgb(157, 151, 239)
HSLhsl(244, 73%, 76%)
OKLCHoklch(71.7% 0.127 285.9)

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 #9D97EF 2.59:1 Fails Lc -55.7 Large or bold text, headings
Black text on #9D97EF 8.10:1 AAA Lc 53.5 Large or bold text, headings
#9D97EF text on white 2.59:1 Fails Lc 50.5 Large or bold text, headings
#9D97EF text on black 8.10:1 AAA Lc -51.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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D6D6F6

    oklch(88.6% 0.044 285.5)

  4. Step 300

    300

    #BBBAF2

    oklch(80.9% 0.079 285.3)

  5. Step 400

    400 (this color)

    #9D97EF

    oklch(71.7% 0.127 285.9)

  6. Step 500

    500

    #8377E5

    oklch(63.1% 0.161 285.8)

  7. Step 600

    600

    #6E5DD3

    oklch(55.6% 0.175 285.8)

  8. Step 700

    700

    #5C4BB7

    oklch(49% 0.164 285.9)

  9. Step 800

    800

    #4B3F94

    oklch(42.7% 0.134 285.7)

  10. Step 900

    900

    #3E3676

    oklch(37.6% 0.106 285.8)

  11. Step 950

    950

    #242045

    oklch(26.9% 0.067 285.9)

Export this scale for Tailwind in the Tailwind colors tool

#9D97EF 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)#7CA3F20.049
Deuteranopia (no green cones)#7A9EED0.047
Tritanopia (no blue cones)#88A8B80.109
Achromatopsia (no color)#A1A1A10.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D97EF

    #9D97EF

    oklch(71.7% 0.127 285.9)

  • #AEA83E

    #AEA83E

    oklch(71.6% 0.126 106.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D97EF

    #9D97EF

    oklch(71.7% 0.127 285.9)

  • #6DA6F1

    #6DA6F1

    oklch(71.7% 0.126 255.7)

  • #C28AD9

    #C28AD9

    oklch(71.7% 0.127 315.7)

Open the analogous palette in the generator

Split complementary

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

  • #9D97EF

    #9D97EF

    oklch(71.7% 0.127 285.9)

  • #D1973B

    #D1973B

    oklch(71.6% 0.127 75.3)

  • #7FB563

    #7FB563

    oklch(71.6% 0.126 135.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D97EF

    #9D97EF

    oklch(71.7% 0.127 285.9)

  • #E4895D

    #E4895D

    oklch(71.7% 0.126 45.9)

  • #41BC91

    #41BC91

    oklch(71.6% 0.126 166)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D97EF

    #9D97EF

    oklch(71.7% 0.127 285.9)

  • #E88189

    #E88189

    oklch(71.8% 0.127 15.8)

  • #AEA83E

    #AEA83E

    oklch(71.6% 0.126 106.1)

  • #00BBBC

    #00BBBC

    oklch(71.7% 0.122 195.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9D97EF 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.