#998FFF

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.7% 0.16 285.6), rgb(153, 143, 255).

Aa

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

About this color

#998FFF is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.160 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.029 away. Black text reads best on it, at 7.72:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.160)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.72:1
White text2.71:1

Values

HEX#998FFF
RGBrgb(153, 143, 255)
HSLhsl(245, 100%, 78%)
OKLCHoklch(70.7% 0.16 285.6)

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 #998FFF 2.71:1 Fails Lc -57.7 Large or bold text, headings
Black text on #998FFF 7.72:1 AAA Lc 51.5 Large or bold text, headings
#998FFF text on white 2.71:1 Fails Lc 52.5 Large or bold text, headings
#998FFF text on black 7.72:1 AAA Lc -49.4 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D5D5FD

    oklch(88.6% 0.055 285.2)

  4. Step 300

    300

    #BAB8FF

    oklch(81% 0.1 285.2)

  5. Step 400

    400 (this color)

    #998FFF

    oklch(70.7% 0.16 285.6)

  6. Step 500

    500

    #836EFD

    oklch(63.1% 0.204 285.7)

  7. Step 600

    600

    #6F50EC

    oklch(55.6% 0.222 285.7)

  8. Step 700

    700

    #5D3FCE

    oklch(49.1% 0.208 285.5)

  9. Step 800

    800

    #4C36A6

    oklch(42.8% 0.171 285.7)

  10. Step 900

    900

    #3E3184

    oklch(37.8% 0.133 285.2)

  11. Step 950

    950

    #241D4D

    oklch(26.9% 0.085 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#998FFF 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)#66A0FF0.070
Deuteranopia (no green cones)#639AFC0.069
Tritanopia (no blue cones)#7CA5BB0.135
Achromatopsia (no color)#9D9D9D0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #998FFF

    #998FFF

    oklch(70.7% 0.16 285.6)

  • #AEA500

    #AEA500

    oklch(70.7% 0.151 105.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998FFF

    #998FFF

    oklch(70.7% 0.16 285.6)

  • #5AA2FF

    #5AA2FF

    oklch(70.7% 0.155 255.7)

  • #C67EE4

    #C67EE4

    oklch(70.6% 0.161 315.4)

Open the analogous palette in the generator

Split complementary

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

  • #998FFF

    #998FFF

    oklch(70.7% 0.16 285.6)

  • #D59100

    #D59100

    oklch(70.7% 0.149 75.6)

  • #71B648

    #71B648

    oklch(70.7% 0.16 135.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998FFF

    #998FFF

    oklch(70.7% 0.16 285.6)

  • #F07C41

    #F07C41

    oklch(70.8% 0.16 45.6)

  • #00BD8A

    #00BD8A

    oklch(70.8% 0.148 165.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998FFF

    #998FFF

    oklch(70.7% 0.16 285.6)

  • #F3717F

    #F3717F

    oklch(70.7% 0.16 15.5)

  • #AEA500

    #AEA500

    oklch(70.7% 0.151 105.7)

  • #00B7B9

    #00B7B9

    oklch(70.6% 0.12 196.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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