#7987FB

Closest named color: Lavender Blue (#8B88F8). oklch(66.7% 0.171 275.6), rgb(121, 135, 251).

Aa

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

About this color

#7987FB is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.171 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.025 away. Black text reads best on it, at 6.67:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.171)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text6.67:1
White text3.14:1

Values

HEX#7987FB
RGBrgb(121, 135, 251)
HSLhsl(234, 94%, 73%)
OKLCHoklch(66.7% 0.171 275.6)

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 #7987FB 3.14:1 AA large text Lc -63.8 Content text, not long reading
Black text on #7987FB 6.67:1 AA Lc 45.7 Large or bold text, headings
#7987FB text on white 3.14:1 AA large text Lc 58.4 Large or bold text, headings
#7987FB text on black 6.67:1 AA Lc -43.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D0D7F8

    oklch(88.4% 0.046 276)

  4. Step 300

    300

    #B1BDF7

    oklch(81% 0.083 275.3)

  5. Step 400

    400

    #8A98F3

    oklch(70.7% 0.134 275.8)

  6. Step 500

    500 (this color)

    #7987FB

    oklch(66.7% 0.171 275.6)

  7. Step 600

    600

    #5962DD

    oklch(55.7% 0.185 275.5)

  8. Step 700

    700

    #4950C0

    oklch(49.1% 0.173 275.3)

  9. Step 800

    800

    #3C429B

    oklch(42.7% 0.143 275.6)

  10. Step 900

    900

    #33397B

    oklch(37.7% 0.111 275.8)

  11. Step 950

    950

    #1D2248

    oklch(27% 0.07 275)

Export this scale for Tailwind in the Tailwind colors tool

#7987FB 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)#5397FF0.052
Deuteranopia (no green cones)#458CF80.054
Tritanopia (no blue cones)#3FA0B50.150
Achromatopsia (no color)#9191910.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #7987FB

    #7987FB

    oklch(66.7% 0.171 275.6)

  • #AE9300

    #AE9300

    oklch(66.8% 0.137 95.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7987FB

    #7987FB

    oklch(66.7% 0.171 275.6)

  • #009BF5

    #009BF5

    oklch(66.8% 0.17 245.6)

  • #AE74E6

    #AE74E6

    oklch(66.6% 0.171 305.8)

Open the analogous palette in the generator

Split complementary

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

  • #7987FB

    #7987FB

    oklch(66.7% 0.171 275.6)

  • #D17E00

    #D17E00

    oklch(66.7% 0.149 65.5)

  • #7BA500

    #7BA500

    oklch(66.6% 0.169 125.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7987FB

    #7987FB

    oklch(66.7% 0.171 275.6)

  • #E96644

    #E96644

    oklch(66.7% 0.17 35.6)

  • #00B167

    #00B167

    oklch(66.8% 0.164 155.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7987FB

    #7987FB

    oklch(66.7% 0.171 275.6)

  • #E75F85

    #E75F85

    oklch(66.7% 0.171 5.6)

  • #AE9300

    #AE9300

    oklch(66.8% 0.137 95.9)

  • #00AB9E

    #00AB9E

    oklch(66.7% 0.117 185.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7987FB.

Similar named colors

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

Use #7987FB 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.