#7F87FD

Closest named color: Lavender Blue (#8B88F8). oklch(67.2% 0.172 277.8), rgb(127, 135, 253).

Aa

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

About this color

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

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

Values

HEX#7F87FD
RGBrgb(127, 135, 253)
HSLhsl(236, 97%, 75%)
OKLCHoklch(67.2% 0.172 277.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 #7F87FD 3.09:1 AA large text Lc -63.1 Content text, not long reading
Black text on #7F87FD 6.78:1 AA Lc 46.4 Large or bold text, headings
#7F87FD text on white 3.09:1 AA large text Lc 57.7 Large or bold text, headings
#7F87FD text on black 6.78:1 AA Lc -44.1 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 400.

  1. Step 50

    50

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E8FF

    oklch(93.5% 0.031 277.9)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300

    #B1BBFF

    oklch(80.9% 0.097 277.5)

  5. Step 400

    400 (this color)

    #7F87FD

    oklch(67.2% 0.172 277.8)

  6. Step 500

    500

    #7175FF

    oklch(63.1% 0.201 277.7)

  7. Step 600

    600

    #5C52FA

    oklch(55.6% 0.24 277.8)

  8. Step 700

    700

    #4D41DA

    oklch(49.2% 0.222 277.9)

  9. Step 800

    800

    #3E37B0

    oklch(42.7% 0.185 277.7)

  10. Step 900

    900

    #34328B

    oklch(37.7% 0.144 278)

  11. Step 950

    950

    #1E1E51

    oklch(26.9% 0.091 278.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F87FD 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)#5398FF0.059
Deuteranopia (no green cones)#478EFA0.060
Tritanopia (no blue cones)#4CA0B60.150
Achromatopsia (no color)#9292920.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F87FD

    #7F87FD

    oklch(67.2% 0.172 277.8)

  • #AD9500

    #AD9500

    oklch(67.1% 0.139 97.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F87FD

    #7F87FD

    oklch(67.2% 0.172 277.8)

  • #1B9BF9

    #1B9BF9

    oklch(67.2% 0.172 247.8)

  • #B374E6

    #B374E6

    oklch(67.1% 0.172 307.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F87FD

    #7F87FD

    oklch(67.2% 0.172 277.8)

  • #D08100

    #D08100

    oklch(67.1% 0.148 67.7)

  • #77A80D

    #77A80D

    oklch(67.1% 0.172 127.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F87FD

    #7F87FD

    oklch(67.2% 0.172 277.8)

  • #EB683F

    #EB683F

    oklch(67.2% 0.172 37.7)

  • #00B26F

    #00B26F

    oklch(67.2% 0.158 157.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F87FD

    #7F87FD

    oklch(67.2% 0.172 277.8)

  • #EA6082

    #EA6082

    oklch(67.2% 0.173 7.8)

  • #AD9500

    #AD9500

    oklch(67.1% 0.139 97.6)

  • #00ADA3

    #00ADA3

    oklch(67.3% 0.117 187.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7F87FD.

Similar named colors

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

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