#9898DB

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

Aa

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

About this color

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

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

Values

HEX#9898DB
RGBrgb(152, 152, 219)
HSLhsl(240, 48%, 73%)
OKLCHoklch(70.5% 0.097 283.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 #9898DB 2.67:1 Fails Lc -57.2 Large or bold text, headings
Black text on #9898DB 7.84:1 AAA Lc 52.1 Large or bold text, headings
#9898DB text on white 2.67:1 Fails Lc 52.0 Large or bold text, headings
#9898DB text on black 7.84:1 AAA Lc -49.9 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

    #D6D7EF

    oklch(88.6% 0.033 283.8)

  4. Step 300

    300

    #BBBCE7

    oklch(80.9% 0.06 283.9)

  5. Step 400

    400 (this color)

    #9898DB

    oklch(70.5% 0.097 283.6)

  6. Step 500

    500

    #807ED2

    oklch(63.1% 0.125 283.3)

  7. Step 600

    600

    #6B66BF

    oklch(55.7% 0.135 283.7)

  8. Step 700

    700

    #5954A5

    oklch(49.1% 0.126 283.5)

  9. Step 800

    800

    #494585

    oklch(42.7% 0.104 283.9)

  10. Step 900

    900

    #3D3B6B

    oklch(37.8% 0.081 283.7)

  11. Step 950

    950

    #23233F

    oklch(27.1% 0.051 282.4)

Export this scale for Tailwind in the Tailwind colors tool

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

Harmonies

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

Complementary

The opposite hue (180°).

  • #9898DB

    #9898DB

    oklch(70.5% 0.097 283.6)

  • #AAA358

    #AAA358

    oklch(70.5% 0.097 103.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9898DB

    #9898DB

    oklch(70.5% 0.097 283.6)

  • #75A3DC

    #75A3DC

    oklch(70.5% 0.098 254.3)

  • #B68ECB

    #B68ECB

    oklch(70.6% 0.097 313.7)

Open the analogous palette in the generator

Split complementary

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

  • #9898DB

    #9898DB

    oklch(70.5% 0.097 283.6)

  • #C59758

    #C59758

    oklch(70.6% 0.098 73.8)

  • #87AE6E

    #87AE6E

    oklch(70.6% 0.099 133.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9898DB

    #9898DB

    oklch(70.5% 0.097 283.6)

  • #D38C6E

    #D38C6E

    oklch(70.5% 0.097 43.7)

  • #61B38F

    #61B38F

    oklch(70.4% 0.097 163.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9898DB

    #9898DB

    oklch(70.5% 0.097 283.6)

  • #D5868E

    #D5868E

    oklch(70.4% 0.097 13.3)

  • #AAA358

    #AAA358

    oklch(70.5% 0.097 103.9)

  • #48B3B1

    #48B3B1

    oklch(70.5% 0.097 193.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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