#7F97FD

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.3% 0.152 272), rgb(127, 151, 253).

Aa

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

About this color

#7F97FD is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.152 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.74:1.

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

Values

HEX#7F97FD
RGBrgb(127, 151, 253)
HSLhsl(229, 97%, 75%)
OKLCHoklch(70.3% 0.152 272)

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

    #CDD8FD

    oklch(88.6% 0.052 272.2)

  4. Step 300

    300

    #ABBDFF

    oklch(80.9% 0.096 272.3)

  5. Step 400

    400 (this color)

    #7F97FD

    oklch(70.3% 0.152 272)

  6. Step 500

    500

    #637BFD

    oklch(63.2% 0.194 271.9)

  7. Step 600

    600

    #4D5FEC

    oklch(55.6% 0.211 272)

  8. Step 700

    700

    #3F4DCD

    oklch(49% 0.196 272.1)

  9. Step 800

    800

    #3340A6

    oklch(42.6% 0.163 271.9)

  10. Step 900

    900

    #2C3883

    oklch(37.6% 0.126 272.1)

  11. Step 950

    950

    #1A224D

    oklch(27.1% 0.079 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F97FD 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.033
Deuteranopia (no green cones)#6198FB0.033
Tritanopia (no blue cones)#49ADBE0.135
Achromatopsia (no color)#9D9D9D0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F97FD

    #7F97FD

    oklch(70.3% 0.152 272)

  • #BF9B00

    #BF9B00

    oklch(70.2% 0.144 92.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F97FD

    #7F97FD

    oklch(70.3% 0.152 272)

  • #2EA8F5

    #2EA8F5

    oklch(70.2% 0.152 242.4)

  • #B186ED

    #B186ED

    oklch(70.3% 0.152 301.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F97FD

    #7F97FD

    oklch(70.3% 0.152 272)

  • #E18621

    #E18621

    oklch(70.3% 0.152 61.7)

  • #90AD2F

    #90AD2F

    oklch(70.2% 0.151 121.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F97FD

    #7F97FD

    oklch(70.3% 0.152 272)

  • #EE7761

    #EE7761

    oklch(70.2% 0.151 31.9)

  • #45BA6E

    #45BA6E

    oklch(70.4% 0.153 151.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F97FD

    #7F97FD

    oklch(70.3% 0.152 272)

  • #EA7398

    #EA7398

    oklch(70.4% 0.151 2.1)

  • #BF9B00

    #BF9B00

    oklch(70.2% 0.144 92.1)

  • #00B8A5

    #00B8A5

    oklch(70.2% 0.126 182)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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