#9171F8

Closest named color: Periwinkle (#8E82FE). oklch(64.5% 0.193 290.9), rgb(145, 113, 248).

Aa

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

About this color

#9171F8 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.193 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.039 away. Black text reads best on it, at 5.92:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.193)
Temperaturein between
Nearest namePeriwinkle (#8E82FE)
Black text5.92:1
White text3.54:1

Values

HEX#9171F8
RGBrgb(145, 113, 248)
HSLhsl(254, 91%, 71%)
OKLCHoklch(64.5% 0.193 290.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 #9171F8 3.54:1 AA large text Lc -68.2 Content text, not long reading
Black text on #9171F8 5.92:1 AA Lc 41.3 Non-text elements, placeholder text
#9171F8 text on white 3.54:1 AA large text Lc 62.7 Content text, not long reading
#9171F8 text on black 5.92:1 AA Lc -38.9 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4FA

    oklch(88.5% 0.052 290.1)

  4. Step 300

    300

    #C0B6FA

    oklch(80.9% 0.095 290.8)

  5. Step 400

    400

    #A28DF7

    oklch(70.7% 0.152 291.1)

  6. Step 500

    500 (this color)

    #9171F8

    oklch(64.5% 0.193 290.9)

  7. Step 600

    600

    #7950E2

    oklch(55.7% 0.21 290.9)

  8. Step 700

    700

    #663FC4

    oklch(49.1% 0.195 290.9)

  9. Step 800

    800

    #53359F

    oklch(42.7% 0.163 290.9)

  10. Step 900

    900

    #44307E

    oklch(37.7% 0.126 290.9)

  11. Step 950

    950

    #281D4A

    oklch(27.1% 0.08 291.4)

Export this scale for Tailwind in the Tailwind colors tool

#9171F8 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)#2B8AFD0.116
Deuteranopia (no green cones)#3285F50.111
Tritanopia (no blue cones)#748EAA0.158
Achromatopsia (no color)#8888880.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #9171F8

    #9171F8

    oklch(64.5% 0.193 290.9)

  • #929400

    #929400

    oklch(64.3% 0.141 110.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9171F8

    #9171F8

    oklch(64.5% 0.193 290.9)

  • #4588FF

    #4588FF

    oklch(64.5% 0.19 260.9)

  • #C05ED4

    #C05ED4

    oklch(64.5% 0.193 320.6)

Open the analogous palette in the generator

Split complementary

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

  • #9171F8

    #9171F8

    oklch(64.5% 0.193 290.9)

  • #B78300

    #B78300

    oklch(64.5% 0.133 80.5)

  • #39A824

    #39A824

    oklch(64.4% 0.193 140.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9171F8

    #9171F8

    oklch(64.5% 0.193 290.9)

  • #DB6800

    #DB6800

    oklch(64.5% 0.169 50.6)

  • #00A683

    #00A683

    oklch(64.5% 0.127 170.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9171F8

    #9171F8

    oklch(64.5% 0.193 290.9)

  • #EC4E58

    #EC4E58

    oklch(64.5% 0.194 20.9)

  • #929400

    #929400

    oklch(64.3% 0.141 110.7)

  • #00A1A9

    #00A1A9

    oklch(64.5% 0.11 201.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9171F8.

Similar named colors

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

Use #9171F8 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.