#9791F8

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.6% 0.148 284.6), rgb(151, 145, 248).

Aa

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

About this color

#9791F8 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.148 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.021 away. Black text reads best on it, at 7.72:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.148)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.72:1
White text2.71:1

Values

HEX#9791F8
RGBrgb(151, 145, 248)
HSLhsl(243, 88%, 77%)
OKLCHoklch(70.6% 0.148 284.6)

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 #9791F8 2.71:1 Fails Lc -57.8 Large or bold text, headings
Black text on #9791F8 7.72:1 AAA Lc 51.5 Large or bold text, headings
#9791F8 text on white 2.71:1 Fails Lc 52.6 Large or bold text, headings
#9791F8 text on black 7.72:1 AAA Lc -49.3 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FC

    oklch(93.6% 0.027 283.6)

  3. Step 200

    200

    #D5D5FB

    oklch(88.5% 0.052 285.3)

  4. Step 300

    300

    #B9B9FB

    oklch(80.9% 0.093 284.1)

  5. Step 400

    400 (this color)

    #9791F8

    oklch(70.6% 0.148 284.6)

  6. Step 500

    500

    #8172F5

    oklch(63.1% 0.189 284.8)

  7. Step 600

    600

    #6C56E4

    oklch(55.6% 0.206 284.6)

  8. Step 700

    700

    #5B45C6

    oklch(49.1% 0.191 284.7)

  9. Step 800

    800

    #4A3AA0

    oklch(42.7% 0.158 284.7)

  10. Step 900

    900

    #3D337F

    oklch(37.6% 0.124 284.8)

  11. Step 950

    950

    #231F4A

    oklch(27% 0.077 284.2)

Export this scale for Tailwind in the Tailwind colors tool

#9791F8 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)#6DA0FC0.059
Deuteranopia (no green cones)#6A9AF60.058
Tritanopia (no blue cones)#7BA5B90.126
Achromatopsia (no color)#9D9D9D0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #9791F8

    #9791F8

    oklch(70.6% 0.148 284.6)

  • #AFA408

    #AFA408

    oklch(70.6% 0.148 104.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9791F8

    #9791F8

    oklch(70.6% 0.148 284.6)

  • #5BA2FA

    #5BA2FA

    oklch(70.5% 0.148 254.8)

  • #C282DF

    #C282DF

    oklch(70.6% 0.147 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #9791F8

    #9791F8

    oklch(70.6% 0.148 284.6)

  • #D59006

    #D59006

    oklch(70.5% 0.148 74.7)

  • #77B44F

    #77B44F

    oklch(70.6% 0.148 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9791F8

    #9791F8

    oklch(70.6% 0.148 284.6)

  • #EA7E4C

    #EA7E4C

    oklch(70.5% 0.148 44.4)

  • #09BC88

    #09BC88

    oklch(70.5% 0.148 164.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9791F8

    #9791F8

    oklch(70.6% 0.148 284.6)

  • #ED7583

    #ED7583

    oklch(70.5% 0.148 14.4)

  • #AFA408

    #AFA408

    oklch(70.6% 0.148 104.7)

  • #00B7B7

    #00B7B7

    oklch(70.6% 0.12 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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