#998FEE

Closest named color: Perrywinkle (#8F8CE7). oklch(69.8% 0.137 287.1), rgb(153, 143, 238).

Aa

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

About this color

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

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

Values

HEX#998FEE
RGBrgb(153, 143, 238)
HSLhsl(246, 74%, 75%)
OKLCHoklch(69.8% 0.137 287.1)

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 #998FEE 2.79:1 Fails Lc -58.9 Large or bold text, headings
Black text on #998FEE 7.51:1 AAA Lc 50.3 Large or bold text, headings
#998FEE text on white 2.79:1 Fails Lc 53.7 Large or bold text, headings
#998FEE text on black 7.51:1 AAA Lc -48.2 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

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F8

    oklch(88.5% 0.048 286.7)

  4. Step 300

    300

    #BCB9F6

    oklch(81% 0.086 286.6)

  5. Step 400

    400 (this color)

    #998FEE

    oklch(69.8% 0.137 287.1)

  6. Step 500

    500

    #8573EC

    oklch(63% 0.176 287.1)

  7. Step 600

    600

    #7158DA

    oklch(55.6% 0.19 287.4)

  8. Step 700

    700

    #5F47BD

    oklch(49% 0.177 287.4)

  9. Step 800

    800

    #4D3B99

    oklch(42.6% 0.147 287.2)

  10. Step 900

    900

    #40347A

    oklch(37.7% 0.115 287.5)

  11. Step 950

    950

    #251F47

    oklch(26.9% 0.072 287.4)

Export this scale for Tailwind in the Tailwind colors tool

#998FEE 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)#709DF20.059
Deuteranopia (no green cones)#6F98EC0.056
Tritanopia (no blue cones)#83A1B30.116
Achromatopsia (no color)#9B9B9B0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #998FEE

    #998FEE

    oklch(69.8% 0.137 287.1)

  • #A8A328

    #A8A328

    oklch(69.8% 0.137 107.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998FEE

    #998FEE

    oklch(69.8% 0.137 287.1)

  • #649FF2

    #649FF2

    oklch(69.9% 0.137 257.1)

  • #C081D6

    #C081D6

    oklch(69.8% 0.138 317)

Open the analogous palette in the generator

Split complementary

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

  • #998FEE

    #998FEE

    oklch(69.8% 0.137 287.1)

  • #CD9121

    #CD9121

    oklch(69.8% 0.137 77)

  • #73B159

    #73B159

    oklch(69.8% 0.137 137.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998FEE

    #998FEE

    oklch(69.8% 0.137 287.1)

  • #E2814E

    #E2814E

    oklch(69.9% 0.137 47.2)

  • #1EB88C

    #1EB88C

    oklch(69.7% 0.137 167.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998FEE

    #998FEE

    oklch(69.8% 0.137 287.1)

  • #E6777F

    #E6777F

    oklch(69.8% 0.137 16.8)

  • #A8A328

    #A8A328

    oklch(69.8% 0.137 107.1)

  • #00B4B7

    #00B4B7

    oklch(69.8% 0.119 196.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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