#998FEB

Closest named color: Perrywinkle (#8F8CE7). oklch(69.7% 0.133 287.4), rgb(153, 143, 235).

Aa

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

About this color

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

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

Values

HEX#998FEB
RGBrgb(153, 143, 235)
HSLhsl(247, 70%, 74%)
OKLCHoklch(69.7% 0.133 287.4)

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 #998FEB 2.80:1 Fails Lc -59.2 Large or bold text, headings
Black text on #998FEB 7.48:1 AAA Lc 50.1 Large or bold text, headings
#998FEB text on white 2.80:1 Fails Lc 53.9 Large or bold text, headings
#998FEB text on black 7.48:1 AAA Lc -47.9 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

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D7D5F7

    oklch(88.5% 0.047 288.1)

  4. Step 300

    300

    #BDB9F4

    oklch(81% 0.083 287.5)

  5. Step 400

    400 (this color)

    #998FEB

    oklch(69.7% 0.133 287.4)

  6. Step 500

    500

    #8674E9

    oklch(63.1% 0.17 287.6)

  7. Step 600

    600

    #715AD7

    oklch(55.7% 0.184 287.3)

  8. Step 700

    700

    #5F48BB

    oklch(49.1% 0.173 287.4)

  9. Step 800

    800

    #4D3C97

    oklch(42.6% 0.143 287.3)

  10. Step 900

    900

    #403578

    oklch(37.8% 0.11 287.5)

  11. Step 950

    950

    #251F46

    oklch(26.9% 0.07 287.8)

Export this scale for Tailwind in the Tailwind colors tool

#998FEB 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)#729DEF0.057
Deuteranopia (no green cones)#7198E90.055
Tritanopia (no blue cones)#84A0B20.112
Achromatopsia (no color)#9A9A9A0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #998FEB

    #998FEB

    oklch(69.7% 0.133 287.4)

  • #A7A32F

    #A7A32F

    oklch(69.8% 0.133 107.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998FEB

    #998FEB

    oklch(69.7% 0.133 287.4)

  • #669EEF

    #669EEF

    oklch(69.6% 0.134 257.6)

  • #BF82D3

    #BF82D3

    oklch(69.7% 0.132 317.5)

Open the analogous palette in the generator

Split complementary

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

  • #998FEB

    #998FEB

    oklch(69.7% 0.133 287.4)

  • #CB9128

    #CB9128

    oklch(69.7% 0.133 77.1)

  • #74B05B

    #74B05B

    oklch(69.6% 0.133 137.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998FEB

    #998FEB

    oklch(69.7% 0.133 287.4)

  • #DF8150

    #DF8150

    oklch(69.6% 0.133 47.2)

  • #28B78C

    #28B78C

    oklch(69.6% 0.133 167.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998FEB

    #998FEB

    oklch(69.7% 0.133 287.4)

  • #E4787F

    #E4787F

    oklch(69.6% 0.134 17.1)

  • #A7A32F

    #A7A32F

    oklch(69.8% 0.133 107.4)

  • #00B3B7

    #00B3B7

    oklch(69.6% 0.118 197.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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