#998CEF

Closest named color: Perrywinkle (#8F8CE7). oklch(69.3% 0.143 288.1), rgb(153, 140, 239).

Aa

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

About this color

#998CEF is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.143 and its hue 288°. 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.35:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.143)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.35:1
White text2.85:1

Values

HEX#998CEF
RGBrgb(153, 140, 239)
HSLhsl(248, 76%, 74%)
OKLCHoklch(69.3% 0.143 288.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 #998CEF 2.85:1 Fails Lc -59.9 Large or bold text, headings
Black text on #998CEF 7.35:1 AAA Lc 49.5 Large or bold text, headings
#998CEF text on white 2.85:1 Fails Lc 54.6 Large or bold text, headings
#998CEF text on black 7.35: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

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D7D5F9

    oklch(88.6% 0.049 287.9)

  4. Step 300

    300

    #BDB8F8

    oklch(80.9% 0.09 287.8)

  5. Step 400

    400 (this color)

    #998CEF

    oklch(69.3% 0.143 288.1)

  6. Step 500

    500

    #8771EF

    oklch(63% 0.182 288)

  7. Step 600

    600

    #7355DE

    oklch(55.6% 0.199 288.2)

  8. Step 700

    700

    #6145C1

    oklch(49.2% 0.184 288.1)

  9. Step 800

    800

    #4F399C

    oklch(42.7% 0.154 288.4)

  10. Step 900

    900

    #41337C

    oklch(37.8% 0.119 288.2)

  11. Step 950

    950

    #261E48

    oklch(26.9% 0.075 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#998CEF 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)#6B9BF30.065
Deuteranopia (no green cones)#6B96ED0.062
Tritanopia (no blue cones)#839FB20.120
Achromatopsia (no color)#9999990.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #998CEF

    #998CEF

    oklch(69.3% 0.143 288.1)

  • #A5A21B

    #A5A21B

    oklch(69.3% 0.143 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998CEF

    #998CEF

    oklch(69.3% 0.143 288.1)

  • #629DF4

    #629DF4

    oklch(69.4% 0.143 258)

  • #C17ED5

    #C17ED5

    oklch(69.4% 0.142 318.2)

Open the analogous palette in the generator

Split complementary

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

  • #998CEF

    #998CEF

    oklch(69.3% 0.143 288.1)

  • #CC8F09

    #CC8F09

    oklch(69.3% 0.143 77.9)

  • #6DB155

    #6DB155

    oklch(69.4% 0.144 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998CEF

    #998CEF

    oklch(69.3% 0.143 288.1)

  • #E27E46

    #E27E46

    oklch(69.3% 0.142 48.2)

  • #00B78C

    #00B78C

    oklch(69.2% 0.14 168.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998CEF

    #998CEF

    oklch(69.3% 0.143 288.1)

  • #E7747A

    #E7747A

    oklch(69.3% 0.143 18.3)

  • #A5A21B

    #A5A21B

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

Similar named colors

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

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