#998CEE

Closest named color: Perrywinkle (#8F8CE7). oklch(69.3% 0.141 288.2), rgb(153, 140, 238).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.141)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.34:1
White text2.86:1

Values

HEX#998CEE
RGBrgb(153, 140, 238)
HSLhsl(248, 74%, 74%)
OKLCHoklch(69.3% 0.141 288.2)

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 #998CEE 2.86:1 Fails Lc -60.0 Large or bold text, headings
Black text on #998CEE 7.34:1 AAA Lc 49.4 Large or bold text, headings
#998CEE text on white 2.86:1 Fails Lc 54.7 Large or bold text, headings
#998CEE text on black 7.34:1 AAA Lc -47.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

    #E9E8FB

    oklch(93.7% 0.026 288.3)

  3. Step 200

    200

    #D7D5F9

    oklch(88.6% 0.049 287.9)

  4. Step 300

    300

    #BDB8F7

    oklch(80.9% 0.088 287.9)

  5. Step 400

    400 (this color)

    #998CEE

    oklch(69.3% 0.141 288.2)

  6. Step 500

    500

    #8871EE

    oklch(63% 0.181 288.6)

  7. Step 600

    600

    #7356DD

    oklch(55.6% 0.197 288.2)

  8. Step 700

    700

    #6145C0

    oklch(49.2% 0.183 288.2)

  9. Step 800

    800

    #4F3A9B

    oklch(42.8% 0.151 288.3)

  10. Step 900

    900

    #41337B

    oklch(37.7% 0.117 288.4)

  11. Step 950

    950

    #261F48

    oklch(27.1% 0.074 288.3)

Export this scale for Tailwind in the Tailwind colors tool

#998CEE 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)#6C9BF20.064
Deuteranopia (no green cones)#6B96EC0.062
Tritanopia (no blue cones)#839FB20.119
Achromatopsia (no color)#9999990.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #998CEE

    #998CEE

    oklch(69.3% 0.141 288.2)

  • #A5A21E

    #A5A21E

    oklch(69.3% 0.142 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998CEE

    #998CEE

    oklch(69.3% 0.141 288.2)

  • #639CF3

    #639CF3

    oklch(69.2% 0.142 258.6)

  • #C07ED4

    #C07ED4

    oklch(69.2% 0.141 318.1)

Open the analogous palette in the generator

Split complementary

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

  • #998CEE

    #998CEE

    oklch(69.3% 0.141 288.2)

  • #CB8F0F

    #CB8F0F

    oklch(69.2% 0.141 78.1)

  • #6DB056

    #6DB056

    oklch(69.1% 0.141 138.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998CEE

    #998CEE

    oklch(69.3% 0.141 288.2)

  • #E17E46

    #E17E46

    oklch(69.2% 0.141 48.4)

  • #00B78C

    #00B78C

    oklch(69.2% 0.14 168.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998CEE

    #998CEE

    oklch(69.3% 0.141 288.2)

  • #E6747A

    #E6747A

    oklch(69.2% 0.141 18.2)

  • #A5A21E

    #A5A21E

    oklch(69.3% 0.142 108.2)

  • #00B2B7

    #00B2B7

    oklch(69.3% 0.118 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 #998CEE, closest first.

Similar named colors

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

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