#998AEF

Closest named color: Perrywinkle (#8F8CE7). oklch(68.9% 0.146 288.8), rgb(153, 138, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.146)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.23:1
White text2.90:1

Values

HEX#998AEF
RGBrgb(153, 138, 239)
HSLhsl(249, 76%, 74%)
OKLCHoklch(68.9% 0.146 288.8)

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 #998AEF 2.90:1 Fails Lc -60.5 Content text, not long reading
Black text on #998AEF 7.23:1 AAA Lc 48.8 Large or bold text, headings
#998AEF text on white 2.90:1 Fails Lc 55.2 Large or bold text, headings
#998AEF text on black 7.23:1 AAA Lc -46.6 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

    #D7D4F9

    oklch(88.4% 0.051 289)

  4. Step 300

    300

    #BEB7F8

    oklch(80.8% 0.091 289.1)

  5. Step 400

    400 (this color)

    #998AEF

    oklch(68.9% 0.146 288.8)

  6. Step 500

    500

    #8970F1

    oklch(63.2% 0.186 288.8)

  7. Step 600

    600

    #7454DF

    oklch(55.6% 0.202 288.7)

  8. Step 700

    700

    #6243C2

    oklch(49.1% 0.188 288.7)

  9. Step 800

    800

    #50389D

    oklch(42.7% 0.156 289)

  10. Step 900

    900

    #42327D

    oklch(37.8% 0.122 289)

  11. Step 950

    950

    #261E49

    oklch(27% 0.077 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#998AEF 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)#689AF30.069
Deuteranopia (no green cones)#6895ED0.066
Tritanopia (no blue cones)#839DB10.122
Achromatopsia (no color)#9898980.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #998AEF

    #998AEF

    oklch(68.9% 0.146 288.8)

  • #A3A111

    #A3A111

    oklch(68.8% 0.146 108.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998AEF

    #998AEF

    oklch(68.9% 0.146 288.8)

  • #619BF4

    #619BF4

    oklch(69% 0.145 258.7)

  • #C17CD4

    #C17CD4

    oklch(69% 0.145 318.8)

Open the analogous palette in the generator

Split complementary

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

  • #998AEF

    #998AEF

    oklch(68.9% 0.146 288.8)

  • #CA8E00

    #CA8E00

    oklch(68.8% 0.143 78.6)

  • #69B054

    #69B054

    oklch(68.9% 0.145 138.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998AEF

    #998AEF

    oklch(68.9% 0.146 288.8)

  • #E27C41

    #E27C41

    oklch(69% 0.146 48.6)

  • #00B68C

    #00B68C

    oklch(69% 0.138 168.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998AEF

    #998AEF

    oklch(68.9% 0.146 288.8)

  • #E77277

    #E77277

    oklch(69% 0.145 19)

  • #A3A111

    #A3A111

    oklch(68.8% 0.146 108.8)

  • #00B1B6

    #00B1B6

    oklch(69% 0.117 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 #998AEF, closest first.

Similar named colors

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

Use #998AEF 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.