#7A7EFE

Closest named color: Cornflower (#6A79F7). oklch(65.3% 0.186 278.6), rgb(122, 126, 254).

Aa

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

About this color

#7A7EFE is a medium-light, vivid blue. In OKLCH its lightness is 65%, its chroma 0.186 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.028 away. Black text reads best on it, at 6.24:1.

Hue familyBlues
Lightnessmedium-light (65%)
Chromavivid (0.186)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text6.24:1
White text3.36:1

Values

HEX#7A7EFE
RGBrgb(122, 126, 254)
HSLhsl(238, 99%, 74%)
OKLCHoklch(65.3% 0.186 278.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 #7A7EFE 3.36:1 AA large text Lc -66.3 Content text, not long reading
Black text on #7A7EFE 6.24:1 AA Lc 43.2 Non-text elements, placeholder text
#7A7EFE text on white 3.36:1 AA large text Lc 60.8 Content text, not long reading
#7A7EFE text on black 6.24:1 AA Lc -40.9 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D1D6FB

    oklch(88.4% 0.051 279.2)

  4. Step 300

    300

    #B3BBFB

    oklch(80.9% 0.091 278.6)

  5. Step 400

    400

    #8D95F9

    oklch(70.6% 0.145 278.5)

  6. Step 500

    500 (this color)

    #7A7EFE

    oklch(65.3% 0.186 278.6)

  7. Step 600

    600

    #5F5CE5

    oklch(55.6% 0.202 278.6)

  8. Step 700

    700

    #4F4AC7

    oklch(49% 0.188 278.7)

  9. Step 800

    800

    #403EA1

    oklch(42.7% 0.156 278.4)

  10. Step 900

    900

    #363680

    oklch(37.7% 0.122 278.8)

  11. Step 950

    950

    #1F204B

    oklch(26.9% 0.078 278.8)

Export this scale for Tailwind in the Tailwind colors tool

#7A7EFE 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)#3D91FF0.071
Deuteranopia (no green cones)#2C87FB0.075
Tritanopia (no blue cones)#409AB20.162
Achromatopsia (no color)#8C8C8C0.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A7EFE

    #7A7EFE

    oklch(65.3% 0.186 278.6)

  • #A69000

    #A69000

    oklch(65.3% 0.135 98.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A7EFE

    #7A7EFE

    oklch(65.3% 0.186 278.6)

  • #0094F6

    #0094F6

    oklch(65.2% 0.178 248.6)

  • #B06AE5

    #B06AE5

    oklch(65.3% 0.186 308.4)

Open the analogous palette in the generator

Split complementary

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

  • #7A7EFE

    #7A7EFE

    oklch(65.3% 0.186 278.6)

  • #C77D00

    #C77D00

    oklch(65.3% 0.142 68.9)

  • #70A300

    #70A300

    oklch(65.4% 0.172 128.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A7EFE

    #7A7EFE

    oklch(65.3% 0.186 278.6)

  • #EA5C2A

    #EA5C2A

    oklch(65.3% 0.186 38.5)

  • #00AB6C

    #00AB6C

    oklch(65.3% 0.152 158.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A7EFE

    #7A7EFE

    oklch(65.3% 0.186 278.6)

  • #E95379

    #E95379

    oklch(65.3% 0.186 8.5)

  • #A69000

    #A69000

    oklch(65.3% 0.135 98.3)

  • #00A69E

    #00A69E

    oklch(65.4% 0.113 188.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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