#7F8AFF

Closest named color: Lavender Blue (#8B88F8). oklch(67.9% 0.171 276.8), rgb(127, 138, 255).

Aa

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

About this color

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

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

Values

HEX#7F8AFF
RGBrgb(127, 138, 255)
HSLhsl(235, 100%, 75%)
OKLCHoklch(67.9% 0.171 276.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 #7F8AFF 3.00:1 AA large text Lc -61.9 Content text, not long reading
Black text on #7F8AFF 6.98:1 AA Lc 47.5 Large or bold text, headings
#7F8AFF text on white 3.00:1 AA large text Lc 56.6 Large or bold text, headings
#7F8AFF text on black 6.98:1 AA Lc -45.2 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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E9FF

    oklch(93.7% 0.03 275.6)

  3. Step 200

    200

    #CFD7FF

    oklch(88.6% 0.056 276.3)

  4. Step 300

    300

    #B0BBFF

    oklch(80.8% 0.097 276.9)

  5. Step 400

    400 (this color)

    #7F8AFF

    oklch(67.9% 0.171 276.8)

  6. Step 500

    500

    #6F76FF

    oklch(63.2% 0.2 276.8)

  7. Step 600

    600

    #5954F9

    oklch(55.6% 0.237 276.7)

  8. Step 700

    700

    #4A42D9

    oklch(49% 0.221 276.8)

  9. Step 800

    800

    #3C38AF

    oklch(42.6% 0.183 276.8)

  10. Step 900

    900

    #32338B

    oklch(37.8% 0.143 276.6)

  11. Step 950

    950

    #1D1F51

    oklch(27% 0.09 276.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F8AFF 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)#579AFF0.055
Deuteranopia (no green cones)#4A90FC0.057
Tritanopia (no blue cones)#4AA3B80.150
Achromatopsia (no color)#9595950.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8AFF

    #7F8AFF

    oklch(67.9% 0.171 276.8)

  • #B19700

    #B19700

    oklch(67.9% 0.14 96.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8AFF

    #7F8AFF

    oklch(67.9% 0.171 276.8)

  • #1A9EFA

    #1A9EFA

    oklch(67.9% 0.171 246.8)

  • #B477E9

    #B477E9

    oklch(67.9% 0.171 307.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F8AFF

    #7F8AFF

    oklch(67.9% 0.171 276.8)

  • #D48200

    #D48200

    oklch(67.8% 0.15 66.8)

  • #7CAA10

    #7CAA10

    oklch(68% 0.171 126.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8AFF

    #7F8AFF

    oklch(67.9% 0.171 276.8)

  • #ED6A45

    #ED6A45

    oklch(67.8% 0.171 36.6)

  • #00B56D

    #00B56D

    oklch(68% 0.163 156.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8AFF

    #7F8AFF

    oklch(67.9% 0.171 276.8)

  • #EB6386

    #EB6386

    oklch(67.8% 0.17 6.8)

  • #B19700

    #B19700

    oklch(67.9% 0.14 96.8)

  • #00AFA4

    #00AFA4

    oklch(67.9% 0.119 186.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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