#7B98FC

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.2% 0.15 270), rgb(123, 152, 252).

Aa

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

About this color

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

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

Values

HEX#7B98FC
RGBrgb(123, 152, 252)
HSLhsl(227, 96%, 74%)
OKLCHoklch(70.2% 0.15 270)

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 #7B98FC 2.71:1 Fails Lc -57.6 Large or bold text, headings
Black text on #7B98FC 7.73:1 AAA Lc 51.6 Large or bold text, headings
#7B98FC text on white 2.71:1 Fails Lc 52.4 Large or bold text, headings
#7B98FC text on black 7.73: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CBD8FD

    oklch(88.4% 0.053 270)

  4. Step 300

    300

    #A9BEFE

    oklch(80.9% 0.094 270.2)

  5. Step 400

    400 (this color)

    #7B98FC

    oklch(70.2% 0.15 270)

  6. Step 500

    500

    #5E7CFC

    oklch(63% 0.193 270.1)

  7. Step 600

    600

    #4761EB

    oklch(55.5% 0.209 270)

  8. Step 700

    700

    #394FCC

    oklch(49% 0.194 269.9)

  9. Step 800

    800

    #2F42A5

    oklch(42.7% 0.16 269.9)

  10. Step 900

    900

    #293983

    oklch(37.7% 0.126 270.1)

  11. Step 950

    950

    #18224D

    oklch(27% 0.08 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#7B98FC 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.029
Deuteranopia (no green cones)#6298FA0.028
Tritanopia (no blue cones)#40ADBE0.133
Achromatopsia (no color)#9D9D9D0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B98FC

    #7B98FC

    oklch(70.2% 0.15 270)

  • #C29A00

    #C29A00

    oklch(70.3% 0.144 90)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B98FC

    #7B98FC

    oklch(70.2% 0.15 270)

  • #26A9F2

    #26A9F2

    oklch(70.1% 0.15 240)

  • #AE87EE

    #AE87EE

    oklch(70.2% 0.151 300)

Open the analogous palette in the generator

Split complementary

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

  • #7B98FC

    #7B98FC

    oklch(70.2% 0.15 270)

  • #E18528

    #E18528

    oklch(70.1% 0.15 60.1)

  • #94AC2C

    #94AC2C

    oklch(70.3% 0.15 119.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B98FC

    #7B98FC

    oklch(70.2% 0.15 270)

  • #EE7765

    #EE7765

    oklch(70.3% 0.15 30.2)

  • #4DB86B

    #4DB86B

    oklch(70.1% 0.149 150.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B98FC

    #7B98FC

    oklch(70.2% 0.15 270)

  • #E8739B

    #E8739B

    oklch(70.2% 0.15 0.1)

  • #C29A00

    #C29A00

    oklch(70.3% 0.144 90)

  • #00B8A2

    #00B8A2

    oklch(70.1% 0.127 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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