#7F97FA

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.1% 0.148 271.8), rgb(127, 151, 250).

Aa

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

About this color

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

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

Values

HEX#7F97FA
RGBrgb(127, 151, 250)
HSLhsl(228, 92%, 74%)
OKLCHoklch(70.1% 0.148 271.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 #7F97FA 2.72:1 Fails Lc -57.8 Large or bold text, headings
Black text on #7F97FA 7.70:1 AAA Lc 51.4 Large or bold text, headings
#7F97FA text on white 2.72:1 Fails Lc 52.6 Large or bold text, headings
#7F97FA text on black 7.70:1 AAA Lc -49.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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CDD8FC

    oklch(88.5% 0.051 271.9)

  4. Step 300

    300

    #ABBEFD

    oklch(81% 0.092 271.3)

  5. Step 400

    400 (this color)

    #7F97FA

    oklch(70.1% 0.148 271.8)

  6. Step 500

    500

    #647CFA

    oklch(63.2% 0.188 271.9)

  7. Step 600

    600

    #4D61E9

    oklch(55.7% 0.205 271.6)

  8. Step 700

    700

    #3F4FCA

    oklch(49.1% 0.19 271.8)

  9. Step 800

    800

    #3441A3

    oklch(42.6% 0.158 272.1)

  10. Step 900

    900

    #2C3982

    oklch(37.8% 0.123 271.6)

  11. Step 950

    950

    #1A224C

    oklch(27.1% 0.078 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F97FA 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)#70A2FE0.030
Deuteranopia (no green cones)#6498F80.031
Tritanopia (no blue cones)#4CACBC0.132
Achromatopsia (no color)#9D9D9D0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F97FA

    #7F97FA

    oklch(70.1% 0.148 271.8)

  • #BF9B00

    #BF9B00

    oklch(70.2% 0.144 92.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F97FA

    #7F97FA

    oklch(70.1% 0.148 271.8)

  • #33A8F2

    #33A8F2

    oklch(70.2% 0.148 241.9)

  • #B087EB

    #B087EB

    oklch(70.2% 0.147 301.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F97FA

    #7F97FA

    oklch(70.1% 0.148 271.8)

  • #DF8728

    #DF8728

    oklch(70.2% 0.148 62)

  • #90AC34

    #90AC34

    oklch(70% 0.147 121.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F97FA

    #7F97FA

    oklch(70.1% 0.148 271.8)

  • #EC7863

    #EC7863

    oklch(70.1% 0.148 31.7)

  • #49B86F

    #49B86F

    oklch(70% 0.147 151.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F97FA

    #7F97FA

    oklch(70.1% 0.148 271.8)

  • #E87498

    #E87498

    oklch(70.2% 0.148 1.9)

  • #BF9B00

    #BF9B00

    oklch(70.2% 0.144 92.1)

  • #00B8A4

    #00B8A4

    oklch(70.2% 0.126 181.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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