#998EF0

Closest named color: Perrywinkle (#8F8CE7). oklch(69.7% 0.141 287.3), rgb(153, 142, 240).

Aa

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

About this color

#998EF0 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.141 and its hue 287°. 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.48:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.141)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.48:1
White text2.80:1

Values

HEX#998EF0
RGBrgb(153, 142, 240)
HSLhsl(247, 77%, 75%)
OKLCHoklch(69.7% 0.141 287.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 #998EF0 2.80:1 Fails Lc -59.1 Large or bold text, headings
Black text on #998EF0 7.48:1 AAA Lc 50.2 Large or bold text, headings
#998EF0 text on white 2.80:1 Fails Lc 53.9 Large or bold text, headings
#998EF0 text on black 7.48:1 AAA Lc -48.0 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

    #D6D5F9

    oklch(88.5% 0.049 286.6)

  4. Step 300

    300

    #BCB8F7

    oklch(80.8% 0.088 287.2)

  5. Step 400

    400 (this color)

    #998EF0

    oklch(69.7% 0.141 287.3)

  6. Step 500

    500

    #8672EF

    oklch(63.1% 0.181 287.4)

  7. Step 600

    600

    #7157DD

    oklch(55.6% 0.195 287.2)

  8. Step 700

    700

    #5F46C0

    oklch(49.1% 0.182 287.1)

  9. Step 800

    800

    #4D3A9B

    oklch(42.6% 0.151 287.2)

  10. Step 900

    900

    #40337B

    oklch(37.6% 0.118 287.7)

  11. Step 950

    950

    #251F48

    oklch(27% 0.074 287.1)

Export this scale for Tailwind in the Tailwind colors tool

#998EF0 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)#6E9DF40.062
Deuteranopia (no green cones)#6C98EE0.060
Tritanopia (no blue cones)#82A1B30.121
Achromatopsia (no color)#9A9A9A0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #998EF0

    #998EF0

    oklch(69.7% 0.141 287.3)

  • #A8A320

    #A8A320

    oklch(69.8% 0.141 107.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998EF0

    #998EF0

    oklch(69.7% 0.141 287.3)

  • #629EF4

    #629EF4

    oklch(69.6% 0.142 257.5)

  • #C180D7

    #C180D7

    oklch(69.8% 0.141 317.2)

Open the analogous palette in the generator

Split complementary

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

  • #998EF0

    #998EF0

    oklch(69.7% 0.141 287.3)

  • #CE9015

    #CE9015

    oklch(69.7% 0.141 77)

  • #71B256

    #71B256

    oklch(69.9% 0.142 137.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998EF0

    #998EF0

    oklch(69.7% 0.141 287.3)

  • #E37F4A

    #E37F4A

    oklch(69.7% 0.141 47.2)

  • #09B98B

    #09B98B

    oklch(69.8% 0.142 167)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998EF0

    #998EF0

    oklch(69.7% 0.141 287.3)

  • #E8767D

    #E8767D

    oklch(69.8% 0.141 17.6)

  • #A8A320

    #A8A320

    oklch(69.8% 0.141 107.2)

  • #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 #998EF0, closest first.

Similar named colors

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

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