#7F97EC

Closest named color: Periwinkle Blue (#8F99FB). oklch(69.4% 0.128 270.8), rgb(127, 151, 236).

Aa

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

About this color

#7F97EC is a medium-light, moderately saturated blue. In OKLCH its lightness is 69%, its chroma 0.128 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.031 away. Black text reads best on it, at 7.54:1.

Hue familyBlues
Lightnessmedium-light (69%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.54:1
White text2.78:1

Values

HEX#7F97EC
RGBrgb(127, 151, 236)
HSLhsl(227, 74%, 71%)
OKLCHoklch(69.4% 0.128 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 #7F97EC 2.78:1 Fails Lc -58.8 Large or bold text, headings
Black text on #7F97EC 7.54:1 AAA Lc 50.5 Large or bold text, headings
#7F97EC text on white 2.78:1 Fails Lc 53.6 Large or bold text, headings
#7F97EC text on black 7.54:1 AAA Lc -48.3 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CED8F7

    oklch(88.4% 0.044 271.3)

  4. Step 300

    300

    #ADBEF5

    oklch(80.8% 0.08 271.2)

  5. Step 400

    400 (this color)

    #7F97EC

    oklch(69.4% 0.128 270.8)

  6. Step 500

    500

    #6680EB

    oklch(63.2% 0.163 270.8)

  7. Step 600

    600

    #4F66DA

    oklch(55.6% 0.179 271)

  8. Step 700

    700

    #4054BD

    oklch(49.1% 0.166 270.9)

  9. Step 800

    800

    #344699

    oklch(42.8% 0.137 270.4)

  10. Step 900

    900

    #2D3B7A

    oklch(37.6% 0.108 271)

  11. Step 950

    950

    #1A2347

    oklch(26.9% 0.068 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F97EC 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)#78A0EF0.023
Deuteranopia (no green cones)#6D97EA0.022
Tritanopia (no blue cones)#56A9B60.116
Achromatopsia (no color)#9B9B9B0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F97EC

    #7F97EC

    oklch(69.4% 0.128 270.8)

  • #BA992A

    #BA992A

    oklch(69.4% 0.129 91.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F97EC

    #7F97EC

    oklch(69.4% 0.128 270.8)

  • #46A6E4

    #46A6E4

    oklch(69.5% 0.128 240.6)

  • #AA89DF

    #AA89DF

    oklch(69.4% 0.127 300.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F97EC

    #7F97EC

    oklch(69.4% 0.128 270.8)

  • #D58840

    #D58840

    oklch(69.3% 0.128 60.9)

  • #91A845

    #91A845

    oklch(69.3% 0.128 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F97EC

    #7F97EC

    oklch(69.4% 0.128 270.8)

  • #E17C6B

    #E17C6B

    oklch(69.4% 0.129 30.7)

  • #5AB372

    #5AB372

    oklch(69.5% 0.129 150.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F97EC

    #7F97EC

    oklch(69.4% 0.128 270.8)

  • #DC7898

    #DC7898

    oklch(69.3% 0.129 0.6)

  • #BA992A

    #BA992A

    oklch(69.4% 0.129 91.4)

  • #00B5A1

    #00B5A1

    oklch(69.3% 0.125 181.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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