#7D98FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.5% 0.154 270.9), rgb(125, 152, 255).

Aa

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

About this color

#7D98FF is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.154 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.024 away. Black text reads best on it, at 7.80:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromavivid (0.154)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.80:1
White text2.68:1

Values

HEX#7D98FF
RGBrgb(125, 152, 255)
HSLhsl(228, 100%, 75%)
OKLCHoklch(70.5% 0.154 270.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 #7D98FF 2.68:1 Fails Lc -57.3 Large or bold text, headings
Black text on #7D98FF 7.80:1 AAA Lc 52.0 Large or bold text, headings
#7D98FF text on white 2.68:1 Fails Lc 52.1 Large or bold text, headings
#7D98FF text on black 7.80:1 AAA Lc -49.8 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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CCD8FD

    oklch(88.5% 0.053 271.1)

  4. Step 300

    300

    #AABEFF

    oklch(81% 0.095 271)

  5. Step 400

    400 (this color)

    #7D98FF

    oklch(70.5% 0.154 270.9)

  6. Step 500

    500

    #607BFE

    oklch(63.1% 0.196 271)

  7. Step 600

    600

    #4A60ED

    oklch(55.7% 0.212 271)

  8. Step 700

    700

    #3C4ECF

    oklch(49.2% 0.198 271)

  9. Step 800

    800

    #3141A7

    oklch(42.8% 0.164 270.9)

  10. Step 900

    900

    #2A3884

    oklch(37.6% 0.128 271)

  11. Step 950

    950

    #18224D

    oklch(27% 0.08 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#7D98FF 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)#6EA4FF0.033
Deuteranopia (no green cones)#6098FD0.032
Tritanopia (no blue cones)#42AEBF0.137
Achromatopsia (no color)#9E9E9E0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D98FF

    #7D98FF

    oklch(70.5% 0.154 270.9)

  • #C19B00

    #C19B00

    oklch(70.4% 0.144 91.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D98FF

    #7D98FF

    oklch(70.5% 0.154 270.9)

  • #26AAF6

    #26AAF6

    oklch(70.6% 0.154 240.9)

  • #B187F0

    #B187F0

    oklch(70.6% 0.154 301)

Open the analogous palette in the generator

Split complementary

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

  • #7D98FF

    #7D98FF

    oklch(70.5% 0.154 270.9)

  • #E38621

    #E38621

    oklch(70.5% 0.154 61.1)

  • #92AD2B

    #92AD2B

    oklch(70.3% 0.153 120.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D98FF

    #7D98FF

    oklch(70.5% 0.154 270.9)

  • #F07763

    #F07763

    oklch(70.5% 0.153 30.9)

  • #47BA6C

    #47BA6C

    oklch(70.4% 0.154 151)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D98FF

    #7D98FF

    oklch(70.5% 0.154 270.9)

  • #EB729A

    #EB729A

    oklch(70.4% 0.154 1)

  • #C19B00

    #C19B00

    oklch(70.4% 0.144 91.1)

  • #00B9A4

    #00B9A4

    oklch(70.4% 0.127 180.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7D98FF 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.