#7E8ECF

Closest named color: Perrywinkle (#8F8CE7). oklch(66% 0.099 272.9), rgb(126, 142, 207).

Aa

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

About this color

#7E8ECF is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.099 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.045 away. Black text reads best on it, at 6.65:1.

Hue familyBlues
Lightnessmedium-light (66%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.65:1
White text3.15:1

Values

HEX#7E8ECF
RGBrgb(126, 142, 207)
HSLhsl(228, 46%, 65%)
OKLCHoklch(66% 0.099 272.9)

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 #7E8ECF 3.15:1 AA large text Lc -64.0 Content text, not long reading
Black text on #7E8ECF 6.65:1 AA Lc 45.5 Large or bold text, headings
#7E8ECF text on white 3.15:1 AA large text Lc 58.6 Large or bold text, headings
#7E8ECF text on black 6.65:1 AA Lc -43.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 500.

  1. Step 50

    50

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6E9F4

    oklch(93.5% 0.015 273.8)

  3. Step 200

    200

    #D3D8EB

    oklch(88.4% 0.027 274.1)

  4. Step 300

    300

    #B6BFE1

    oklch(80.9% 0.049 273.6)

  5. Step 400

    400

    #909ED1

    oklch(70.7% 0.077 272.4)

  6. Step 500

    500 (this color)

    #7E8ECF

    oklch(66% 0.099 272.9)

  7. Step 600

    600

    #5F6EB2

    oklch(55.7% 0.107 273)

  8. Step 700

    700

    #4E5C99

    oklch(49.2% 0.099 272.5)

  9. Step 800

    800

    #404B7C

    oklch(42.7% 0.083 272.9)

  10. Step 900

    900

    #363F64

    oklch(37.7% 0.065 272.6)

  11. Step 950

    950

    #20253A

    oklch(27% 0.04 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E8ECF 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)#7895D20.019
Deuteranopia (no green cones)#728ECD0.016
Tritanopia (no blue cones)#659BA50.089
Achromatopsia (no color)#9191910.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8ECF

    #7E8ECF

    oklch(66% 0.099 272.9)

  • #A79146

    #A79146

    oklch(66.1% 0.099 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8ECF

    #7E8ECF

    oklch(66% 0.099 272.9)

  • #5999CA

    #5999CA

    oklch(66% 0.099 243.2)

  • #9E83C4

    #9E83C4

    oklch(65.9% 0.099 302.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E8ECF

    #7E8ECF

    oklch(66% 0.099 272.9)

  • #BD844F

    #BD844F

    oklch(65.9% 0.099 62.6)

  • #879C56

    #879C56

    oklch(66% 0.098 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8ECF

    #7E8ECF

    oklch(66% 0.099 272.9)

  • #C77B6B

    #C77B6B

    oklch(66% 0.099 32.6)

  • #60A475

    #60A475

    oklch(66% 0.099 152.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8ECF

    #7E8ECF

    oklch(66% 0.099 272.9)

  • #C5788C

    #C5788C

    oklch(66.1% 0.099 3.3)

  • #A79146

    #A79146

    oklch(66.1% 0.099 93.2)

  • #3BA698

    #3BA698

    oklch(66.1% 0.099 183)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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