#7D98FA

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.2% 0.147 270.6), rgb(125, 152, 250).

Aa

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

About this color

#7D98FA is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.147 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.74:1.

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

Values

HEX#7D98FA
RGBrgb(125, 152, 250)
HSLhsl(227, 93%, 74%)
OKLCHoklch(70.2% 0.147 270.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 #7D98FA 2.71:1 Fails Lc -57.6 Large or bold text, headings
Black text on #7D98FA 7.74:1 AAA Lc 51.6 Large or bold text, headings
#7D98FA text on white 2.71:1 Fails Lc 52.4 Large or bold text, headings
#7D98FA text on black 7.74:1 AAA Lc -49.5 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

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CCD8FC

    oklch(88.5% 0.051 270.8)

  4. Step 300

    300

    #AABEFD

    oklch(80.9% 0.092 270.6)

  5. Step 400

    400 (this color)

    #7D98FA

    oklch(70.2% 0.147 270.6)

  6. Step 500

    500

    #607DF9

    oklch(63.1% 0.187 270.3)

  7. Step 600

    600

    #4A62E8

    oklch(55.6% 0.203 270.6)

  8. Step 700

    700

    #3C50CA

    oklch(49.2% 0.189 270.6)

  9. Step 800

    800

    #3142A3

    oklch(42.6% 0.157 270.7)

  10. Step 900

    900

    #2A3981

    oklch(37.6% 0.122 270.6)

  11. Step 950

    950

    #19224C

    oklch(27% 0.078 271.2)

Export this scale for Tailwind in the Tailwind colors tool

#7D98FA 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)#71A3FE0.029
Deuteranopia (no green cones)#6498F80.028
Tritanopia (no blue cones)#47ADBD0.131
Achromatopsia (no color)#9D9D9D0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D98FA

    #7D98FA

    oklch(70.2% 0.147 270.6)

  • #C19A00

    #C19A00

    oklch(70.2% 0.144 90.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D98FA

    #7D98FA

    oklch(70.2% 0.147 270.6)

  • #30A9F1

    #30A9F1

    oklch(70.3% 0.147 240.7)

  • #AE88EC

    #AE88EC

    oklch(70.3% 0.146 300.2)

Open the analogous palette in the generator

Split complementary

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

  • #7D98FA

    #7D98FA

    oklch(70.2% 0.147 270.6)

  • #E0862C

    #E0862C

    oklch(70.2% 0.147 60.3)

  • #93AC33

    #93AC33

    oklch(70.2% 0.146 120.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D98FA

    #7D98FA

    oklch(70.2% 0.147 270.6)

  • #EC7865

    #EC7865

    oklch(70.2% 0.147 30.8)

  • #4EB86D

    #4EB86D

    oklch(70.2% 0.147 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D98FA

    #7D98FA

    oklch(70.2% 0.147 270.6)

  • #E7749A

    #E7749A

    oklch(70.2% 0.147 0.7)

  • #C19A00

    #C19A00

    oklch(70.2% 0.144 90.5)

  • #00B8A3

    #00B8A3

    oklch(70.2% 0.127 180.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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