#9170F9

Closest named color: Periwinkle (#8E82FE). oklch(64.4% 0.196 291), rgb(145, 112, 249).

Aa

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

About this color

#9170F9 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.196 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.041 away. Black text reads best on it, at 5.88:1.

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

Values

HEX#9170F9
RGBrgb(145, 112, 249)
HSLhsl(254, 92%, 71%)
OKLCHoklch(64.4% 0.196 291)

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 #9170F9 3.56:1 AA large text Lc -68.4 Content text, not long reading
Black text on #9170F9 5.88:1 AA Lc 41.2 Non-text elements, placeholder text
#9170F9 text on white 3.56:1 AA large text Lc 62.9 Content text, not long reading
#9170F9 text on black 5.88:1 AA Lc -38.8 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

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D8D4FB

    oklch(88.5% 0.053 290)

  4. Step 300

    300

    #C0B6FA

    oklch(80.9% 0.095 290.8)

  5. Step 400

    400

    #A28DF8

    oklch(70.7% 0.153 291)

  6. Step 500

    500 (this color)

    #9170F9

    oklch(64.4% 0.196 291)

  7. Step 600

    600

    #794FE3

    oklch(55.6% 0.213 290.9)

  8. Step 700

    700

    #663EC5

    oklch(49% 0.198 290.9)

  9. Step 800

    800

    #5335A0

    oklch(42.8% 0.164 290.7)

  10. Step 900

    900

    #44307F

    oklch(37.8% 0.128 290.7)

  11. Step 950

    950

    #281D4A

    oklch(27.1% 0.08 291.4)

Export this scale for Tailwind in the Tailwind colors tool

#9170F9 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)#268AFE0.119
Deuteranopia (no green cones)#2E85F60.114
Tritanopia (no blue cones)#748EAA0.160
Achromatopsia (no color)#8888880.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #9170F9

    #9170F9

    oklch(64.4% 0.196 291)

  • #929400

    #929400

    oklch(64.3% 0.141 110.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9170F9

    #9170F9

    oklch(64.4% 0.196 291)

  • #4587FF

    #4587FF

    oklch(64.3% 0.191 261.2)

  • #C15CD4

    #C15CD4

    oklch(64.4% 0.196 321.1)

Open the analogous palette in the generator

Split complementary

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

  • #9170F9

    #9170F9

    oklch(64.4% 0.196 291)

  • #B68300

    #B68300

    oklch(64.4% 0.133 81)

  • #36A820

    #36A820

    oklch(64.3% 0.196 141)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9170F9

    #9170F9

    oklch(64.4% 0.196 291)

  • #DA6800

    #DA6800

    oklch(64.3% 0.168 50.9)

  • #00A583

    #00A583

    oklch(64.3% 0.126 171.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9170F9

    #9170F9

    oklch(64.4% 0.196 291)

  • #ED4C57

    #ED4C57

    oklch(64.4% 0.197 20.9)

  • #929400

    #929400

    oklch(64.3% 0.141 110.7)

  • #00A1A8

    #00A1A8

    oklch(64.5% 0.11 200.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9170F9.

Similar named colors

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

Use #9170F9 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.