#7E97FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.3% 0.155 271.7), rgb(126, 151, 255).

Aa

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

About this color

#7E97FF is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.155 and its hue 272°. 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.75:1.

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

Values

HEX#7E97FF
RGBrgb(126, 151, 255)
HSLhsl(228, 100%, 75%)
OKLCHoklch(70.3% 0.155 271.7)

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 #7E97FF 2.70:1 Fails Lc -57.5 Large or bold text, headings
Black text on #7E97FF 7.75:1 AAA Lc 51.7 Large or bold text, headings
#7E97FF text on white 2.70:1 Fails Lc 52.3 Large or bold text, headings
#7E97FF text on black 7.75: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CCD8FE

    oklch(88.5% 0.054 271.5)

  4. Step 300

    300

    #AABDFF

    oklch(80.8% 0.096 271.7)

  5. Step 400

    400 (this color)

    #7E97FF

    oklch(70.3% 0.155 271.7)

  6. Step 500

    500

    #627AFF

    oklch(63.1% 0.198 271.8)

  7. Step 600

    600

    #4C5FEE

    oklch(55.7% 0.214 271.7)

  8. Step 700

    700

    #3E4DCF

    oklch(49.2% 0.199 271.7)

  9. Step 800

    800

    #3240A7

    oklch(42.6% 0.165 271.5)

  10. Step 900

    900

    #2B3885

    oklch(37.7% 0.129 271.5)

  11. Step 950

    950

    #19214E

    oklch(26.9% 0.083 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#7E97FF 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)#6DA3FF0.034
Deuteranopia (no green cones)#5F98FD0.034
Tritanopia (no blue cones)#45ADBF0.137
Achromatopsia (no color)#9D9D9D0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E97FF

    #7E97FF

    oklch(70.3% 0.155 271.7)

  • #C09B00

    #C09B00

    oklch(70.3% 0.144 91.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E97FF

    #7E97FF

    oklch(70.3% 0.155 271.7)

  • #27A9F6

    #27A9F6

    oklch(70.4% 0.154 241.5)

  • #B186EF

    #B186EF

    oklch(70.4% 0.154 301.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E97FF

    #7E97FF

    oklch(70.3% 0.155 271.7)

  • #E2861C

    #E2861C

    oklch(70.4% 0.154 62)

  • #90AE2B

    #90AE2B

    oklch(70.4% 0.155 122)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E97FF

    #7E97FF

    oklch(70.3% 0.155 271.7)

  • #F07660

    #F07660

    oklch(70.3% 0.155 31.7)

  • #43BA6D

    #43BA6D

    oklch(70.3% 0.154 151.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E97FF

    #7E97FF

    oklch(70.3% 0.155 271.7)

  • #EB7298

    #EB7298

    oklch(70.4% 0.154 2)

  • #C09B00

    #C09B00

    oklch(70.3% 0.144 91.6)

  • #00B9A5

    #00B9A5

    oklch(70.5% 0.127 181.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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