#7A98FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.3% 0.155 269.8), rgb(122, 152, 255).

Aa

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

About this color

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

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

Values

HEX#7A98FF
RGBrgb(122, 152, 255)
HSLhsl(226, 100%, 74%)
OKLCHoklch(70.3% 0.155 269.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 #7A98FF 2.70:1 Fails Lc -57.5 Large or bold text, headings
Black text on #7A98FF 7.76:1 AAA Lc 51.7 Large or bold text, headings
#7A98FF text on white 2.70:1 Fails Lc 52.3 Large or bold text, headings
#7A98FF text on black 7.76:1 AAA Lc -49.6 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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2E9FD

    oklch(93.5% 0.028 270.4)

  3. Step 200

    200

    #CBD8FE

    oklch(88.5% 0.054 270.4)

  4. Step 300

    300

    #A8BEFF

    oklch(80.9% 0.096 269.8)

  5. Step 400

    400 (this color)

    #7A98FF

    oklch(70.3% 0.155 269.8)

  6. Step 500

    500

    #5C7CFF

    oklch(63.1% 0.197 269.6)

  7. Step 600

    600

    #4660EE

    oklch(55.5% 0.214 269.9)

  8. Step 700

    700

    #384ECF

    oklch(49% 0.199 269.8)

  9. Step 800

    800

    #2E41A8

    oklch(42.7% 0.166 269.8)

  10. Step 900

    900

    #283985

    oklch(37.8% 0.129 269.7)

  11. Step 950

    950

    #17224E

    oklch(27% 0.082 269.6)

Export this scale for Tailwind in the Tailwind colors tool

#7A98FF 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)#6EA3FF0.030
Deuteranopia (no green cones)#5F98FD0.030
Tritanopia (no blue cones)#39AEBF0.138
Achromatopsia (no color)#9D9D9D0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A98FF

    #7A98FF

    oklch(70.3% 0.155 269.8)

  • #C29A00

    #C29A00

    oklch(70.3% 0.144 90)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A98FF

    #7A98FF

    oklch(70.3% 0.155 269.8)

  • #1BAAF5

    #1BAAF5

    oklch(70.4% 0.155 239.8)

  • #AF87F1

    #AF87F1

    oklch(70.4% 0.155 299.9)

Open the analogous palette in the generator

Split complementary

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

  • #7A98FF

    #7A98FF

    oklch(70.3% 0.155 269.8)

  • #E48422

    #E48422

    oklch(70.3% 0.155 59.5)

  • #94AC25

    #94AC25

    oklch(70.2% 0.154 119.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A98FF

    #7A98FF

    oklch(70.3% 0.155 269.8)

  • #F07564

    #F07564

    oklch(70.3% 0.155 29.6)

  • #49B969

    #49B969

    oklch(70.2% 0.154 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A98FF

    #7A98FF

    oklch(70.3% 0.155 269.8)

  • #EA729C

    #EA729C

    oklch(70.3% 0.154 359.7)

  • #C29A00

    #C29A00

    oklch(70.3% 0.144 90)

  • #00B9A2

    #00B9A2

    oklch(70.4% 0.128 179.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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