#998AF7

Closest named color: Lavender Blue (#8B88F8). oklch(69.4% 0.157 287.9), rgb(153, 138, 247).

Aa

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

About this color

#998AF7 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.157 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.021 away. Black text reads best on it, at 7.33:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.157)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.33:1
White text2.86:1

Values

HEX#998AF7
RGBrgb(153, 138, 247)
HSLhsl(248, 87%, 75%)
OKLCHoklch(69.4% 0.157 287.9)

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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D7D4FC

    oklch(88.5% 0.055 288.7)

  4. Step 300

    300

    #BDB7FD

    oklch(80.9% 0.098 287.9)

  5. Step 400

    400 (this color)

    #998AF7

    oklch(69.4% 0.157 287.9)

  6. Step 500

    500

    #886DF9

    oklch(63.1% 0.2 288.1)

  7. Step 600

    600

    #7350E8

    oklch(55.6% 0.217 287.7)

  8. Step 700

    700

    #613FCA

    oklch(49.1% 0.203 287.7)

  9. Step 800

    800

    #4F35A3

    oklch(42.6% 0.168 288)

  10. Step 900

    900

    #413081

    oklch(37.6% 0.13 288.1)

  11. Step 950

    950

    #261D4C

    oklch(27% 0.083 288.3)

Export this scale for Tailwind in the Tailwind colors tool

#998AF7 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)#639BFB0.073
Deuteranopia (no green cones)#6396F40.071
Tritanopia (no blue cones)#809FB50.130
Achromatopsia (no color)#9999990.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #998AF7

    #998AF7

    oklch(69.4% 0.157 287.9)

  • #A6A200

    #A6A200

    oklch(69.3% 0.149 108)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998AF7

    #998AF7

    oklch(69.4% 0.157 287.9)

  • #5B9CFC

    #5B9CFC

    oklch(69.4% 0.157 258.1)

  • #C47ADB

    #C47ADB

    oklch(69.3% 0.157 317.8)

Open the analogous palette in the generator

Split complementary

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

  • #998AF7

    #998AF7

    oklch(69.4% 0.157 287.9)

  • #CD8F00

    #CD8F00

    oklch(69.4% 0.145 77.9)

  • #68B24C

    #68B24C

    oklch(69.2% 0.156 138)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998AF7

    #998AF7

    oklch(69.4% 0.157 287.9)

  • #E87A3A

    #E87A3A

    oklch(69.4% 0.156 48.1)

  • #00B88B

    #00B88B

    oklch(69.5% 0.141 167.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998AF7

    #998AF7

    oklch(69.4% 0.157 287.9)

  • #ED6F77

    #ED6F77

    oklch(69.4% 0.156 18.1)

  • #A6A200

    #A6A200

    oklch(69.3% 0.149 108)

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

Similar named colors

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

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