#7F8EFA

Closest named color: Lavender Blue (#8B88F8). oklch(68.4% 0.159 275.4), rgb(127, 142, 250).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.159)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.15:1
White text2.93:1

Values

HEX#7F8EFA
RGBrgb(127, 142, 250)
HSLhsl(233, 92%, 74%)
OKLCHoklch(68.4% 0.159 275.4)

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 #7F8EFA 2.93:1 Fails Lc -61.0 Content text, not long reading
Black text on #7F8EFA 7.15:1 AAA Lc 48.4 Large or bold text, headings
#7F8EFA text on white 2.93:1 Fails Lc 55.6 Large or bold text, headings
#7F8EFA text on black 7.15:1 AAA Lc -46.1 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

    #E4E9FE

    oklch(93.7% 0.029 275.2)

  3. Step 200

    200

    #CED7FE

    oklch(88.5% 0.055 275)

  4. Step 300

    300

    #AFBCFF

    oklch(80.9% 0.096 275.6)

  5. Step 400

    400 (this color)

    #7F8EFA

    oklch(68.4% 0.159 275.4)

  6. Step 500

    500

    #6B77FF

    oklch(63.1% 0.199 275.3)

  7. Step 600

    600

    #565AF0

    oklch(55.6% 0.22 275.4)

  8. Step 700

    700

    #4748D1

    oklch(49% 0.205 275.4)

  9. Step 800

    800

    #3A3DA9

    oklch(42.8% 0.169 275.4)

  10. Step 900

    900

    #313686

    oklch(37.8% 0.132 275.4)

  11. Step 950

    950

    #1C204E

    oklch(26.9% 0.084 275.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F8EFA 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)#629CFE0.044
Deuteranopia (no green cones)#5692F80.046
Tritanopia (no blue cones)#4DA5B80.140
Achromatopsia (no color)#9797970.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8EFA

    #7F8EFA

    oklch(68.4% 0.159 275.4)

  • #B49800

    #B49800

    oklch(68.5% 0.141 95.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8EFA

    #7F8EFA

    oklch(68.4% 0.159 275.4)

  • #2AA0F4

    #2AA0F4

    oklch(68.3% 0.159 245.6)

  • #B17DE7

    #B17DE7

    oklch(68.4% 0.159 305.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F8EFA

    #7F8EFA

    oklch(68.4% 0.159 275.4)

  • #D88200

    #D88200

    oklch(68.3% 0.153 65.3)

  • #82AA26

    #82AA26

    oklch(68.5% 0.159 125.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8EFA

    #7F8EFA

    oklch(68.4% 0.159 275.4)

  • #EA7050

    #EA7050

    oklch(68.4% 0.159 35.7)

  • #22B56D

    #22B56D

    oklch(68.3% 0.159 155.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8EFA

    #7F8EFA

    oklch(68.4% 0.159 275.4)

  • #E86A8B

    #E86A8B

    oklch(68.5% 0.159 5.8)

  • #B49800

    #B49800

    oklch(68.5% 0.141 95.8)

  • #00B1A4

    #00B1A4

    oklch(68.4% 0.12 185.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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