#9798DB

Closest named color: Perrywinkle (#8F8CE7). oklch(70.5% 0.097 282.9), rgb(151, 152, 219).

Aa

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

About this color

#9798DB is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.097 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.042 away. Black text reads best on it, at 7.83:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.83:1
White text2.68:1

Values

HEX#9798DB
RGBrgb(151, 152, 219)
HSLhsl(239, 49%, 73%)
OKLCHoklch(70.5% 0.097 282.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 #9798DB 2.68:1 Fails Lc -57.3 Large or bold text, headings
Black text on #9798DB 7.83:1 AAA Lc 52.0 Large or bold text, headings
#9798DB text on white 2.68:1 Fails Lc 52.1 Large or bold text, headings
#9798DB text on black 7.83:1 AAA Lc -49.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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D5D7F0

    oklch(88.5% 0.034 282)

  4. Step 300

    300

    #BABCE8

    oklch(80.8% 0.062 282.9)

  5. Step 400

    400 (this color)

    #9798DB

    oklch(70.5% 0.097 282.9)

  6. Step 500

    500

    #7F7ED2

    oklch(63% 0.125 282.8)

  7. Step 600

    600

    #6A66BF

    oklch(55.6% 0.135 283.1)

  8. Step 700

    700

    #5854A5

    oklch(49% 0.126 282.9)

  9. Step 800

    800

    #484586

    oklch(42.7% 0.105 283.1)

  10. Step 900

    900

    #3C3B6B

    oklch(37.7% 0.081 282.8)

  11. Step 950

    950

    #23233F

    oklch(27.1% 0.051 282.4)

Export this scale for Tailwind in the Tailwind colors tool

#9798DB 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)#84A0DE0.030
Deuteranopia (no green cones)#829CD90.029
Tritanopia (no blue cones)#86A4B00.084
Achromatopsia (no color)#9E9E9E0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #9798DB

    #9798DB

    oklch(70.5% 0.097 282.9)

  • #ABA357

    #ABA357

    oklch(70.6% 0.098 103.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9798DB

    #9798DB

    oklch(70.5% 0.097 282.9)

  • #73A3DB

    #73A3DB

    oklch(70.4% 0.098 252.9)

  • #B58ECB

    #B58ECB

    oklch(70.5% 0.097 313)

Open the analogous palette in the generator

Split complementary

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

  • #9798DB

    #9798DB

    oklch(70.5% 0.097 282.9)

  • #C59658

    #C59658

    oklch(70.4% 0.098 72.8)

  • #88AD6D

    #88AD6D

    oklch(70.4% 0.098 132.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9798DB

    #9798DB

    oklch(70.5% 0.097 282.9)

  • #D38C6E

    #D38C6E

    oklch(70.5% 0.097 43.7)

  • #62B38E

    #62B38E

    oklch(70.5% 0.098 162.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9798DB

    #9798DB

    oklch(70.5% 0.097 282.9)

  • #D5868F

    #D5868F

    oklch(70.4% 0.098 12.5)

  • #ABA357

    #ABA357

    oklch(70.6% 0.098 103.2)

  • #48B3B0

    #48B3B0

    oklch(70.5% 0.097 192.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9798DB 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.