#9B97FE

Closest named color: Periwinkle Blue (#8F99FB). oklch(72.3% 0.147 283.8), rgb(155, 151, 254).

Aa

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

About this color

#9B97FE is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.147 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.017 away. Black text reads best on it, at 8.25:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.147)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.25:1
White text2.54:1

Values

HEX#9B97FE
RGBrgb(155, 151, 254)
HSLhsl(242, 98%, 79%)
OKLCHoklch(72.3% 0.147 283.8)

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 #9B97FE 2.54:1 Fails Lc -54.8 Large or bold text, headings
Black text on #9B97FE 8.25:1 AAA Lc 54.3 Large or bold text, headings
#9B97FE text on white 2.54:1 Fails Lc 49.7 Large or bold text, headings
#9B97FE text on black 8.25:1 AAA Lc -52.2 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FC

    oklch(93.6% 0.027 283.6)

  3. Step 200

    200

    #D4D5FB

    oklch(88.4% 0.052 284.1)

  4. Step 300

    300

    #B9B9FB

    oklch(80.9% 0.093 284.1)

  5. Step 400

    400 (this color)

    #9B97FE

    oklch(72.3% 0.147 283.8)

  6. Step 500

    500

    #7F73F5

    oklch(63.1% 0.188 283.8)

  7. Step 600

    600

    #6B57E4

    oklch(55.6% 0.205 284)

  8. Step 700

    700

    #5946C6

    oklch(49.1% 0.19 283.7)

  9. Step 800

    800

    #493AA0

    oklch(42.6% 0.158 284.2)

  10. Step 900

    900

    #3C347F

    oklch(37.7% 0.122 283.7)

  11. Step 950

    950

    #231F4A

    oklch(27% 0.077 284.2)

Export this scale for Tailwind in the Tailwind colors tool

#9B97FE 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)#73A6FF0.058
Deuteranopia (no green cones)#709FFC0.055
Tritanopia (no blue cones)#7FABBE0.127
Achromatopsia (no color)#A2A2A20.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B97FE

    #9B97FE

    oklch(72.3% 0.147 283.8)

  • #B6A918

    #B6A918

    oklch(72.3% 0.147 103.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B97FE

    #9B97FE

    oklch(72.3% 0.147 283.8)

  • #5FA8FF

    #5FA8FF

    oklch(72.2% 0.147 254)

  • #C788E6

    #C788E6

    oklch(72.4% 0.147 313.9)

Open the analogous palette in the generator

Split complementary

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

  • #9B97FE

    #9B97FE

    oklch(72.3% 0.147 283.8)

  • #DC951A

    #DC951A

    oklch(72.3% 0.148 73.6)

  • #7EB954

    #7EB954

    oklch(72.3% 0.147 133.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B97FE

    #9B97FE

    oklch(72.3% 0.147 283.8)

  • #F08453

    #F08453

    oklch(72.3% 0.147 44.2)

  • #22C28C

    #22C28C

    oklch(72.4% 0.148 163.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B97FE

    #9B97FE

    oklch(72.3% 0.147 283.8)

  • #F37B8A

    #F37B8A

    oklch(72.3% 0.147 13.6)

  • #B6A918

    #B6A918

    oklch(72.3% 0.147 103.7)

  • #00BDBC

    #00BDBC

    oklch(72.2% 0.123 194.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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