#7D98FD

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.4% 0.151 270.8), rgb(125, 152, 253).

Aa

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

About this color

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

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

Values

HEX#7D98FD
RGBrgb(125, 152, 253)
HSLhsl(227, 97%, 74%)
OKLCHoklch(70.4% 0.151 270.8)

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 #7D98FD 2.69:1 Fails Lc -57.4 Large or bold text, headings
Black text on #7D98FD 7.78:1 AAA Lc 51.8 Large or bold text, headings
#7D98FD text on white 2.69:1 Fails Lc 52.2 Large or bold text, headings
#7D98FD text on black 7.78:1 AAA Lc -49.7 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

    #AABEFE

    oklch(81% 0.094 270.8)

  5. Step 400

    400 (this color)

    #7D98FD

    oklch(70.4% 0.151 270.8)

  6. Step 500

    500

    #607CFC

    oklch(63.2% 0.192 270.7)

  7. Step 600

    600

    #4A60EB

    oklch(55.5% 0.21 271)

  8. Step 700

    700

    #3C4ECD

    oklch(49.1% 0.196 271)

  9. Step 800

    800

    #3141A6

    oklch(42.7% 0.162 270.9)

  10. Step 900

    900

    #2A3983

    oklch(37.7% 0.125 270.6)

  11. Step 950

    950

    #18224D

    oklch(27% 0.08 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#7D98FD 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)#70A3FF0.030
Deuteranopia (no green cones)#6298FB0.030
Tritanopia (no blue cones)#44AEBE0.136
Achromatopsia (no color)#9D9D9D0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D98FD

    #7D98FD

    oklch(70.4% 0.151 270.8)

  • #C19B00

    #C19B00

    oklch(70.4% 0.144 91.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D98FD

    #7D98FD

    oklch(70.4% 0.151 270.8)

  • #2AA9F4

    #2AA9F4

    oklch(70.3% 0.152 241.1)

  • #B087EE

    #B087EE

    oklch(70.4% 0.151 301)

Open the analogous palette in the generator

Split complementary

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

  • #7D98FD

    #7D98FD

    oklch(70.4% 0.151 270.8)

  • #E28626

    #E28626

    oklch(70.4% 0.151 60.7)

  • #92AD2E

    #92AD2E

    oklch(70.4% 0.151 121)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D98FD

    #7D98FD

    oklch(70.4% 0.151 270.8)

  • #EE7764

    #EE7764

    oklch(70.3% 0.151 30.6)

  • #4AB96D

    #4AB96D

    oklch(70.3% 0.15 151)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D98FD

    #7D98FD

    oklch(70.4% 0.151 270.8)

  • #E9739A

    #E9739A

    oklch(70.3% 0.151 0.8)

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

Similar named colors

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

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