#9898E2

Closest named color: Perrywinkle (#8F8CE7). oklch(70.9% 0.107 283.3), rgb(152, 152, 226).

Aa

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

About this color

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

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

Values

HEX#9898E2
RGBrgb(152, 152, 226)
HSLhsl(240, 56%, 74%)
OKLCHoklch(70.9% 0.107 283.3)

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 #9898E2 2.64:1 Fails Lc -56.7 Large or bold text, headings
Black text on #9898E2 7.92:1 AAA Lc 52.5 Large or bold text, headings
#9898E2 text on white 2.64:1 Fails Lc 51.5 Large or bold text, headings
#9898E2 text on black 7.92:1 AAA Lc -50.4 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

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D5D7F2

    oklch(88.6% 0.037 282.2)

  4. Step 300

    300

    #BABCEB

    oklch(81% 0.066 282.9)

  5. Step 400

    400 (this color)

    #9898E2

    oklch(70.9% 0.107 283.3)

  6. Step 500

    500

    #7F7CD9

    oklch(63% 0.137 283.2)

  7. Step 600

    600

    #6A63C6

    oklch(55.5% 0.149 283.6)

  8. Step 700

    700

    #5852AB

    oklch(49% 0.138 283.1)

  9. Step 800

    800

    #48448B

    oklch(42.8% 0.114 283)

  10. Step 900

    900

    #3C3A6F

    oklch(37.8% 0.089 283)

  11. Step 950

    950

    #232241

    oklch(27% 0.057 283.4)

Export this scale for Tailwind in the Tailwind colors tool

#9898E2 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)#82A1E50.034
Deuteranopia (no green cones)#7F9DE00.034
Tritanopia (no blue cones)#85A6B30.093
Achromatopsia (no color)#9F9F9F0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #9898E2

    #9898E2

    oklch(70.9% 0.107 283.3)

  • #ADA44F

    #ADA44F

    oklch(70.9% 0.108 103.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9898E2

    #9898E2

    oklch(70.9% 0.107 283.3)

  • #70A4E3

    #70A4E3

    oklch(70.8% 0.108 253.9)

  • #B98DD1

    #B98DD1

    oklch(70.9% 0.108 313.2)

Open the analogous palette in the generator

Split complementary

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

  • #9898E2

    #9898E2

    oklch(70.9% 0.107 283.3)

  • #C99650

    #C99650

    oklch(70.8% 0.107 73.3)

  • #86B069

    #86B069

    oklch(70.9% 0.108 133.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9898E2

    #9898E2

    oklch(70.9% 0.107 283.3)

  • #D98A69

    #D98A69

    oklch(70.8% 0.108 43.3)

  • #5AB68E

    #5AB68E

    oklch(70.9% 0.107 163.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9898E2

    #9898E2

    oklch(70.9% 0.107 283.3)

  • #DB848E

    #DB848E

    oklch(70.8% 0.107 12.8)

  • #ADA44F

    #ADA44F

    oklch(70.9% 0.108 103.3)

  • #37B6B4

    #37B6B4

    oklch(70.9% 0.107 193.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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