#9789EB

Closest named color: Perrywinkle (#8F8CE7). oklch(68.4% 0.142 288.6), rgb(151, 137, 235).

Aa

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

About this color

#9789EB is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.142 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.015 away. Black text reads best on it, at 7.09:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.142)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.09:1
White text2.96:1

Values

HEX#9789EB
RGBrgb(151, 137, 235)
HSLhsl(249, 71%, 73%)
OKLCHoklch(68.4% 0.142 288.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 #9789EB 2.96:1 Fails Lc -61.4 Content text, not long reading
Black text on #9789EB 7.09:1 AAA Lc 48.0 Large or bold text, headings
#9789EB text on white 2.96:1 Fails Lc 56.0 Large or bold text, headings
#9789EB text on black 7.09:1 AAA Lc -45.8 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D7D5F9

    oklch(88.6% 0.049 287.9)

  4. Step 300

    300

    #BEB8F7

    oklch(81% 0.088 288.6)

  5. Step 400

    400 (this color)

    #9789EB

    oklch(68.4% 0.142 288.6)

  6. Step 500

    500

    #8871EE

    oklch(63% 0.181 288.6)

  7. Step 600

    600

    #7455DD

    oklch(55.6% 0.198 288.8)

  8. Step 700

    700

    #6245C0

    oklch(49.2% 0.183 288.7)

  9. Step 800

    800

    #4F399B

    oklch(42.6% 0.152 288.6)

  10. Step 900

    900

    #41337B

    oklch(37.7% 0.117 288.4)

  11. Step 950

    950

    #261E48

    oklch(26.9% 0.075 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#9789EB 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)#6998EF0.065
Deuteranopia (no green cones)#6894E90.064
Tritanopia (no blue cones)#819CAF0.119
Achromatopsia (no color)#9696960.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #9789EB

    #9789EB

    oklch(68.4% 0.142 288.6)

  • #A29F19

    #A29F19

    oklch(68.3% 0.141 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9789EB

    #9789EB

    oklch(68.4% 0.142 288.6)

  • #6199F0

    #6199F0

    oklch(68.3% 0.142 258.9)

  • #BE7BD1

    #BE7BD1

    oklch(68.4% 0.142 318.6)

Open the analogous palette in the generator

Split complementary

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

  • #9789EB

    #9789EB

    oklch(68.4% 0.142 288.6)

  • #C88D02

    #C88D02

    oklch(68.4% 0.142 78.8)

  • #6AAE54

    #6AAE54

    oklch(68.5% 0.142 138.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9789EB

    #9789EB

    oklch(68.4% 0.142 288.6)

  • #DE7B43

    #DE7B43

    oklch(68.3% 0.142 48.3)

  • #00B48A

    #00B48A

    oklch(68.4% 0.138 168.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9789EB

    #9789EB

    oklch(68.4% 0.142 288.6)

  • #E37177

    #E37177

    oklch(68.3% 0.142 18.3)

  • #A29F19

    #A29F19

    oklch(68.3% 0.141 108.2)

  • #00AFB4

    #00AFB4

    oklch(68.5% 0.116 198.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9789EB 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.